[PATCH v2] PowerPC: boot: Parse chosen/cmdline-timeout parameter
Simon Kågström
simon.kagstrom at netinsight.net
Tue Sep 23 18:56:16 EST 2014
Hi again!
On Tue, 9 Sep 2014 16:40:06 +0200
Simon Kågström <simon.kagstrom at netinsight.net> wrote:
> A 5 second timeout during boot might be too long, so make it
> configurable. Run the loop at least once to let the user stop the boot
> by holding a key pressed.
>
> The property is added to the chosen node, e.g.,
>
> chosen {
> bootargs = "console=ttyUL0 root=/dev/ram0";
> linux,stdout-path = "/plb at 0/serial at 46000000";
> linux,cmdline-timeout = <100>;
> } ;
>
> Signed-off-by: Simon Kagstrom <simon.kagstrom at netinsight.net>
> ---
>
> ChangeLog:
>
> v2:
> - Rename the property linux,cmdline-timeout (Grant Likely)
> - Run the loop at least once to allow (Grant Likely)
Sorry to bother the list, but it would be nice if this patch could
trickle down into some tree if it's seen as acceptable. So consider
this a ping :-)
> arch/powerpc/boot/main.c | 11 ++++++++++-
> arch/powerpc/boot/ops.h | 2 +-
> arch/powerpc/boot/serial.c | 6 +++---
> 3 files changed, 14 insertions(+), 5 deletions(-)
[...]
Thanks,
// Simon
More information about the Linuxppc-dev
mailing list