diff options
author | Ye.Li <B37916@freescale.com> | 2014-09-29 23:26:28 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-09-30 12:21:14 +0200 |
commit | b357503f1cdedade6d31991fa6aabb4174f92989 (patch) | |
tree | f351a99c9ddbd35f4858ff805215d9b729303731 /include/configs/mx6qarm2.h | |
parent | febae49a2b282283db98c1217aa04c4538704585 (diff) | |
download | u-boot-imx-b357503f1cdedade6d31991fa6aabb4174f92989.zip u-boot-imx-b357503f1cdedade6d31991fa6aabb4174f92989.tar.gz u-boot-imx-b357503f1cdedade6d31991fa6aabb4174f92989.tar.bz2 |
imx: mx6dlarm2: Add support for i.MX6DL arm2 DDR3 board
This patch adds the i.MX6DL arm2 board support. The i.MX6DL ARM2
shared the same board with i.MX6Q ARM2 board since the i.MX6DL is
pin-pin compatible with i.MX6Q.
The patch also support the DDR 32-BIT mode option. Please define
CONFIG_DDR_32BIT in the board configure file to enable DDR 32-BIT
mode.But due to the board design, it's 64bit DDR buswidth physically,
so, if you CONFIG_DDR_32BIT, the DDR memory size will be half of it.
Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'include/configs/mx6qarm2.h')
-rw-r--r-- | include/configs/mx6qarm2.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h index aa01647..ed57e4a 100644 --- a/include/configs/mx6qarm2.h +++ b/include/configs/mx6qarm2.h @@ -10,7 +10,6 @@ #define __CONFIG_H #define CONFIG_MX6 -#define CONFIG_MX6Q #include "mx6_common.h" @@ -169,7 +168,11 @@ /* Physical Memory Map */ #define CONFIG_NR_DRAM_BANKS 1 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR +#ifdef CONFIG_DDR_32BIT +#define PHYS_SDRAM_SIZE (1u * 1024 * 1024 * 1024) +#else #define PHYS_SDRAM_SIZE (2u * 1024 * 1024 * 1024) +#endif #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR |