summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2022-08-29 15:44:48 +0200
committerStefan Roese <[email protected]>2022-09-13 06:38:08 +0200
commit64c422b14fbe22d0424c53c043f3e5c6183f05ef (patch)
tree25636638413bf967817fca796152a05e41dccdb0 /include
parent109dde049740fe17a461471d7ff54a64fc58aab9 (diff)
arm: mvebu: turris_mox: Add support for distroboot $fdt_addr
$fdt_addr is mandatory for systems which provides DTB in HW (e.g. ROM) and wishes to pass that DTB to Linux. Turris Mox contains DTB binary in SPI NOR memory at "dtb" partition which starts at offset 0x7f0000 and is 0x10000 bytes long. Armada 3700 CPU does not allow mapping SPI NOR memory into physical address space like on other architectures and therefore set $fdt_addr variable to memory range in RAM and loads this DTB binary from SPI NOR in misc_init_r() function. Signed-off-by: Pali Rohár <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/turris_mox.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/turris_mox.h b/include/configs/turris_mox.h
index b8ff705ac92..f549f9f7ad0 100644
--- a/include/configs/turris_mox.h
+++ b/include/configs/turris_mox.h
@@ -36,6 +36,7 @@
"bootm 0x5800000"
#define CONFIG_EXTRA_ENV_SETTINGS \
+ "fdt_addr=0x4c00000\0" \
"scriptaddr=0x4d00000\0" \
"pxefile_addr_r=0x4e00000\0" \
"fdt_addr_r=0x4f00000\0" \