diff --git a/board/qca/arm/ipq5018/ipq5018.c b/board/qca/arm/ipq5018/ipq5018.c index f06276c593..39418f9ba1 100644 --- a/board/qca/arm/ipq5018/ipq5018.c +++ b/board/qca/arm/ipq5018/ipq5018.c @@ -588,3 +588,8 @@ int board_eth_init(bd_t *bis) return status; } +void set_flash_secondary_type(qca_smem_flash_info_t *smem) +{ + return; +}; + diff --git a/include/configs/ipq5018.h b/include/configs/ipq5018.h index 96013db3fd..5e2c35be8c 100644 --- a/include/configs/ipq5018.h +++ b/include/configs/ipq5018.h @@ -26,6 +26,15 @@ #define CONFIG_CMD_CACHE #define CONFIG_IPQ_NO_RELOC +#define CONFIG_SYS_VSNPRINTF + +/* +* Enable Early and Late init +* This config needs for secondary boot and to set BADOFF5E +*/ +#define CONFIG_BOARD_EARLY_INIT_F +#define CONFIG_BOARD_LATE_INIT + #define CONFIG_IPQ5018_UART #define CONFIG_NR_DRAM_BANKS 1 #define CONFIG_SKIP_LOWLEVEL_INIT