]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/am43xx_evm.h
arm:am33xx: Rework s_init and add board_early_init_f
[karo-tx-uboot.git] / include / configs / am43xx_evm.h
index c1c0035d7125a1a2da3e3e7f560f4f3bf5ea880f..8473b0bf5a40eea0abdab800d932685faa68847f 100644 (file)
 #define CONFIG_SKIP_LOWLEVEL_INIT
 #endif
 
+/*
+ * When building U-Boot such that there is no previous loader
+ * we need to call board_early_init_f.  This is taken care of in
+ * s_init when we have SPL used.
+ */
+#if !defined(CONFIG_SKIP_LOWLEVEL_INIT) && !defined(CONFIG_SPL)
+#define CONFIG_BOARD_EARLY_INIT_F
+#endif
+
 /* Now bring in the rest of the common code. */
 #include <configs/ti_armv7_common.h>