summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorWadim Egorov <[email protected]>2024-06-10 15:33:43 +0200
committerTom Rini <[email protected]>2024-06-18 10:28:59 -0600
commitaca776e6dcc1adb2fa6715e8ffab5f259d7deda9 (patch)
treebcdf42a5f361fa25853bbe1ec9d8dbfcc70b5c33 /board
parente9c4448f809e1f48701c25711ef926bbeb7addc5 (diff)
board: phytec: phycore-am62x: Fix CONFIG_SPL_BOARD_INIT
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 <[email protected]> Reviewed-by: Daniel Schultz <[email protected]>
Diffstat (limited to 'board')
-rw-r--r--board/phytec/phycore_am62x/phycore-am62x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/phytec/phycore_am62x/phycore-am62x.c b/board/phytec/phycore_am62x/phycore-am62x.c
index 4a76f1343d7..35e1bb96b8d 100644
--- a/board/phytec/phycore_am62x/phycore-am62x.c
+++ b/board/phytec/phycore_am62x/phycore-am62x.c
@@ -4,6 +4,7 @@
* Author: Wadim Egorov <[email protected]>
*/
+#include <asm/arch/hardware.h>
#include <asm/io.h>
#include <spl.h>
#include <fdt_support.h>