Blackfin: drop CONFIG_SPI handling in board init
authorMike Frysinger <vapier@gentoo.org>
Thu, 11 Dec 2008 12:04:48 +0000 (07:04 -0500)
committerMike Frysinger <vapier@gentoo.org>
Wed, 7 Jan 2009 08:00:06 +0000 (03:00 -0500)
The eeprom SPI init functions are duplicated as the common code already
executes these for us.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
lib_blackfin/board.c

index fde4bbe0ff9feb35fc6815e7b6c76ff0c1b3a554..05e66e3c55c9335806a189f420e2f95849b00dd5 100644 (file)
@@ -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 */