Move hard-coded repo and repo name to Kconfig as default value DEPTHCHARGE_REPO default to: https://chromium.googlesource.com/chromiumos/platform/depthcharge DEPTHCHARGE_BRANCH default to: origin/main When DEPTHCHARGE_MASTER=y, DEPTHCHARGE_BRANCH can be used to point out a particular branch. This change enable to use mirrored internal depthcharge repo and branch for early SOC development (before upstreaming SOC and dephthcharge code). TEST=Build coreboot and check the repo remote link from: payloads/external/depthcharge/depthcharge Signed-off-by: Cliff Huang <cliff.huang@intel.com> Change-Id: Icca10aa770b7b7a6e010f58bcf1e4f0a3401681a Reviewed-on: https://review.coreboot.org/c/coreboot/+/80726 Reviewed-by: Bora Guvendik <bora.guvendik@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Wonkyu Kim <wonkyu.kim@intel.com> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Zhixing Ma <zhixing.ma@intel.com>
66 lines
1.5 KiB
Plaintext
66 lines
1.5 KiB
Plaintext
## SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
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_REPO
|
|
string "depthcharge repo site"
|
|
default "https://chromium.googlesource.com/chromiumos/platform/depthcharge"
|
|
help
|
|
repo site
|
|
|
|
config DEPTHCHARGE_BRANCH
|
|
string "branch from the depthcharge repo"
|
|
default "origin/main"
|
|
help
|
|
repo branch name
|
|
|
|
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 MAINBOARD_DEPTHCHARGE
|
|
string ""
|
|
help
|
|
Override BOARD setting for depthcharge
|
|
|
|
config LP_DEFCONFIG_OVERRIDE
|
|
bool "Use default libpayload config"
|
|
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
|