summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorVanessa Maegima <vanessa.maegima@nxp.com>2016-06-09 15:28:33 -0300
committerStefano Babic <sbabic@denx.de>2016-07-12 17:58:49 +0200
commitd6b0c468189fad76addd09e9796e87ab61c227df (patch)
tree7857f8b71dc45a15e47ea2a556a1a7cfdfd2e949 /include/configs
parent432a8a55478d431e036e695c3f8b9d9e2536f744 (diff)
mx6sxsabresd: 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>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/mx6sxsabresd.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h
index 183a7595cb..9281fee5f9 100644
--- a/include/configs/mx6sxsabresd.h
+++ b/include/configs/mx6sxsabresd.h
@@ -132,7 +132,6 @@
/* Physical Memory Map */
#define CONFIG_NR_DRAM_BANKS 1
#define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
-#define PHYS_SDRAM_SIZE SZ_1G
#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM
#define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR