On 23/07/2016 18:23, Fabio Estevam wrote: > From: Fabio Estevam <fabio.este...@nxp.com> > > 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 <ota...@ossystems.com.br> > Signed-off-by: Fabio Estevam <fabio.este...@nxp.com> > --- > include/configs/cgtqmx6eval.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/include/configs/cgtqmx6eval.h b/include/configs/cgtqmx6eval.h > index dd03936..127a28a 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 >
Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de ===================================================================== _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot