diff mbox

[U-Boot,3/5] flea3: Provide proper range for memtest

Message ID 1329061116-3471-3-git-send-email-festevam@gmail.com
State Changes Requested
Headers show

Commit Message

Fabio Estevam Feb. 12, 2012, 3:38 p.m. UTC
memtest adresses should contain proper DRAM address range.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 include/configs/flea3.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Comments

Stefano Babic March 7, 2012, 10:10 a.m. UTC | #1
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>
> ---
>  include/configs/flea3.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/configs/flea3.h b/include/configs/flea3.h
> index 649e272..748d2b4 100644
> --- a/include/configs/flea3.h
> +++ b/include/configs/flea3.h
> @@ -140,8 +140,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)
>  
>  #undef	CONFIG_SYS_CLKS_IN_HZ	/* everything, incl board info, in Hz */
>  

Applied to u-boot-imx, thans.

Best regards,
Stefano Babic
Wolfgang Denk March 7, 2012, 12:39 p.m. UTC | #2
Dear Stefano Babic,

In message <4F57340E.4090901@denx.de> you wrote:
>
> > +#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)
> >  
> >  #undef	CONFIG_SYS_CLKS_IN_HZ	/* everything, incl board info, in Hz */
> >  
> 
> Applied to u-boot-imx, thans.

Ditto - same for the other "Provide proper range for memtest" patches.


Best regards,

Wolfgang Denk
diff mbox

Patch

diff --git a/include/configs/flea3.h b/include/configs/flea3.h
index 649e272..748d2b4 100644
--- a/include/configs/flea3.h
+++ b/include/configs/flea3.h
@@ -140,8 +140,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)
 
 #undef	CONFIG_SYS_CLKS_IN_HZ	/* everything, incl board info, in Hz */