All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ARM: rpi: fix 64-bit CONFIG_SYS_TEXT_BASE
@ 2016-04-16  2:42 Stephen Warren
  2016-04-16 13:02 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Warren @ 2016-04-16  2:42 UTC (permalink / raw)
  To: u-boot

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 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/configs/rpi.h b/include/configs/rpi.h
index b83d622b9784..19ca606214d5 100644
--- a/include/configs/rpi.h
+++ b/include/configs/rpi.h
@@ -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
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] ARM: rpi: fix 64-bit CONFIG_SYS_TEXT_BASE
  2016-04-16  2:42 [U-Boot] [PATCH] ARM: rpi: fix 64-bit CONFIG_SYS_TEXT_BASE Stephen Warren
@ 2016-04-16 13:02 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2016-04-16 13:02 UTC (permalink / raw)
  To: u-boot

On Fri, Apr 15, 2016 at 08:42:59PM -0600, Stephen Warren wrote:

> 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>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160416/0b4a634c/attachment.sig>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-16 13:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-16  2:42 [U-Boot] [PATCH] ARM: rpi: fix 64-bit CONFIG_SYS_TEXT_BASE Stephen Warren
2016-04-16 13:02 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.