summaryrefslogtreecommitdiff
path: root/lib_blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-12-11 07:04:48 -0500
committerMike Frysinger <vapier@gentoo.org>2009-01-07 03:00:06 -0500
commit687f952e4119594ab913be11c90f7f018c2a7a79 (patch)
tree773dfef04432fcda4f571a2ef6566c5489c7d6d5 /lib_blackfin
parente7e684b10d73a303902208594c7c3e7e0d753282 (diff)
downloadu-boot-imx-687f952e4119594ab913be11c90f7f018c2a7a79.zip
u-boot-imx-687f952e4119594ab913be11c90f7f018c2a7a79.tar.gz
u-boot-imx-687f952e4119594ab913be11c90f7f018c2a7a79.tar.bz2
Blackfin: drop CONFIG_SPI handling in board init
The eeprom SPI init functions are duplicated as the common code already executes these for us. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'lib_blackfin')
-rw-r--r--lib_blackfin/board.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib_blackfin/board.c b/lib_blackfin/board.c
index fde4bbe..05e66e3 100644
--- a/lib_blackfin/board.c
+++ b/lib_blackfin/board.c
@@ -374,13 +374,6 @@ void board_init_r(gd_t * id, ulong dest_addr)
mem_malloc_init();
malloc_bin_reloc();
-#ifdef CONFIG_SPI
-# if ! defined(CONFIG_ENV_IS_IN_EEPROM)
- spi_init_f();
-# endif
- spi_init_r();
-#endif
-
#ifdef CONFIG_CMD_NAND
puts("NAND: ");
nand_init(); /* go init the NAND */