Since the common framework already calls i2c_init(), there is no need
for the Blackfin board_init_r() to do it, so drop the call.

Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]>
---
 lib_blackfin/board.c |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)

diff --git a/lib_blackfin/board.c b/lib_blackfin/board.c
index 43d8be8..aae89d6 100644
--- a/lib_blackfin/board.c
+++ b/lib_blackfin/board.c
@@ -332,16 +332,6 @@ void board_init_f(ulong bootflag)
        board_init_r((gd_t *) gd, 0x20000010);
 }
 
-#if defined(CONFIG_SOFT_I2C) || defined(CONFIG_HARD_I2C)
-static int init_func_i2c(void)
-{
-       puts("I2C:   ");
-       i2c_init(CFG_I2C_SPEED, CFG_I2C_SLAVE);
-       puts("ready\n");
-       return (0);
-}
-#endif
-
 void board_init_r(gd_t * id, ulong dest_addr)
 {
        extern void malloc_bin_reloc(void);
@@ -450,10 +440,6 @@ void board_init_r(gd_t * id, ulong dest_addr)
                        bd->bi_enetaddr[3], bd->bi_enetaddr[4], 
bd->bi_enetaddr[5]);
 #endif
 
-#if defined(CONFIG_SOFT_I2C) || defined(CONFIG_HARD_I2C)
-       init_func_i2c();
-#endif
-
        display_global_data();
 
 #if defined(CONFIG_POST)
-- 
1.5.5.3


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to