projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7e684b
)
Blackfin: drop CONFIG_SPI handling in board init
author
Mike Frysinger
<vapier@gentoo.org>
Thu, 11 Dec 2008 12:04:48 +0000
(07:04 -0500)
committer
Mike 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
patch
|
blob
|
history
diff --git
a/lib_blackfin/board.c
b/lib_blackfin/board.c
index fde4bbe0ff9feb35fc6815e7b6c76ff0c1b3a554..05e66e3c55c9335806a189f420e2f95849b00dd5 100644
(file)
--- 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 */