diff options
| author | Dirk Eibach <dirk.eibach@gdsys.cc> | 2013-04-25 02:40:01 +0000 | 
|---|---|---|
| committer | Heiko Schocher <hs@denx.de> | 2013-07-23 08:34:56 +0200 | 
| commit | 880540decfb855e96bc14ac84ac7784669e4b382 (patch) | |
| tree | 771220f0de64d8cf1496ed9191f04793ec330804 /arch/powerpc/cpu/ppc4xx/44x_spd_ddr2.c | |
| parent | 1f2ba722ac06393d6abe6d4734824d3b98ea9108 (diff) | |
| download | olio-uboot-2014.01-880540decfb855e96bc14ac84ac7784669e4b382.tar.xz olio-uboot-2014.01-880540decfb855e96bc14ac84ac7784669e4b382.zip | |
i2c, ppc4xx_i2c: switch to new multibus/multiadapter support
Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
Cc: Heiko Schocher <hs@denx.de>
Cc: Stefan Roese <sr@denx.de>
Tested-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/powerpc/cpu/ppc4xx/44x_spd_ddr2.c')
| -rw-r--r-- | arch/powerpc/cpu/ppc4xx/44x_spd_ddr2.c | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/arch/powerpc/cpu/ppc4xx/44x_spd_ddr2.c b/arch/powerpc/cpu/ppc4xx/44x_spd_ddr2.c index def7ebf72..a66973ee7 100644 --- a/arch/powerpc/cpu/ppc4xx/44x_spd_ddr2.c +++ b/arch/powerpc/cpu/ppc4xx/44x_spd_ddr2.c @@ -459,8 +459,7 @@ phys_size_t initdram(int board_type)  	 */  	/* 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. |