summaryrefslogtreecommitdiff
path: root/lib_ppc
diff options
context:
space:
mode:
Diffstat (limited to 'lib_ppc')
-rw-r--r--lib_ppc/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c
index 4d02eb2..1e00404 100644
--- a/lib_ppc/board.c
+++ b/lib_ppc/board.c
@@ -822,7 +822,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
malloc_bin_reloc ();
#ifdef CONFIG_SPI
-# if !defined(CFG_ENV_IS_IN_EEPROM)
+# if !defined(CONFIG_ENV_IS_IN_EEPROM)
spi_init_f ();
# endif
spi_init_r ();