]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/mpl/pip405/pip405.c
i2c, ppc4xx_i2c: switch to new multibus/multiadapter support
[people/ms/u-boot.git] / board / mpl / pip405 / pip405.c
index b203037cf99a60867927cb7ff460ccd59866cca7..655e129f94d9b17fcf56ba248f97bda8b63f57f8 100644 (file)
@@ -209,7 +209,7 @@ int board_early_init_f (void)
 #endif
 
        /* Read Serial Presence Detect Information */
-       i2c_init (CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);
+       i2c_set_bus_num(0);
        for (i = 0; i < 128; i++)
                datain[i] = 127;
        i2c_read(SPD_EEPROM_ADDRESS,0,1,datain,128);