All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] rpi: set fdt_addr_r to 0x00000100 to match default device_tree_address
@ 2015-08-22 10:27 Jonathan Liu
  2015-08-28 21:02 ` [U-Boot] " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Liu @ 2015-08-22 10:27 UTC (permalink / raw)
  To: u-boot

Raspberry Pi by default loads the FDT to 0x00000100 so set fdt_addr_r to
match and move scriptaddr to 0x02000000 to avoid clobbering the FDT.

Signed-off-by: Jonathan Liu <net147@gmail.com>
---
 include/configs/rpi-common.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/rpi-common.h b/include/configs/rpi-common.h
index 8830a10..06836cd 100644
--- a/include/configs/rpi-common.h
+++ b/include/configs/rpi-common.h
@@ -163,10 +163,10 @@
  *   for the FDT/DTB to be up to 1M, which is hopefully plenty.
  */
 #define ENV_MEM_LAYOUT_SETTINGS \
-	"scriptaddr=0x00000000\0" \
+	"fdt_addr_r=0x00000100\0" \
 	"pxefile_addr_r=0x00100000\0" \
 	"kernel_addr_r=0x01000000\0" \
-	"fdt_addr_r=0x02000000\0" \
+	"scriptaddr=0x02000000\0" \
 	"ramdisk_addr_r=0x02100000\0" \
 
 #define BOOT_TARGET_DEVICES(func) \
-- 
2.5.0

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

* [U-Boot] rpi: set fdt_addr_r to 0x00000100 to match default device_tree_address
  2015-08-22 10:27 [U-Boot] [PATCH] rpi: set fdt_addr_r to 0x00000100 to match default device_tree_address Jonathan Liu
@ 2015-08-28 21:02 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2015-08-28 21:02 UTC (permalink / raw)
  To: u-boot

On Sat, Aug 22, 2015 at 08:27:17PM +1000, Jonathan Liu wrote:

> Raspberry Pi by default loads the FDT to 0x00000100 so set fdt_addr_r to
> match and move scriptaddr to 0x02000000 to avoid clobbering the FDT.
> 
> Signed-off-by: Jonathan Liu <net147@gmail.com>

Applied to u-boot/master, thanks!

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

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

end of thread, other threads:[~2015-08-28 21:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-22 10:27 [U-Boot] [PATCH] rpi: set fdt_addr_r to 0x00000100 to match default device_tree_address Jonathan Liu
2015-08-28 21:02 ` [U-Boot] " 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.