diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2015-07-20 15:17:17 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-08-12 20:47:39 -0400 |
commit | 0e14f88957459aec113b75032ff9364c81dab864 (patch) | |
tree | fbb5226d8d68379da891455a0ed2a6ffc1a0fe6a /configs/eb_cpu5282_internal_defconfig | |
parent | 69f25415eda1f3bded57f46347021f6652776076 (diff) | |
download | blackbird-obmc-uboot-0e14f88957459aec113b75032ff9364c81dab864.tar.gz blackbird-obmc-uboot-0e14f88957459aec113b75032ff9364c81dab864.zip |
sniper: Power off when the power on reason is not a valid one
In most cases, userspace will attempt to power off the device with HALT instead
of POWER_OFF, which triggers a reset instead of a proper power off from the
TWL4030. Hence, it is up to the bootloader to actually turn the device off when
there is no reason to turn it on.
A reboot identified with the OMAP reboot mode bits set is acceptable, as well as
a power on reason from either the power button, USB or charger plug.
Other cases should trigger a power off. Note that for the U-Boot reset command
to take effect, we have to fill-in the OMAP reboot bits.
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'configs/eb_cpu5282_internal_defconfig')
0 files changed, 0 insertions, 0 deletions