58caa8ba8c
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>
59 lines
1.8 KiB
Text
59 lines
1.8 KiB
Text
##
|
|
## This file is part of the coreboot project.
|
|
##
|
|
## This program is free software; you can redistribute it and/or modify
|
|
## it under the terms of the GNU General Public License as published by
|
|
## the Free Software Foundation; version 2 of the License.
|
|
##
|
|
## This program is distributed in the hope that it will be useful,
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
## GNU General Public License for more details.
|
|
|
|
config STORAGE
|
|
bool "Support for storage devices"
|
|
default y if !CHROMEOS
|
|
help
|
|
Select this option if you want support for storage devices (like
|
|
hard drives, memory sticks or optical drives).
|
|
|
|
config STORAGE_64BIT_LBA
|
|
bool "Use 64-bit integers to address sectors"
|
|
depends on STORAGE
|
|
default n
|
|
help
|
|
If this is selected, sectors will be addressed by an 64-bit integer.
|
|
Select this to support LBA-48 for ATA drives.
|
|
|
|
config STORAGE_ATA
|
|
bool "Support ATA drives (i.e. hard drives)"
|
|
depends on STORAGE
|
|
default y
|
|
help
|
|
Select this option if you want support for ATA storage devices
|
|
(i.e. hard drives).
|
|
|
|
config STORAGE_ATAPI
|
|
bool "Support ATAPI drives (i.e. optical drives)"
|
|
depends on STORAGE
|
|
default y
|
|
select STORAGE_ATA
|
|
help
|
|
Select this option if you want support for ATAPI storage devices
|
|
(i.e. optical drives like CD or DVD drives).
|
|
|
|
config STORAGE_AHCI
|
|
bool "Support for AHCI host controllers"
|
|
depends on STORAGE && (STORAGE_ATA || STORAGE_ATAPI) && PCI
|
|
default y
|
|
help
|
|
Select this option if you want support for SATA controllers in
|
|
AHCI mode.
|
|
|
|
config STORAGE_AHCI_ONLY_TESTED
|
|
bool "Only enable tested controllers"
|
|
depends on STORAGE_AHCI
|
|
default y
|
|
help
|
|
If this option is selected only AHCI controllers which are known
|
|
to work will be used.
|