summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2016-07-23 13:23:38 -0300
committerStefano Babic <sbabic@denx.de>2016-07-28 13:27:20 +0200
commita13d3757f7df25d0f017e85551b899d598ad1bdb (patch)
tree10e72eac2d15560e7eae285e07894091692e33e0 /include
parent71813dcb56737707d12b697d5158ee96b48d7091 (diff)
downloadu-boot-imx-a13d3757f7df25d0f017e85551b899d598ad1bdb.zip
u-boot-imx-a13d3757f7df25d0f017e85551b899d598ad1bdb.tar.gz
u-boot-imx-a13d3757f7df25d0f017e85551b899d598ad1bdb.tar.bz2
warp: Use imx_ddr_size() for calculating the DDR size
imx_ddr_size() can be used to calculate the DDR size in runtime. By using this function we no longer need to define PHYS_SDRAM_SIZE. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/warp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/warp.h b/include/configs/warp.h
index 4a8e270..12c7c38 100644
--- a/include/configs/warp.h
+++ b/include/configs/warp.h
@@ -43,7 +43,6 @@
/* Physical Memory Map */
#define CONFIG_NR_DRAM_BANKS 1
#define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
-#define PHYS_SDRAM_SIZE SZ_512M
#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM
#define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR