summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2015-08-14 16:39:06 +0800
committerYe.Li <B37916@freescale.com>2015-08-17 11:02:55 +0800
commita8714a02a958897bad302fffbdee36acef98a003 (patch)
tree7d95c42007c1f04e1476deecb873f5e7800c088a /include
parent045f4dbcc664ec5f34722ae36b5774124823e9a2 (diff)
downloadu-boot-imx-a8714a02a958897bad302fffbdee36acef98a003.zip
u-boot-imx-a8714a02a958897bad302fffbdee36acef98a003.tar.gz
u-boot-imx-a8714a02a958897bad302fffbdee36acef98a003.tar.bz2
MLK-11364 imx: mx6ul : Add support for i.MX6UL 9x9 EVK board
The i.mx6ul 9x9 EVK shares the same base board with 6ul 14x14 EVK with two main changes on CPU board: 1. Change to use pfuze 3000. 2. Use 256MB LPDDR2 memory. This patch uses a macro CONFIG_6UL_9X9_LPDDR2 to distinguish the changes above, basing on 14x14 EVK board level codes. The new build target for the 9x9 EVK: mx6ul_9x9_evk_config Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx6ul_14x14_evk.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/include/configs/mx6ul_14x14_evk.h b/include/configs/mx6ul_14x14_evk.h
index 98a0346..1d82b04 100644
--- a/include/configs/mx6ul_14x14_evk.h
+++ b/include/configs/mx6ul_14x14_evk.h
@@ -124,7 +124,20 @@
#define CONFIG_SYS_I2C_SPEED 100000
#endif
+#if defined(CONFIG_MX6UL_9X9_LPDDR2)
+#define CONFIG_DEFAULT_FDT_FILE "imx6ul-9x9-evk.dtb"
+#define PHYS_SDRAM_SIZE SZ_256M
+
+/* PMIC */
+#define CONFIG_POWER
+#define CONFIG_POWER_I2C
+#define CONFIG_POWER_PFUZE300
+#define CONFIG_POWER_PFUZE300_I2C_ADDR 0x08
+#else
+#define CONFIG_DEFAULT_FDT_FILE "imx6ul-14x14-evk.dtb"
#define PHYS_SDRAM_SIZE SZ_512M
+#endif
+
#define CONFIG_VIDEO
@@ -188,7 +201,7 @@
"console=ttymxc0\0" \
"fdt_high=0xffffffff\0" \
"initrd_high=0xffffffff\0" \
- "fdt_file=imx6ul-14x14-evk.dtb\0" \
+ "fdt_file=" CONFIG_DEFAULT_FDT_FILE "\0" \
"fdt_addr=0x83000000\0" \
"boot_fdt=try\0" \
"ip_dyn=yes\0" \