summaryrefslogtreecommitdiff
path: root/lib_blackfin
diff options
context:
space:
mode:
Diffstat (limited to 'lib_blackfin')
-rw-r--r--lib_blackfin/board.c2
-rw-r--r--lib_blackfin/bootm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib_blackfin/board.c b/lib_blackfin/board.c
index 43d8be8..0b8e664 100644
--- a/lib_blackfin/board.c
+++ b/lib_blackfin/board.c
@@ -378,7 +378,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();
diff --git a/lib_blackfin/bootm.c b/lib_blackfin/bootm.c
index d0afb21..9938ae5 100644
--- a/lib_blackfin/bootm.c
+++ b/lib_blackfin/bootm.c
@@ -48,6 +48,6 @@ int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images)
dcache_disable();
(*appl) (cmdline);
/* does not return */
-error:
+
return 1;
}