xref: /aosp_15_r20/external/coreboot/payloads/external/U-Boot/Kconfig (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1## SPDX-License-Identifier: GPL-2.0-only
2
3if PAYLOAD_UBOOT
4
5config PAYLOAD_SPECIFIC_OPTIONS
6	def_bool y
7	select PAYLOAD_IS_FLAT_BINARY
8	select WANT_LINEAR_FRAMEBUFFER
9
10config UBOOT_STABLE_COMMIT_ID
11	string
12	default "v2024.04"
13
14choice
15	prompt "U-Boot version"
16	default UBOOT_STABLE
17
18config UBOOT_STABLE
19	bool "v2024.04"
20	help
21	  Stable U-Boot version
22
23config UBOOT_MASTER
24	bool "master"
25	help
26	  Newest U-Boot version
27
28endchoice
29
30config PAYLOAD_CONFIGFILE
31	string "U-Boot config file"
32	default ""
33	help
34	  This option allows a platform to set Kconfig options for a basic
35	  U-Boot payload.  In general, if the option is used, the default
36	  would be "$(top)/src/mainboard/$(MAINBOARDDIR)/config_uboot"
37	  for a config stored in the coreboot mainboard directory, or
38	  "$(project_dir)/configs/coreboot-x86_defconfig" to use a config
39	  from the U-Boot config directory
40
41config PAYLOAD_FILE
42	default "payloads/external/U-Boot/build/u-boot.bin"
43
44config PAYLOAD_OPTIONS
45	default "-l 0x1110000 -e 0x1110000"
46
47endif
48