]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: sysreset: rk3188: Make sure remap is off on warm-resets
authorHeiko Stübner <heiko@sntech.de>
Fri, 7 Apr 2017 10:38:52 +0000 (12:38 +0200)
committerSimon Glass <sjg@chromium.org>
Sat, 15 Apr 2017 16:13:17 +0000 (10:13 -0600)
commit8f0457b8f1368e086ff4e0b85e8b4f488ea91599
treeeb46c0f05c02b99433492b96e86311c0a1191037
parentd5d1ac42a988b5f5e96c9a00e1af652da7ce7cf1
rockchip: sysreset: rk3188: Make sure remap is off on warm-resets

The warm-reset of rk3188 socs keeps the remap setting as it was, so if
it was enabled, the cpu would start from address 0x0 of the sram instead
of address 0x0 of the bootrom, thus making the reset hang.

Therefore make sure the remap is disabled before attempting a warm reset.

Cold reset is not affected by this at all.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/sysreset/sysreset_rk3188.c