omap4: Check warm reset for reboot mode validity
authorPaul Kocialkowski <contact@paulk.fr>
Sat, 27 Feb 2016 18:19:08 +0000 (19:19 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 15 Mar 2016 19:12:54 +0000 (15:12 -0400)
commit69847dd8f0fd8ef7a5c751a6f117879b501c39fc
tree9f6d28bb2beb7df930767bf2cee0795e168250c5
parentfaec3f984120f1bee3f193c339f15c451b6d26e1
omap4: Check warm reset for reboot mode validity

Since the SAR registers are filled with garbage on cold reset, this checks for a
warm reset to assert the validity of reboot mode.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
arch/arm/cpu/armv7/omap4/boot.c