]> git.sur5r.net Git - u-boot/blobdiff - arch/powerpc/cpu/ppc4xx/denali_spd_ddr2.c
powerpc: mpc83xx: remove MPC8360ERDK, EMPC8360EMDS support
[u-boot] / arch / powerpc / cpu / ppc4xx / denali_spd_ddr2.c
index 55278b19bfc895fbd9c032309a68b3a9f1447c1a..916451a2b0c30bb9da22ce23a57e08f44b2fd4e6 100644 (file)
@@ -1024,8 +1024,7 @@ phys_size_t initdram(int board_type)
         * before continuing.
         */
        /* 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.