summaryrefslogtreecommitdiff
path: root/payloads/libpayload/drivers/usb/Kconfig
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2016-05-16 16:37:56 -0700
committerJulius Werner <jwerner@chromium.org>2016-10-17 22:46:11 +0200
commit58caa8ba8c2871a26f878e181f16ec073779770c (patch)
tree8b521abda1ff2ca169bf6654a55445220f4695b7 /payloads/libpayload/drivers/usb/Kconfig
parent4fda9bd0ec15d5d2cbc647811b46c0a23fdb865e (diff)
libpayload: Reintroduce CONFIG_LP_CHROMEOS to set suitable defaults
Chrome OS builds always have some inherent differences to "standard" libpayload configurations: they don't want to use curses or things like storage drivers, they always use the coreboot framebuffer and USB, etc. This patch reintroduces CONFIG_LP_CHROMEOS as an option that only affects Kconfig defaults. This allows Chrome OS builds to select most of what they need in one go and reduces board-specific .config files to only the options that are really specific to that board. Also restricts the 8250_SERIAL_CONSOLE Kconfig to only default to yes on x86 boards, which probably makes sense for all of libpayload (some but far from all ARM boards use 8250-compatible UARTs, and we should probably not default a platform option unless it's going to be correct with very high probability). BRANCH=None BUG=None TEST=Built and booted Jerry and Oak. Change-Id: Ie0c0593ffd399608d2cbfb83d20891f6f1864914 Signed-off-by: Julius Werner <jwerner@chromium.org> Original-Commit-Id: e558f59 Original-Change-Id: I609637cd2ea7dfb4558aa3c04c90b64038c9ab57 Original-Signed-off-by: Julius Werner <jwerner@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/347970 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/17024 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'payloads/libpayload/drivers/usb/Kconfig')
-rw-r--r--payloads/libpayload/drivers/usb/Kconfig8
1 files changed, 4 insertions, 4 deletions
diff --git a/payloads/libpayload/drivers/usb/Kconfig b/payloads/libpayload/drivers/usb/Kconfig
index 5ef80686e5..0d5bf0a86f 100644
--- a/payloads/libpayload/drivers/usb/Kconfig
+++ b/payloads/libpayload/drivers/usb/Kconfig
@@ -18,7 +18,7 @@ config USB
config USB_UHCI
bool "Support for USB UHCI controllers"
depends on USB && ARCH_X86
- default y
+ default y if !CHROMEOS
help
Select this option if you are going to use USB 1.1 on an Intel based
system.
@@ -26,7 +26,7 @@ config USB_UHCI
config USB_OHCI
bool "Support for USB OHCI controllers"
depends on USB
- default y
+ default y if !CHROMEOS
help
Select this option if you are going to use USB 1.1 on a non-Intel based
system.
@@ -34,14 +34,14 @@ config USB_OHCI
config USB_EHCI
bool "Support for USB EHCI controllers"
depends on USB
- default y
+ default y if !CHROMEOS
help
Select this option if you want to use USB 2.0
config USB_XHCI
bool "Support for USB xHCI controllers"
depends on USB
- default y
+ default y if !CHROMEOS
help
Select this option if you want to use USB 3.0