summaryrefslogtreecommitdiff
path: root/lib_nios
diff options
context:
space:
mode:
Diffstat (limited to 'lib_nios')
-rw-r--r--lib_nios/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib_nios/board.c b/lib_nios/board.c
index 693651bd5bf..08085c2bb00 100644
--- a/lib_nios/board.c
+++ b/lib_nios/board.c
@@ -90,8 +90,8 @@ void *sbrk (ptrdiff_t increment)
init_fnc_t *init_sequence[] = {
-#if defined(CONFIG_BOARD_PRE_INIT)
- board_pre_init, /* Call board-specific init code early.*/
+#if defined(CONFIG_BOARD_EARLY_INIT_F)
+ board_early_init_f, /* Call board-specific init code early.*/
#endif
env_init,