summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2014-03-04 20:48:03 +0100
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2014-03-04 20:48:03 +0100
commitcf5b278733971a6c896a6433ea5ced6173bf6c0f (patch)
tree9f5f33d32f2b23e4b8b6988f92982fc9a72803a9
parent0d23ac4adb60ec3395b3e4115fa15a83e54c1db9 (diff)
downloadOSELAS.BSP-EnergyMicro-Gecko-cf5b278733971a6c896a6433ea5ced6173bf6c0f.tar.gz
OSELAS.BSP-EnergyMicro-Gecko-cf5b278733971a6c896a6433ea5ced6173bf6c0f.tar.xz
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.
-rw-r--r--local_src/geckoboot-2013.01.0/geckoboot.S9
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