]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: phytec: phycore-am62x: Fix CONFIG_SPL_BOARD_INIT
authorWadim Egorov <w.egorov@phytec.de>
Mon, 10 Jun 2024 13:33:43 +0000 (15:33 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 18 Jun 2024 16:28:59 +0000 (10:28 -0600)
Make sure spl_board_init() gets compiled by enabling missing
CONFIG_SPL_BOARD_INIT and including hardware.h.

Fixes: 085cd6459dae ("board: phytec: am62x: Add PHYTEC phyCORE-AM62x SoM")
Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Reviewed-by: Daniel Schultz <d.schultz@phytec.de>
board/phytec/phycore_am62x/phycore-am62x.c
configs/phycore_am62x_a53_defconfig

index 4a76f1343d7b092429b6ed5ec8e82ef9d97e2a75..35e1bb96b8d98c826d1530ec4befa943eb0fe18e 100644 (file)
@@ -4,6 +4,7 @@
  * Author: Wadim Egorov <w.egorov@phytec.de>
  */
 
+#include <asm/arch/hardware.h>
 #include <asm/io.h>
 #include <spl.h>
 #include <fdt_support.h>
index 44f6e77b6265e7f43574a56e63da3bd075f976d0..468c0f373b797c5917b595aa68ef74391eded522 100644 (file)
@@ -42,6 +42,7 @@ CONFIG_DEFAULT_FDT_FILE="oftree"
 CONFIG_BOARD_LATE_INIT=y
 CONFIG_SPL_MAX_SIZE=0x58000
 CONFIG_SPL_SYS_REPORT_STACK_F_USAGE=y
+CONFIG_SPL_BOARD_INIT=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400