diff options
author | Tom Rini <trini@ti.com> | 2013-02-18 09:57:06 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-02-18 09:57:06 -0500 |
commit | 1671ba7c0d5dd59c84cb3ae5dc586242d65cbf5f (patch) | |
tree | 65493c2c97adc37be6a60fc0a2fb81d214257fb1 /board/keymile/common/common.c | |
parent | ea6bd08b7717bf0d3f69ad9f016bf3b03b3eaf16 (diff) | |
parent | 411190cb16b63e39345a608b68b3d1be5168117a (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-mpc83xx
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 6f407b78f25..ef93ed3f66e 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()) |