From b8f383b86bc748382cc7cb5b3602c0c2ff9cb60c Mon Sep 17 00:00:00 2001 From: Nobuhiro Iwamatsu Date: Thu, 10 Oct 2013 10:48:20 +0900 Subject: arm: koelsch: Add support reset function Signed-off-by: Nobuhiro Iwamatsu --- board/renesas/koelsch/koelsch.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'board/renesas') diff --git a/board/renesas/koelsch/koelsch.c b/board/renesas/koelsch/koelsch.c index 73cad66f1e..89f5c91c63 100644 --- a/board/renesas/koelsch/koelsch.c +++ b/board/renesas/koelsch/koelsch.c @@ -357,4 +357,10 @@ int board_late_init(void) void reset_cpu(ulong addr) { + u8 val; + + i2c_set_bus_num(2); /* PowerIC connected to ch2 */ + i2c_read(CONFIG_SYS_I2C_POWERIC_ADDR, 0x13, 1, &val, 1); + val |= 0x02; + i2c_write(CONFIG_SYS_I2C_POWERIC_ADDR, 0x13, 1, &val, 1); } -- cgit v1.2.1