]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/powerpc/cpu/ppc4xx/44x_spd_ddr2.c
Merge branch 'master' of git://git.denx.de/u-boot-i2c
[karo-tx-uboot.git] / arch / powerpc / cpu / ppc4xx / 44x_spd_ddr2.c
index d30f442eb387cb765f4006eddaccd4c890fc50a8..fe928db039ccb5effd4c88490211b16c9fe09731 100644 (file)
@@ -442,8 +442,7 @@ phys_size_t initdram(int board_type)
         */
 
        /* switch to correct I2C bus */
         */
 
        /* switch to correct I2C bus */
-       I2C_SET_BUS(CONFIG_SYS_SPD_BUS_NUM);
-       i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);
+       i2c_set_bus_num(CONFIG_SYS_SPD_BUS_NUM);
 
        /*------------------------------------------------------------------
         * Clear out the serial presence detect buffers.
 
        /*------------------------------------------------------------------
         * Clear out the serial presence detect buffers.