CONFIG_BOOTDELAY default should not affect runtime
authorJoe Hershberger <joe.hershberger@ni.com>
Fri, 8 Feb 2013 10:28:00 +0000 (10:28 +0000)
committerTom Rini <trini@ti.com>
Tue, 12 Mar 2013 16:43:31 +0000 (12:43 -0400)
commitd514544fe04e1b83ca2f9a1f64b885d153a2d2d5
treeac28b53835b32b26fad7aa9bdbc1e69556ff71cb
parentfe492cee35f0628c9d813f1799e4d49ef6b4e6d4
CONFIG_BOOTDELAY default should not affect runtime

Because the code that handles bootdelay is compiled in conditionally
based on the default value, you are restricted in the default,
regardless of what you want the runtime options to be.

Change the source to always check if any default is given so that other
values can be selected and used at runtime.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
common/main.c