Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1346844

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

From John Stultz <john.stultz@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH v4 2/4] power: reset: add reboot mode driver
Date 2016-03-01 19:30 +0100
Message-ID <r7Xdx-4kR-25@gated-at.bofh.it> (permalink)
References <r7Rrs-A3-19@gated-at.bofh.it> <r7Rrs-A3-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Mar 1, 2016 at 4:12 AM, Andy Yan <andy.yan@rock-chips.com> wrote:
> This driver parse the reboot commands like "reboot loader"
> 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 <matthias.bgg@gmail.com>
> Reviewed-by: Moritz Fischer <moritz.fischer@ettus.com>
> Signed-off-by: Andy Yan <andy.yan@rock-chips.com>


Thanks Andy for your persistence pushing this!

This patch works well on my nexus7.

Tested-by: John Stultz <john.stultz@linaro.org>
Acked-by: John Stultz <john.stultz@linaro.org>

thanks
-john

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v4 2/4] power: reset: add reboot mode driver Andy Yan <andy.yan@rock-chips.com> - 2016-03-01 13:20 +0100
  Re: [PATCH v4 2/4] power: reset: add reboot mode driver John Stultz <john.stultz@linaro.org> - 2016-03-01 19:30 +0100

csiph-web