From: Fabio Estevam Date: Sat, 23 Jul 2016 16:23:42 +0000 (-0300) Subject: cgtqmx6eval: Remove uneeded PHYS_SDRAM_SIZE X-Git-Tag: v2016.09-rc2~174^2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=63326e6f0b48616ec708faec5fab55887fa8bf51;p=u-boot cgtqmx6eval: Remove uneeded PHYS_SDRAM_SIZE cgtqmx6eval uses the imx_ddr_size() function to calculate the DDR size in runtime, so there is no need to define PHYS_SDRAM_SIZE. Remove the unneeded definition. Cc: Otavio Salvador Signed-off-by: Fabio Estevam Acked-by: Otavio Salvador --- diff --git a/include/configs/cgtqmx6eval.h b/include/configs/cgtqmx6eval.h index dd03936996..127a28a138 100644 --- a/include/configs/cgtqmx6eval.h +++ b/include/configs/cgtqmx6eval.h @@ -251,7 +251,6 @@ /* Physical Memory Map */ #define CONFIG_NR_DRAM_BANKS 1 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR -#define PHYS_SDRAM_SIZE (1u * 1024 * 1024 * 1024) #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR