summaryrefslogtreecommitdiffstats
path: root/board/renesas
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>2013-10-10 10:48:20 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2013-12-18 16:35:46 +0900
commitb8f383b86bc748382cc7cb5b3602c0c2ff9cb60c (patch)
tree8e1264037d38d11d20b3d047d78b2280b0e2fb9d /board/renesas
parentbb611cce32338bc35b49538ca23d90a8f3e977c4 (diff)
downloadblackbird-obmc-uboot-b8f383b86bc748382cc7cb5b3602c0c2ff9cb60c.tar.gz
blackbird-obmc-uboot-b8f383b86bc748382cc7cb5b3602c0c2ff9cb60c.zip
arm: koelsch: Add support reset function
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Diffstat (limited to 'board/renesas')
-rw-r--r--board/renesas/koelsch/koelsch.c6
1 files changed, 6 insertions, 0 deletions
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);
}
OpenPOWER on IntegriCloud