From: Mike Frysinger Date: Thu, 11 Dec 2008 12:04:48 +0000 (-0500) Subject: Blackfin: drop CONFIG_SPI handling in board init X-Git-Tag: v2009.01-rc2~4^2~1 X-Git-Url: https://git.kernelconcepts.de/?a=commitdiff_plain;h=687f952e4119594ab913be11c90f7f018c2a7a79;p=karo-tx-uboot.git 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 --- diff --git a/lib_blackfin/board.c b/lib_blackfin/board.c index fde4bbe0ff..05e66e3c55 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 */