From cf5b278733971a6c896a6433ea5ced6173bf6c0f Mon Sep 17 00:00:00 2001 From: Uwe Kleine-König Date: Tue, 4 Mar 2014 20:48:03 +0100 Subject: OSELAS.BSP-EnergyMicro-Gecko: geckoboot: #ifdef out framebuffer support The screen is flickering and having to press the AEM button at startup is annoying, so #ifdef out the framebuffer stuff for now. --- local_src/geckoboot-2013.01.0/geckoboot.S | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/local_src/geckoboot-2013.01.0/geckoboot.S b/local_src/geckoboot-2013.01.0/geckoboot.S index 709996f..221f57d 100644 --- a/local_src/geckoboot-2013.01.0/geckoboot.S +++ b/local_src/geckoboot-2013.01.0/geckoboot.S @@ -147,6 +147,8 @@ wait_boot_linux: #else putc #'c' #endif + +#ifdef ENABLE_TFT /* TFT setup */ /*wait for AEM button*/ ldr r0, =(BC_REGISTER) @@ -185,7 +187,7 @@ wait: subs r1, r1, #1 bne 1b b wait - + aempress: putc #'O' putc #'K' @@ -300,11 +302,10 @@ spi: add r0, r0, #2 subs r2, r2, #1 bne 1b +#endif /* ifdef ENABLE_TFT */ boot_linux: putc #'k' - putc #'\r' - putc #'\n' /* Copy oftree to RAM */ ldr r0, =(DTB_DST) @@ -516,6 +517,7 @@ swoinit: swoinit_end: .size swoinit, . - swoinit +#ifdef ENABLE_TFT .align 3 .type tft1, %object tft1: @@ -602,3 +604,4 @@ tft5: .int 0x40008068, 0x00000000 @ EBI_TFTHStrideSet((V_WIDTH - D_WIDTH) * 2) tft5_end: .size tft5, . - tft5 +#endif -- cgit v1.2.3