switch-coreboot/payloads/external/depthcharge/Kconfig
Marshall Dawson a9326efd4b UPSTREAM: payloads/depthcharge: Allow generic libpayload config
Change depthcharge to not require a board-specific config file for
libpayload.  If the Kconfig option is selected, use the settings
in libpayload/configs/defconfig instead.

BUG=none
BRANCH=none
TEST=none

Change-Id: Iaa3f43f385dd9e90a80e760016f18eddb6a6ffd1
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: fc18507134
Original-Change-Id: I4fd1a5915472f28e757c62f3f2415716f1fdfc71
Original-Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Original-Reviewed-on: https://review.coreboot.org/18271
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://chromium-review.googlesource.com/435810
2017-02-03 09:08:54 -08:00

46 lines
1.1 KiB
Text

if PAYLOAD_DEPTHCHARGE
choice
prompt "Depthcharge version"
config DEPTHCHARGE_STABLE
bool "stable"
help
Latest stable version.
config DEPTHCHARGE_MASTER
bool "master"
help
Newest Depthcharge version.
config DEPTHCHARGE_REVISION
bool "git revision"
help
Select this option if you have a specific commit or branch that
you want to use as the revision from which to build Depthcharge.
You will be able to specify the name of a branch or a commit SHA
later.
endchoice
config DEPTHCHARGE_REVISION_ID
string "Insert a commit's SHA-1 or a branch name"
depends on DEPTHCHARGE_REVISION
default "origin/master"
help
The commit's SHA-1 or branch name of the revision to use.
config PAYLOAD_FILE
string
default "payloads/external/depthcharge/depthcharge/build/depthcharge.elf"
config LP_DEFCONFIG_OVERRIDE
def_bool n
help
The Depthcharge makefile looks for a file config.<boardname> in the
libpayload/configs directory. Say Y here to use the file defconfig
instead. This is can be a convenience for development purposes, or
if the defaults in defconfig are sufficient for your system.
endif