summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2015-08-20 11:10:53 +0800
committerMax Krummenacher <max.krummenacher@toradex.com>2016-03-09 14:42:46 +0100
commit2632d4f7abed484eee016fce05b8d391c9914013 (patch)
tree8c762a25f4edaf5dcf98e7eb07359b71b3bec181 /include
parent28d88c08071dc2a71e6cfd744c2a6397549b1b83 (diff)
MLK-11388 imx: mx7d: add support for mx7d 19x19 lpddr2 arm2 board
This mx7d 19x19 lpddr2 arm2 board is based on 19x19 lpddr3 arm2 board with DDR changed to 512M LPDDR2. We added DDR script for LPDDR2 and a new u-boot build target: mx7d_19x19_lpddr2_arm2_config LPDDR2 script source: lpddr2_0_1.ds Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx7d_19x19_lpddr3_arm2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/mx7d_19x19_lpddr3_arm2.h b/include/configs/mx7d_19x19_lpddr3_arm2.h
index 1c68ee17a7..303a081565 100644
--- a/include/configs/mx7d_19x19_lpddr3_arm2.h
+++ b/include/configs/mx7d_19x19_lpddr3_arm2.h
@@ -14,7 +14,11 @@
#define CONFIG_SYS_MMC_ENV_PART 0 /* user area */
#define CONFIG_MMCROOT "/dev/mmcblk0p2" /* USDHC1 */
+#ifdef CONFIG_MX7D_LPDDR2
+#define PHYS_SDRAM_SIZE SZ_512M
+#else
#define PHYS_SDRAM_SIZE SZ_2G
+#endif
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP