xref: /aosp_15_r20/external/coreboot/payloads/external/depthcharge/Kconfig (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1## SPDX-License-Identifier: GPL-2.0-only
2
3if PAYLOAD_DEPTHCHARGE
4
5choice
6prompt "Depthcharge version"
7
8config DEPTHCHARGE_STABLE
9	bool "stable"
10	help
11	  Latest stable version.
12
13config DEPTHCHARGE_MASTER
14	bool "master"
15	help
16	  Newest Depthcharge version.
17
18config DEPTHCHARGE_REVISION
19	bool "git revision"
20	help
21	  Select this option if you have a specific commit or branch that
22	  you want to use as the revision from which to build Depthcharge.
23
24	  You will be able to specify the name of a branch or a commit SHA
25	  later.
26
27endchoice
28
29config DEPTHCHARGE_REPO
30	string "depthcharge repo site"
31	default "https://chromium.googlesource.com/chromiumos/platform/depthcharge"
32	help
33	  repo site
34
35config DEPTHCHARGE_BRANCH
36	string "branch from the depthcharge repo"
37	default "origin/main"
38	help
39	  repo branch name
40
41config DEPTHCHARGE_REVISION_ID
42	string "Insert a commit's SHA-1 or a branch name"
43	depends on DEPTHCHARGE_REVISION
44	default "origin/master"
45	help
46	   The commit's SHA-1 or branch name of the revision to use.
47
48config PAYLOAD_FILE
49	string
50	default "payloads/external/depthcharge/depthcharge/build/depthcharge.elf"
51
52config MAINBOARD_DEPTHCHARGE
53	string ""
54	help
55	   Override BOARD setting for depthcharge
56
57config LP_DEFCONFIG_OVERRIDE
58	bool "Use default libpayload config"
59	help
60	  The Depthcharge makefile looks for a file config.<boardname> in the
61	  libpayload/configs directory.  Say Y here to use the file defconfig
62	  instead.  This is can be a convenience for development purposes, or
63	  if the defaults in defconfig are sufficient for your system.
64
65endif
66