Patchwork [U-Boot,v4,7/8] km_arm: change CONFIG_SYS_TEXT_BASE to end of RAM

login
register
mail settings
Submitter Valentin Longchamp
Date Sept. 12, 2011, 2:18 p.m.
Message ID <1315837122-11952-8-git-send-email-valentin.longchamp@keymile.com>
Download mbox | patch
Permalink /patch/114349/
State Accepted
Commit e5847b7730844f35aefab778d1c36fdc327f03e5
Delegated to: Wolfgang Denk
Headers show

Comments

Valentin Longchamp - Sept. 12, 2011, 2:18 p.m.
This allows to test a larger part of the RAM in the memory tests.

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: Prafulla Wadaskar <prafulla@marvell.com>
---
Changes for v4:
 - fixed wrong comment
---
 include/configs/km/km_arm.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Wolfgang Denk - Oct. 5, 2011, 6:54 p.m.
Dear Valentin Longchamp,

In message <1315837122-11952-8-git-send-email-valentin.longchamp@keymile.com> you wrote:
> This allows to test a larger part of the RAM in the memory tests.
> 
> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
> Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
> Cc: Heiko Schocher <hs@denx.de>
> Cc: Prafulla Wadaskar <prafulla@marvell.com>
> ---
> Changes for v4:
>  - fixed wrong comment
> ---
>  include/configs/km/km_arm.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Patch

diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h
index f185019..a3725c0 100644
--- a/include/configs/km/km_arm.h
+++ b/include/configs/km/km_arm.h
@@ -54,7 +54,7 @@ 
 
 #include "asm/arch/config.h"
 
-#define CONFIG_SYS_TEXT_BASE	0x04000000	/* code address after reloc */
+#define CONFIG_SYS_TEXT_BASE	0x07d00000	/* code address before reloc */
 #define CONFIG_SYS_MEMTEST_START 0x00400000	/* 4M */
 #define CONFIG_SYS_MEMTEST_END	0x007fffff	/*(_8M -1) */
 #define CONFIG_SYS_LOAD_ADDR	0x00800000	/* default load adr- 8M */