mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-29 18:21:27 +00:00
27 lines
753 B
Diff
27 lines
753 B
Diff
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
|
|
index 64a190059a..bbec551cac 100644
|
|
--- a/include/configs/sunxi-common.h
|
|
+++ b/include/configs/sunxi-common.h
|
|
@@ -503,6 +503,12 @@ extern int soft_i2c_gpio_scl;
|
|
#define FDTFILE CONFIG_DEFAULT_DEVICE_TREE ".dtb"
|
|
#endif
|
|
|
|
+#ifdef CONFIG_MACH_SUN8I_H3
|
|
+#define INITRD_HIGH_ENV "initrd_high=0xFFFFFFFF\0"
|
|
+#else
|
|
+#define INITRD_HIGH_ENV
|
|
+#endif
|
|
+
|
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
|
CONSOLE_ENV_SETTINGS \
|
|
MEM_LAYOUT_ENV_SETTINGS \
|
|
@@ -512,7 +518,8 @@ extern int soft_i2c_gpio_scl;
|
|
SUNXI_MTDIDS_DEFAULT \
|
|
SUNXI_MTDPARTS_DEFAULT \
|
|
BOOTCMD_SUNXI_COMPAT \
|
|
- BOOTENV
|
|
+ BOOTENV \
|
|
+ INITRD_HIGH_ENV
|
|
|
|
#else /* ifndef CONFIG_SPL_BUILD */
|
|
#define CONFIG_EXTRA_ENV_SETTINGS
|