1
0
Fork 0

ARM: rpi: fix 64-bit CONFIG_SYS_TEXT_BASE

The Pi firmware has changed the default "kernel" load address for 64-bit
mode. The authors have confirmed that this is a deliberate and long-term
change. Adapt U-Boot to the new value.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
utp
Stephen Warren 2016-04-15 20:42:59 -06:00 committed by Tom Rini
parent 7e019daf7a
commit 108f841859
1 changed files with 4 additions and 0 deletions

View File

@ -48,7 +48,11 @@
/* Memory layout */
#define CONFIG_NR_DRAM_BANKS 1
#define CONFIG_SYS_SDRAM_BASE 0x00000000
#ifdef CONFIG_ARM64
#define CONFIG_SYS_TEXT_BASE 0x00080000
#else
#define CONFIG_SYS_TEXT_BASE 0x00008000
#endif
#define CONFIG_SYS_UBOOT_BASE CONFIG_SYS_TEXT_BASE
/*
* The board really has 256M. However, the VC (VideoCore co-processor) shares