Message ID | 1329061116-3471-1-git-send-email-festevam@gmail.com |
---|---|
State | Changes Requested |
Headers | show |
> memtest adresses should contain proper DRAM address range. > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > --- > include/configs/mx31ads.h | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/configs/mx31ads.h b/include/configs/mx31ads.h > index 87638a4..fe073ba 100644 > --- a/include/configs/mx31ads.h > +++ b/include/configs/mx31ads.h > @@ -146,8 +146,8 @@ > #define CONFIG_SYS_MAXARGS 16 /* max number of command args */ > #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot Argument Buffer > Size */ > > -#define CONFIG_SYS_MEMTEST_START 0 /* memtest works on */ > -#define CONFIG_SYS_MEMTEST_END 0x10000 > +#define CONFIG_SYS_MEMTEST_START (PHYS_SDRAM_1 + PHYS_SDRAM_1_SIZE/2) > +#define CONFIG_SYS_MEMTEST_END (PHYS_SDRAM_1 + PHYS_SDRAM_1_SIZE) Won't this overwrite teh u-boot at the end of the RAM? > > #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
On 12/02/2012 16:38, Fabio Estevam wrote: > memtest adresses should contain proper DRAM address range. > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > --- Applied to u-boot-imx, thans. Best regards, Stefano Babic
diff --git a/include/configs/mx31ads.h b/include/configs/mx31ads.h index 87638a4..fe073ba 100644 --- a/include/configs/mx31ads.h +++ b/include/configs/mx31ads.h @@ -146,8 +146,8 @@ #define CONFIG_SYS_MAXARGS 16 /* max number of command args */ #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot Argument Buffer Size */ -#define CONFIG_SYS_MEMTEST_START 0 /* memtest works on */ -#define CONFIG_SYS_MEMTEST_END 0x10000 +#define CONFIG_SYS_MEMTEST_START (PHYS_SDRAM_1 + PHYS_SDRAM_1_SIZE/2) +#define CONFIG_SYS_MEMTEST_END (PHYS_SDRAM_1 + PHYS_SDRAM_1_SIZE) #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
memtest adresses should contain proper DRAM address range. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> --- include/configs/mx31ads.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)