1
0
Fork 0
remarkable-uboot/board/amazon/kc1
Paul Kocialkowski 523849a088 kc1: Proper reboot mode and boot reason validation
With the previous implementation, rebooting without registering a recognized
reboot mode would end up with U-Boot checking for a valid power-on reason, which
might result in the device turning off (e.g. with no USB cable attached and no
buttons pressed).

Since this approach is not viable (breaks reboot in most cases), the validity of
the reboot reason is checked (in turn, by checking that a warm reset happened,
as there is no magic) to detect a reboot and the 'o' char is recognized to
indicate that power-off is required. Still, that might be overridden by the
detection of usual power-on reasons, on purpose.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
2016-04-01 17:18:06 -04:00
..
Kconfig Amazon Kindle Fire (first generation) codename kc1 support 2016-03-15 15:12:48 -04:00
MAINTAINERS Amazon Kindle Fire (first generation) codename kc1 support 2016-03-15 15:12:48 -04:00
Makefile Amazon Kindle Fire (first generation) codename kc1 support 2016-03-15 15:12:48 -04:00
kc1.c kc1: Proper reboot mode and boot reason validation 2016-04-01 17:18:06 -04:00
kc1.h kc1: OMAP4 reboot mode support 2016-03-15 15:12:55 -04:00