ARM: rpi: fix 64-bit CONFIG_SYS_TEXT_BASE
authorStephen Warren <swarren@wwwdotorg.org>
Sat, 16 Apr 2016 02:42:59 +0000 (20:42 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 16 Apr 2016 13:02:17 +0000 (09:02 -0400)
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>
include/configs/rpi.h

index b83d622b97849fc1219a9276c96af5b80eafa802..19ca606214d57d92bd80951575e7d145e0fb141a 100644 (file)
 /* 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