diff options
-rw-r--r-- | local_src/geckoboot-2013.01.0/geckoboot.S | 9 |
1 files 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 |