diff options
author | Vanessa Maegima <vanessa.maegima@nxp.com> | 2016-06-09 15:28:32 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2016-07-12 17:58:49 +0200 |
commit | 432a8a55478d431e036e695c3f8b9d9e2536f744 (patch) | |
tree | 806fdd1e321036292767b28e0d5d91774d86b2cb /include/configs | |
parent | 8259e9c9adc263a3e9619bd4713dfddea19509b8 (diff) |
mx6sxsabreauto: Avoid hardcoded RAM size
Instead of passing the total RAM size via PHYS_SDRAM_SIZE option,
we should better use imx_ddr_size() function, which automatically
determines the RAM size.
Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/mx6sxsabreauto.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/mx6sxsabreauto.h b/include/configs/mx6sxsabreauto.h index d771f9dbe8..439579dcda 100644 --- a/include/configs/mx6sxsabreauto.h +++ b/include/configs/mx6sxsabreauto.h @@ -103,7 +103,6 @@ /* Physical Memory Map */ #define CONFIG_NR_DRAM_BANKS 1 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR -#define PHYS_SDRAM_SIZE SZ_2G #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR |