mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
arm: rmobile: alt: Remove i2c_init function
The i2c_init function is no longer necessary. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
parent
f063b32cf5
commit
46049bec07
1 changed files with 0 additions and 1 deletions
|
@ -167,7 +167,6 @@ void reset_cpu(ulong addr)
|
|||
u8 val;
|
||||
|
||||
i2c_set_bus_num(1); /* PowerIC connected to ch1 */
|
||||
i2c_init(400000, 0);
|
||||
i2c_read(CONFIG_SYS_I2C_POWERIC_ADDR, 0x13, 1, &val, 1);
|
||||
val |= 0x02;
|
||||
i2c_write(CONFIG_SYS_I2C_POWERIC_ADDR, 0x13, 1, &val, 1);
|
||||
|
|
Loading…
Add table
Reference in a new issue