summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2015-03-26 15:56:22 +0800
committerPeng Fan <Peng.Fan@freescale.com>2015-04-29 15:04:25 +0800
commit45f27956f3e6cc7a254e91137111843c91710d60 (patch)
tree3121cb7465ff9a5e906dba7990c378a074550b24 /include
parentd2977725c247696598c3c2e4c37c91c3574a1896 (diff)
downloadu-boot-imx-45f27956f3e6cc7a254e91137111843c91710d60.zip
u-boot-imx-45f27956f3e6cc7a254e91137111843c91710d60.tar.gz
u-boot-imx-45f27956f3e6cc7a254e91137111843c91710d60.tar.bz2
MLK-10477-5 imx: mx7dsabresd: Add EPDC support
To enable the EPDC feature: 1. Uncomments CONFIG_SPLASH_SCREEN and CONFIG_MXC_EPDC settings in mx7dsabresd.h 2. cd <kernel_dir>/firmware/imx 3. python ihex2bin.py -i epdc_ED060XD4C1_TC.fw.ihex -o epdc_splash.bin 4. cp epdc_splash.bin to [FAT partition on SD card] Since the EPDC has pinmux conflicts with ENET and QSPI. These two modules can't work at same time. Signed-off-by: Ye.Li <B37916@freescale.com> (cherry picked from commit 8ba7f88f9efac9f90319b71644d3d1191f535d03)
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx7dsabresd.h45
1 files changed, 17 insertions, 28 deletions
diff --git a/include/configs/mx7dsabresd.h b/include/configs/mx7dsabresd.h
index c52e44a..3a4b83a 100644
--- a/include/configs/mx7dsabresd.h
+++ b/include/configs/mx7dsabresd.h
@@ -302,7 +302,6 @@
#define CONFIG_SYS_USE_NAND
#define CONFIG_ENV_IS_IN_NAND
#else
-#define CONFIG_SYS_USE_QSPI /* Enable the QSPI flash at default */
#define CONFIG_ENV_IS_IN_MMC
#endif
@@ -372,38 +371,28 @@
#define CONFIG_CMD_CACHE
#endif
-/* #define CONFIG_SPLASH_SCREEN */
+/* #define CONFIG_SPLASH_SCREEN*/
+/* #define CONFIG_MXC_EPDC*/
/*
* SPLASH SCREEN Configs
*/
-#ifdef CONFIG_SPLASH_SCREEN
- /*
- * Framebuffer and LCD
- */
- #define CONFIG_CMD_BMP
- #define CONFIG_MXC_EPDC 1
- #define CONFIG_LCD
- #define CONFIG_FB_BASE (CONFIG_SYS_TEXT_BASE + 0x300000)
- #define CONFIG_SYS_CONSOLE_IS_IN_ENV
-#ifdef CONFIG_MXC_EPDC
- #undef LCD_TEST_PATTERN
- /* #define CONFIG_SPLASH_IS_IN_MMC 1 */
- #define LCD_BPP LCD_MONOCHROME
- /* #define CONFIG_SPLASH_SCREEN_ALIGN 1 */
-
- #define CONFIG_WORKING_BUF_ADDR (CONFIG_SYS_TEXT_BASE + 0x100000)
- #define CONFIG_WAVEFORM_BUF_ADDR (CONFIG_SYS_TEXT_BASE + 0x200000)
- #define CONFIG_WAVEFORM_FILE_OFFSET 0x600000
- #define CONFIG_WAVEFORM_FILE_SIZE 0xF0A00
- #define CONFIG_WAVEFORM_FILE_IN_MMC
-
-#ifdef CONFIG_SPLASH_IS_IN_MMC
- #define CONFIG_SPLASH_IMG_OFFSET 0x4c000
- #define CONFIG_SPLASH_IMG_SIZE 0x19000
-#endif
+#if defined(CONFIG_SPLASH_SCREEN) && defined(CONFIG_MXC_EPDC)
+/*
+ * Framebuffer and LCD
+ */
+#define CONFIG_CFB_CONSOLE
+#define CONFIG_CMD_BMP
+#define CONFIG_LCD
+#define CONFIG_SYS_CONSOLE_IS_IN_ENV
+
+#undef LCD_TEST_PATTERN
+/* #define CONFIG_SPLASH_IS_IN_MMC 1 */
+#define LCD_BPP LCD_MONOCHROME
+/* #define CONFIG_SPLASH_SCREEN_ALIGN 1 */
+
+#define CONFIG_WAVEFORM_BUF_SIZE 0x400000
#endif
-#endif /* CONFIG_SPLASH_SCREEN */
#define CONFIG_VIDEO
#ifdef CONFIG_VIDEO