mirror of
https://github.com/armbian/build.git
synced 2025-08-12 14:16:57 +02:00
30 lines
725 B
Diff
30 lines
725 B
Diff
--- a/include/configs/mt7988.h
|
|
+++ b/include/configs/mt7988.h
|
|
@@ -11,4 +11,26 @@
|
|
|
|
#define CFG_MAX_MEM_MAPPED 0xC0000000
|
|
|
|
+#include <linux/sizes.h>
|
|
+
|
|
+#ifndef BOOT_TARGETS
|
|
+#define BOOT_TARGETS "mmc0 nvme usb pxe dhcp spi"
|
|
#endif
|
|
+
|
|
+#define ENV_MEM_LAYOUT_SETTINGS \
|
|
+ "scriptaddr=0x50000000\0" \
|
|
+ "script_size_f=0x2000\0" \
|
|
+ "kernel_addr_r=0x52000000\0" \
|
|
+ "fdt_addr_r=0x62000000\0" \
|
|
+ "ramdisk_addr_r=0x62180000\0"
|
|
+
|
|
+#include <config_distro_bootcmd.h>
|
|
+
|
|
+#define CFG_EXTRA_ENV_SETTINGS \
|
|
+ "fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0" \
|
|
+ ENV_MEM_LAYOUT_SETTINGS \
|
|
+ "boot_targets=" BOOT_TARGETS "\0" \
|
|
+ "bootcmd=sysboot mmc 0:5 any ${scriptaddr} /boot/extlinux/extlinux.conf\0" \
|
|
+ "\0"
|
|
+
|
|
+#endif /* _MT7988_H_ */
|