imx: ventana: remove setup of I2C3 from SPL
[pandora-u-boot.git] / board / gateworks / gw_ventana / gw_ventana.c
index b86924e..c0b0cc9 100644 (file)
@@ -267,11 +267,11 @@ int mv88e61xx_hw_reset(struct phy_device *phydev)
        phydev->speed = SPEED_1000;
        phydev->duplex = DUPLEX_FULL;
 
-       /* LED configuration: 7:4-green (8=Activity)  3:0 amber (9=10Link) */
-       bus->write(bus, 0x10, 0, 0x16, 0x8089);
-       bus->write(bus, 0x11, 0, 0x16, 0x8089);
-       bus->write(bus, 0x12, 0, 0x16, 0x8089);
-       bus->write(bus, 0x13, 0, 0x16, 0x8089);
+       /* LED configuration: 7:4-green (8=Activity)  3:0 amber (8=Link) */
+       bus->write(bus, 0x10, 0, 0x16, 0x8088);
+       bus->write(bus, 0x11, 0, 0x16, 0x8088);
+       bus->write(bus, 0x12, 0, 0x16, 0x8088);
+       bus->write(bus, 0x13, 0, 0x16, 0x8088);
 
        return 0;
 }
@@ -631,7 +631,9 @@ int board_init(void)
 #ifdef CONFIG_MXC_SPI
        setup_spi();
 #endif
-       setup_ventana_i2c();
+       setup_ventana_i2c(0);
+       setup_ventana_i2c(1);
+       setup_ventana_i2c(2);
 
 #ifdef CONFIG_SATA
        setup_sata();
@@ -1114,7 +1116,7 @@ int ft_board_setup(void *blob, bd_t *bd)
 {
        struct ventana_board_info *info = &ventana_info;
        struct ventana_eeprom_config *cfg;
-       struct node_info nodes[] = {
+       static const struct node_info nodes[] = {
                { "sst,w25q256",          MTD_DEV_TYPE_NOR, },  /* SPI flash */
                { "fsl,imx6q-gpmi-nand",  MTD_DEV_TYPE_NAND, }, /* NAND flash */
        };