Message ID | 1469291022-15677-4-git-send-email-festevam@gmail.com |
---|---|
State | Accepted |
Commit | 10ced52242e26c5a1b7e4d86c8273dfd89304841 |
Delegated to: | Stefano Babic |
Headers | show |
On 07/23/2016 06:23 PM, Fabio Estevam wrote: > From: Fabio Estevam <fabio.estevam@nxp.com> > > novena 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: Marek Vasut <marex@denx.de> > Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Acked-by: Marek Vasut <marex@denx.de> > --- > include/configs/novena.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/include/configs/novena.h b/include/configs/novena.h > index 2382951..57d8c3e 100644 > --- a/include/configs/novena.h > +++ b/include/configs/novena.h > @@ -57,7 +57,6 @@ > /* Physical Memory Map */ > #define CONFIG_NR_DRAM_BANKS 1 > #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR > -#define PHYS_SDRAM_SIZE 0xF0000000 > > #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM > #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR >
On 23/07/2016 18:23, Fabio Estevam wrote: > From: Fabio Estevam <fabio.estevam@nxp.com> > > novena 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: Marek Vasut <marex@denx.de> > Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> > --- > include/configs/novena.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/include/configs/novena.h b/include/configs/novena.h > index 2382951..57d8c3e 100644 > --- a/include/configs/novena.h > +++ b/include/configs/novena.h > @@ -57,7 +57,6 @@ > /* Physical Memory Map */ > #define CONFIG_NR_DRAM_BANKS 1 > #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR > -#define PHYS_SDRAM_SIZE 0xF0000000 > > #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
diff --git a/include/configs/novena.h b/include/configs/novena.h index 2382951..57d8c3e 100644 --- a/include/configs/novena.h +++ b/include/configs/novena.h @@ -57,7 +57,6 @@ /* Physical Memory Map */ #define CONFIG_NR_DRAM_BANKS 1 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR -#define PHYS_SDRAM_SIZE 0xF0000000 #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR