summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-07-29 13:49:24 +0300
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-08-14 18:22:50 +0300
commita4bda5ebab8246004caaca2e17bc865d265bf57a (patch)
treee44ca47a670dafe275becbafda7d7f581a48d66d /include
parent0274e50e057e1969876c9d1ef6e2a530688cf5ee (diff)
downloadu-boot-a4bda5ebab8246004caaca2e17bc865d265bf57a.tar.xz
riscv: load addresses for Sipeed MAIX
Define default load addresses and the device tree name for the Sipeed MAIX. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'include')
-rw-r--r--include/configs/sipeed-maix.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/sipeed-maix.h b/include/configs/sipeed-maix.h
index a46473fc78..36ff522e4b 100644
--- a/include/configs/sipeed-maix.h
+++ b/include/configs/sipeed-maix.h
@@ -21,4 +21,13 @@
/* For early init */
#define K210_SYSCTL_BASE 0x50440000
+#ifndef CONFIG_EXTRA_ENV_SETTINGS
+#define CONFIG_EXTRA_ENV_SETTINGS \
+ "loadaddr=0x80060000\0" \
+ "fdt_addr_r=0x80028000\0" \
+ "scriptaddr=0x80020000\0" \
+ "kernel_addr_r=0x80060000\0" \
+ "fdtfile=kendryte/" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0"
+#endif
+
#endif /* CONFIGS_SIPEED_MAIX_H */