From: Simon Kagstrom Date: Tue, 28 Oct 2014 11:19:00 +0000 (+0100) Subject: powerpc/boot: Parse chosen/cmdline-timeout parameter X-Git-Tag: omap-for-v3.19/fixes-rc1~123^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b4b13d5fec8a82ed2780c487e49cfc4321a8c14;p=pandora-kernel.git powerpc/boot: Parse chosen/cmdline-timeout parameter On some platforms a 5 second timeout during boot might be quite long, so make it configurable. Run the loop at least once to let the user stop the boot by holding a key pressed. If the timeout is set to 0, don't wait for input, which can be used as a workaround if the boot hangs on random data coming in on the serial port. Signed-off-by: Simon Kagstrom [mpe: Changelog wording & whitespace] Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed