]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
riscv: load addresses for Sipeed MAIX
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 29 Jul 2020 10:49:24 +0000 (12:49 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 14 Aug 2020 15:22:50 +0000 (17:22 +0200)
Define default load addresses and the device tree name for the Sipeed MAIX.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/configs/sipeed-maix.h

index a46473fc782fadca6e7dbbd375b07ef75baa2646..36ff522e4b68fd8d4f9893c1fbac204115a2bd64 100644 (file)
 /* 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 */