On first HW versions the BOCO FPGA was behind a MUX device. These
HW versions are not supported anymore. And therefore this code can
be removed, it is already unused.

Signed-off-by: Holger Brunck <holger.bru...@keymile.com>
---
 board/keymile/km_arm/km_arm.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c
index 2e20644..dcf0f42 100644
--- a/board/keymile/km_arm/km_arm.c
+++ b/board/keymile/km_arm/km_arm.c
@@ -41,9 +41,6 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-static int     io_dev;
-extern I2C_MUX_DEVICE *i2c_mux_ident_muxstring (uchar *buf);
-
 /* Multi-Purpose Pins Functionality configuration */
 u32 kwmpp_config[] = {
        MPP0_NF_IO2,
@@ -122,13 +119,9 @@ int ethernet_present(void)
 
 int misc_init_r(void)
 {
-       I2C_MUX_DEVICE  *i2cdev;
        char *str;
        int mach_type;
 
-       /* add I2C Bus for I/O Expander */
-       i2cdev = i2c_mux_ident_muxstring((uchar *)"pca9554a:70:a");
-       io_dev = i2cdev->busid;
        puts("Piggy:");
        if (ethernet_present() == 0)
                puts (" not");
-- 
1.7.0.5

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to