Skip to contentSkip to conversation

Blackfin: drop CONFIG_SPI handling in board init

PATCH New Mike Frysinger 1 participant 1 message Jan 7, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Blackfin: drop CONFIG_SPI handling in board init

The eeprom SPI init functions are duplicated as the common code already executes these for us.

---
 lib_blackfin/board.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
lib_blackfin/board.c +0 -7
index fde4bbe..05e66e3 100644
@@ -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 */
Signature · 1 line
1.6.0.6