Commit 47c5705d820cc681098fd84b91248ab9aacc51bd
Committed by
Tom Rini
1 parent
76a55989b1
Exists in
v2017.01-smarct4x
and in
25 other branches
r2dplus: fixup CONFIG_SYS_TEXT_BASE to account arch/sh changes
This change allows to reserve enough space at the end of board SDRAM to store two copies of U-Boot and malloc heap. Due to selection of the CONFIG_SYS_TEXT_BASE the second code/data copying is not avoided, first of all this may depend on a used toolchain, secondly at this point some level of volatility is wanted to do more platform changes and do not care about probably changed calculated in runtime relocation offset. Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
include/configs/r2dplus.h
... | ... | @@ -29,7 +29,7 @@ |
29 | 29 | #define CONFIG_SYS_SDRAM_BASE 0x8C000000 |
30 | 30 | #define CONFIG_SYS_SDRAM_SIZE 0x04000000 |
31 | 31 | |
32 | -#define CONFIG_SYS_TEXT_BASE 0x8FFC0000 | |
32 | +#define CONFIG_SYS_TEXT_BASE 0x8FE00000 | |
33 | 33 | #define CONFIG_SYS_LONGHELP |
34 | 34 | #define CONFIG_SYS_CBSIZE 256 |
35 | 35 | #define CONFIG_SYS_PBSIZE 256 |