summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2020-08-27 15:01:27 +0200
committerStefan Roese <sr@denx.de>2020-08-31 14:45:53 +0200
commit6b610662106eafef516875198c30795f584536c4 (patch)
tree84e7e043b41c9c1bd7b11eb4438f943c709dbbf3 /include
parent996ecfd3ec4e86be9dbee17b2223061e16627f71 (diff)
arm: mvebu: Espressobin: Define fdt_addr and kernel_addr env aliases
Boot scripts for existing Espressobin Linux distributions, like OpenWRT, expect that U-Boot set fdt_addr and kernel_addr envs. So add env aliases from fdt_addr_r and kernel_addr_r values. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Andre Heider <a.heider@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mvebu_armada-37xx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/mvebu_armada-37xx.h b/include/configs/mvebu_armada-37xx.h
index 93c05e30cc..905ce09b7a 100644
--- a/include/configs/mvebu_armada-37xx.h
+++ b/include/configs/mvebu_armada-37xx.h
@@ -90,10 +90,13 @@
#include <config_distro_bootcmd.h>
+/* fdt_addr and kernel_addr are needed for existing distribution boot scripts */
#define CONFIG_EXTRA_ENV_SETTINGS \
"scriptaddr=0x6d00000\0" \
"pxefile_addr_r=0x6e00000\0" \
+ "fdt_addr=0x6f00000\0" \
"fdt_addr_r=0x6f00000\0" \
+ "kernel_addr=0x7000000\0" \
"kernel_addr_r=0x7000000\0" \
"ramdisk_addr_r=0xa000000\0" \
BOOTENV