Thread (12 messages) 12 messages, 4 authors, 2016-08-16

Re: [PATCH v10 2/4] power: reset: add reboot mode driver

From: Sebastian Reichel <hidden>
Date: 2016-07-06 15:24:25
Also in: linux-pm, lkml

Hi,

On Wed, Jul 06, 2016 at 09:27:26PM +0800, Andy Yan wrote:
This driver parses the reboot commands like "reboot bootloader"
and "reboot recovery" to get a boot mode described in the
device tree , then call the write interfae to store the boot
mode in some place like special register or sram, which can
be read by the bootloader after system reboot, then the bootloader
can take different action according to the mode stored.

This is commonly used on Android based devices, in order to
reboot the device into fastboot or recovery mode.

Reviewed-by: Matthias Brugger <redacted>
Reviewed-by: Moritz Fischer <redacted>
Tested-by: John Stultz <redacted>
Acked-by: John Stultz <redacted>
Signed-off-by: Andy Yan <redacted>
Thanks, queued into powersupply's next tree with the
whitespace issue fixed.

-- Sebastian

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help