summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Kiryanov <nikita@compulab.co.il>2013-02-24 06:19:23 +0000
committerTom Rini <trini@ti.com>2013-03-11 11:06:09 -0400
commit60e6bdcc948f99e6b24d198c1b9136b0cb4e376b (patch)
treea224bde5b5d056135e4e12e8a4d552ba276b8977
parentc08804853361bb7c6e2f9e0cdcdc0b327f71fe35 (diff)
downloadu-boot-60e6bdcc948f99e6b24d198c1b9136b0cb4e376b.tar.gz
u-boot-60e6bdcc948f99e6b24d198c1b9136b0cb4e376b.tar.bz2
u-boot-60e6bdcc948f99e6b24d198c1b9136b0cb4e376b.zip
cm_t35: prevent splashimage from being set to a bad value
Define CONFIG_SPLASHIMAGE_GUARD to prevent splashimage from being set to a value that will cause U-Boot to hang while displaying a splash screen. Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Acked-by: Igor Grinberg <grinberg@compulab.co.il>
-rw-r--r--include/configs/cm_t35.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h
index e6aef7b595..8d79ffd48a 100644
--- a/include/configs/cm_t35.h
+++ b/include/configs/cm_t35.h
@@ -331,6 +331,8 @@
#define STATUS_LED_BOOT STATUS_LED_BIT
#define GREEN_LED_GPIO 186 /* CM-T35 Green LED is GPIO186 */
+#define CONFIG_SPLASHIMAGE_GUARD
+
/* GPIO banks */
#ifdef CONFIG_STATUS_LED
#define CONFIG_OMAP3_GPIO_6 /* GPIO186 is in GPIO bank 6 */