]> git.sur5r.net Git - u-boot/commit
ARM: rmobile: Fix broken reset code on Porter
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 17 Feb 2018 01:16:48 +0000 (02:16 +0100)
committerMarek Vasut <marex@denx.de>
Sat, 17 Feb 2018 21:00:25 +0000 (22:00 +0100)
commit25f6dc8955bdf97bfb16ef19de7ce4abe76aaee4
tree5b466b914ccb2eb740bdc1740986c6c9c91ec892
parenta6e50da0d5a42f84f39edad57cb24a85e8524e6d
ARM: rmobile: Fix broken reset code on Porter

The 'reset' command did not work on Porter because the reset code
was accessing the wrong PMIC address over broken I2C bus driver.
Replace the code with DM-aware code and fix up the PMIC address.
This makes the 'reset' command work again.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
board/renesas/porter/porter.c