Commit 324d7799 authored by Peter Robinson's avatar Peter Robinson Committed by Tom Rini
Browse files

Define default CONFIG_PREBOOT with right config option

The 44758771 commit removes CONFIG_PREBOOT but actually sets the USE_PREBOOT
Kconfig option which isn't CONFIG_PREBOOT and is also a bool option which means
we regress because 'usb start' isn't run when expected, it should also be run
for devices that have USB storage because keyboards aren't the only thing we
might need the USB bus for.

Fixes: 44758771

 ("arm: move CONFIG_PREBOOT="usb start" to KConfig")
Signed-off-by: default avatarPeter Robinson <pbrobinson@gmail.com>
Cc: Jonas Smedegaard <dr@jones.dk>
Cc: Neil Armstrong <narmstrong@baylibre.com>
parent d44d46e9
...@@ -403,7 +403,6 @@ config BOOTCOMMAND ...@@ -403,7 +403,6 @@ config BOOTCOMMAND
config USE_PREBOOT config USE_PREBOOT
bool "Enable preboot" bool "Enable preboot"
default "usb start" if USB_KEYBOARD
help help
When this option is enabled, the existence of the environment When this option is enabled, the existence of the environment
variable "preboot" will be checked immediately before starting the variable "preboot" will be checked immediately before starting the
...@@ -417,6 +416,7 @@ config USE_PREBOOT ...@@ -417,6 +416,7 @@ config USE_PREBOOT
config PREBOOT config PREBOOT
string "preboot default value" string "preboot default value"
depends on USE_PREBOOT && !USE_DEFAULT_ENV_FILE depends on USE_PREBOOT && !USE_DEFAULT_ENV_FILE
default "usb start" if USB_KEYBOARD || USB_STORAGE
default "" default ""
help help
This is the default of "preboot" environment variable. This is the default of "preboot" environment variable.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment