nyx: Release the shackles

This commit is contained in:
Kostas Missos
2019-12-07 20:16:38 +02:00
parent edc2b12f0f
commit 48c15a8fde
23 changed files with 1 additions and 117 deletions

View File

@@ -29,10 +29,6 @@
#include "../soc/t210.h"
#include "../utils/util.h"
#pragma GCC push_options
#pragma GCC target ("thumb")
#pragma GCC optimize ("Os")
#include "di.inl"
static u32 _display_ver = 0;
@@ -288,4 +284,3 @@ u32 *display_init_framebuffer2()
return (u32 *)FB_ADDRESS;
}
#pragma GCC pop_options

View File

@@ -19,10 +19,6 @@
#include <string.h>
#include "gfx.h"
#pragma GCC push_options
#pragma GCC target ("thumb")
#pragma GCC optimize ("Os")
static const u8 _gfx_font[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // Char 032 ( )
0x00, 0x30, 0x30, 0x18, 0x18, 0x00, 0x0C, 0x00, // Char 033 (!)
@@ -482,8 +478,6 @@ void gfx_line(int x0, int y0, int x1, int y1, u32 color)
}
}
#pragma GCC pop_options
void gfx_set_rect_grey(const u8 *buf, u32 size_x, u32 size_y, u32 pos_x, u32 pos_y)
{
u32 pos = 0;