summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2015-03-26 15:52:37 +0800
committerYe.Li <B37916@freescale.com>2015-03-27 16:52:26 +0800
commit414824dcb77a067213849d340cf92777e6546810 (patch)
tree177b44ee8a8fb888bc6ed6203bd45f826069009d /include/configs
parent04588deb8ad368e77ec3563aa012a520faa6cade (diff)
downloadu-boot-imx-414824dcb77a067213849d340cf92777e6546810.zip
u-boot-imx-414824dcb77a067213849d340cf92777e6546810.tar.gz
u-boot-imx-414824dcb77a067213849d340cf92777e6546810.tar.bz2
MLK-10477-4 imx: mx7d 12x12 lpddr3 ARM2: Add EPDC support
To enable the EPDC feature: 1. Uncomments CONFIG_SPLASH_SCREEN and CONFIG_MXC_EPDC settings in mx7d_12x12_lpddr3_arm2.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] Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/mx7d_12x12_lpddr3_arm2.h2
-rw-r--r--include/configs/mx7d_arm2.h29
2 files changed, 29 insertions, 2 deletions
diff --git a/include/configs/mx7d_12x12_lpddr3_arm2.h b/include/configs/mx7d_12x12_lpddr3_arm2.h
index 8bdc3da..55b3ed8 100644
--- a/include/configs/mx7d_12x12_lpddr3_arm2.h
+++ b/include/configs/mx7d_12x12_lpddr3_arm2.h
@@ -63,6 +63,8 @@
#endif
#define CONFIG_VIDEO
+/* #define CONFIG_SPLASH_SCREEN*/
+/* #define CONFIG_MXC_EPDC*/
#include "mx7d_arm2.h"
diff --git a/include/configs/mx7d_arm2.h b/include/configs/mx7d_arm2.h
index cf51b7c..ecb7ef0 100644
--- a/include/configs/mx7d_arm2.h
+++ b/include/configs/mx7d_arm2.h
@@ -97,7 +97,7 @@
"m4image=m4_qspi.bin\0" \
"loadm4image=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${m4image}\0" \
"update_m4_from_sd=" \
- "if sf probe 1:0; then " \
+ "if sf probe 0:1; then " \
"if run loadm4image; then " \
"setexpr fw_sz ${filesize} + 0xffff; " \
"setexpr fw_sz ${fw_sz} / 0x10000; " \
@@ -106,7 +106,7 @@
"sf write ${loadaddr} 0x0 ${filesize}; " \
"fi; " \
"fi\0" \
- "m4boot=sf probe 1:0; bootaux "__stringify(CONFIG_SYS_AUXCORE_BOOTDATA)"\0"
+ "m4boot=sf probe 0:1; bootaux "__stringify(CONFIG_SYS_AUXCORE_BOOTDATA)"\0"
#else
#define UPDATE_M4_ENV ""
#endif
@@ -120,6 +120,13 @@
#define CONFIG_VIDEO_MODE ""
#endif
+#ifdef CONFIG_MXC_EPDC
+#define CONFIG_EPDC_WAVEFORM_FILE \
+ "epdc_waveform=epdc_splash.bin\0"
+#else
+#define CONFIG_EPDC_WAVEFORM_FILE ""
+#endif
+
#define CONFIG_MFG_ENV_SETTINGS \
"mfgtool_args=setenv bootargs console=${console},${baudrate} " \
"rdinit=/linuxrc " \
@@ -135,6 +142,7 @@
CONFIG_MFG_ENV_SETTINGS \
UPDATE_M4_ENV \
CONFIG_VIDEO_MODE \
+ CONFIG_EPDC_WAVEFORM_FILE \
"script=boot.scr\0" \
"image=zImage\0" \
"console=ttymxc0\0" \
@@ -317,6 +325,23 @@
#define CONFIG_VIDEO_BMP_LOGO
#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
+
/* USB Configs */
#define CONFIG_CMD_USB
#define CONFIG_USB_EHCI