]> git.sur5r.net Git - u-boot/blobdiff - common/spl/spl.c
spl: use different BOARD_INIT MACRO for spl and tpl
[u-boot] / common / spl / spl.c
index 76c1963611c49c8e6cb572d8b451f4c392262b00..1566acdbc30672eb4a8efe476d21bd6e0ae7ea85 100644 (file)
@@ -407,7 +407,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2)
        timer_init();
 #endif
 
-#ifdef CONFIG_SPL_BOARD_INIT
+#if CONFIG_IS_ENABLED(BOARD_INIT)
        spl_board_init();
 #endif