summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2010-08-02 19:54:41 +0800
committerTerry Lv <r65388@freescale.com>2010-08-03 16:35:23 +0800
commit70d1be1c21e1ee63df7593eb0bd733dfaae6a2da (patch)
treed22787d6fc53c94f06cc8f10886ccb7f69ab3a6e /include/configs
parent9da7bd8c3a3bc34d6a3014edb86827964ff94dcb (diff)
downloadu-boot-imx-70d1be1c21e1ee63df7593eb0bd733dfaae6a2da.zip
u-boot-imx-70d1be1c21e1ee63df7593eb0bd733dfaae6a2da.tar.gz
u-boot-imx-70d1be1c21e1ee63df7593eb0bd733dfaae6a2da.tar.bz2
ENGR00125324: Add splash screen code and support for epdcrel-imx-2.6.31-10.08.01rel-imx-2.6.31-10.08.00
Add splash screen code and support for epdc. Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/mx50_arm2.h30
-rw-r--r--include/configs/mx50_arm2_lpddr2.h30
2 files changed, 60 insertions, 0 deletions
diff --git a/include/configs/mx50_arm2.h b/include/configs/mx50_arm2.h
index 4c23b95..c7f8faf 100644
--- a/include/configs/mx50_arm2.h
+++ b/include/configs/mx50_arm2.h
@@ -163,6 +163,36 @@
#define CONFIG_DISCOVER_PHY
/*
+#define CONFIG_SPLASH_SCREEN
+*/
+
+/*
+ * SPLASH SCREEN Configs
+ */
+#ifdef CONFIG_SPLASH_SCREEN
+ #define CONFIG_LCD
+ #undef LCD_TEST_PATTERN
+ #define CONFIG_FB_BASE (TEXT_BASE + 0x300000)
+ #define CONFIG_SYS_CONSOLE_IS_IN_ENV 1
+ /* #define CONFIG_SPLASH_IS_IN_MMC 1 */
+ #define LCD_BPP LCD_MONOCHROME
+ /* #define CONFIG_SPLASH_SCREEN_ALIGN 1 */
+
+ #define CONFIG_MXC_EPDC 1
+
+ #define CONFIG_WORKING_BUF_ADDR (TEXT_BASE + 0x100000)
+ #define CONFIG_WAVEFORM_BUF_ADDR (TEXT_BASE + 0x200000)
+ #define CONFIG_WAVEFORM_FILE_OFFSET 0x100000
+ #define CONFIG_WAVEFORM_FILE_SIZE 0xB4000
+ #define CONFIG_WAVEFORM_FILE_IN_MMC
+#endif
+
+#ifdef CONFIG_SPLASH_IS_IN_MMC
+ #define CONFIG_SPLASH_IMG_OFFSET 0x4c000
+ #define CONFIG_SPLASH_IMG_SIZE 0x19000
+#endif
+
+/*
* I2C Configs
*/
#define CONFIG_CMD_I2C 1
diff --git a/include/configs/mx50_arm2_lpddr2.h b/include/configs/mx50_arm2_lpddr2.h
index a5683ad..6efe6a6 100644
--- a/include/configs/mx50_arm2_lpddr2.h
+++ b/include/configs/mx50_arm2_lpddr2.h
@@ -164,6 +164,36 @@
#define CONFIG_DISCOVER_PHY
/*
+#define CONFIG_SPLASH_SCREEN
+*/
+
+/*
+ * SPLASH SCREEN Configs
+ */
+#ifdef CONFIG_SPLASH_SCREEN
+ #define CONFIG_LCD
+ #undef LCD_TEST_PATTERN
+ #define CONFIG_FB_BASE (TEXT_BASE + 0x300000)
+ #define CONFIG_SYS_CONSOLE_IS_IN_ENV 1
+ /* #define CONFIG_SPLASH_IS_IN_MMC 1 */
+ #define LCD_BPP LCD_MONOCHROME
+ /* #define CONFIG_SPLASH_SCREEN_ALIGN 1 */
+
+ #define CONFIG_MXC_EPDC 1
+
+ #define CONFIG_WORKING_BUF_ADDR (TEXT_BASE + 0x100000)
+ #define CONFIG_WAVEFORM_BUF_ADDR (TEXT_BASE + 0x200000)
+ #define CONFIG_WAVEFORM_FILE_OFFSET 0x100000
+ #define CONFIG_WAVEFORM_FILE_SIZE 0xB4000
+ #define CONFIG_WAVEFORM_FILE_IN_MMC
+#endif
+
+#ifdef CONFIG_SPLASH_IS_IN_MMC
+ #define CONFIG_SPLASH_IMG_OFFSET 0x4c000
+ #define CONFIG_SPLASH_IMG_SIZE 0x19000
+#endif
+
+/*
* I2C Configs
*/
#define CONFIG_CMD_I2C 1