diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2015-11-03 09:34:53 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2016-03-09 15:03:28 +0100 |
commit | b23e6aab214590ea245527fb637f1cf167c923ab (patch) | |
tree | e4c606503a45d6e5a9363777616b1266b6398146 /include/configs | |
parent | 45bfcc802c01299f2684c29e73f559eb29f47da8 (diff) |
DDR3 conf: autodetect RAM size
Use get_ram_size() to autodetect up to 2Gbyte of RAM on rank 0.
If chips with two ranks would get stuffed one would have to set the size
of one rank in DDRC_ADDRMAP0.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/colibri_imx7.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h index 3d87872219c..920a4eb6268 100644 --- a/include/configs/colibri_imx7.h +++ b/include/configs/colibri_imx7.h @@ -71,7 +71,7 @@ #define CONFIG_DOS_PARTITION #define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */ -#define PHYS_SDRAM_SIZE SZ_1G +#define PHYS_SDRAM_SIZE SZ_2G #define CONFIG_CMD_PING #define CONFIG_CMD_DHCP @@ -278,7 +278,7 @@ #define CONFIG_CMD_MEMTEST #define CONFIG_SYS_MEMTEST_START 0x80000000 -#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + 0x20000000) +#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + 0x1c000000) #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR #define CONFIG_SYS_HZ 1000 |