diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index b01d1c3c84..d28019801d 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -416,6 +416,7 @@ extern int soft_i2c_gpio_scl; BOOT_TARGET_DEVICES_USB(func) \ func(PXE, pxe, na) \ func(DHCP, dhcp, na) +#include #ifdef CONFIG_OLD_SUNXI_KERNEL_COMPAT #define BOOTCMD_SUNXI_COMPAT \ @@ -433,8 +434,6 @@ extern int soft_i2c_gpio_scl; #define BOOTCMD_SUNXI_COMPAT #endif -#include - #ifdef CONFIG_USB_KEYBOARD #define CONSOLE_STDIN_SETTINGS \ "preboot=usb start\0" \ @@ -498,6 +497,7 @@ extern int soft_i2c_gpio_scl; #endif #define CONFIG_EXTRA_ENV_SETTINGS \ + BOOTENV \ CONSOLE_ENV_SETTINGS \ MEM_LAYOUT_ENV_SETTINGS \ DFU_ALT_INFO_RAM \ @@ -508,8 +508,7 @@ extern int soft_i2c_gpio_scl; "uuid_gpt_esp=" UUID_GPT_ESP "\0" \ "uuid_gpt_system=" UUID_GPT_SYSTEM "\0" \ "partitions=" PARTS_DEFAULT "\0" \ - BOOTCMD_SUNXI_COMPAT \ - BOOTENV + BOOTCMD_SUNXI_COMPAT #else /* ifndef CONFIG_SPL_BUILD */ #define CONFIG_EXTRA_ENV_SETTINGS