[U-Boot] [U-Boot, 11/12] sniper: Power off when the power on reason is not a valid one

Tom Rini trini at konsulko.com
Thu Aug 13 15:18:58 CEST 2015


On Mon, Jul 20, 2015 at 03:17:17PM +0200, Paul Kocialkowski wrote:

> 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 at paulk.fr>
> Reviewed-by: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150813/cca82a5f/attachment.sig>


More information about the U-Boot mailing list