Patchwork [U-Boot,2/2] cm_t35: prevent splashimage from being set to a bad value

login
register
mail settings
Submitter Nikita Kiryanov
Date Feb. 24, 2013, 4:19 p.m.
Message ID <1361722763-22953-3-git-send-email-nikita@compulab.co.il>
Download mbox | patch
Permalink /patch/222774/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Nikita Kiryanov - Feb. 24, 2013, 4:19 p.m.
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>
---

 include/configs/cm_t35.h |    2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h
index 943b658..dec94d2 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  */