diff options
Diffstat (limited to 'board/keymile/common/common.c')
| -rw-r--r-- | board/keymile/common/common.c | 13 | 
1 files changed, 0 insertions, 13 deletions
| diff --git a/board/keymile/common/common.c b/board/keymile/common/common.c index 6f407b78f..ef93ed3f6 100644 --- a/board/keymile/common/common.c +++ b/board/keymile/common/common.c @@ -38,9 +38,7 @@  #include "post.h"  #endif  #include "common.h" -#if defined(CONFIG_HARD_I2C) || defined(CONFIG_SOFT_I2C)  #include <i2c.h> -#endif  #if !defined(CONFIG_MPC83xx)  static void i2c_write_start_seq(void); @@ -185,17 +183,6 @@ void i2c_init_board(void)  }  #endif - -#if !defined(MACH_TYPE_KM_KIRKWOOD) -int ethernet_present(void) -{ -	struct km_bec_fpga *base = -		(struct km_bec_fpga *)CONFIG_SYS_KMBEC_FPGA_BASE; - -	return in_8(&base->bprth) & PIGGY_PRESENT; -} -#endif -  int board_eth_init(bd_t *bis)  {  	if (ethernet_present()) |