| 1 |
## SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
if PAYLOAD_UBOOT |
| 4 |
|
| 5 |
config PAYLOAD_SPECIFIC_OPTIONS |
| 6 |
def_bool y |
| 7 |
select PAYLOAD_IS_FLAT_BINARY |
| 8 |
select WANT_LINEAR_FRAMEBUFFER |
| 9 |
|
| 10 |
config UBOOT_STABLE_COMMIT_ID |
| 11 |
string |
| 12 |
default "v2025.07" |
| 13 |
|
| 14 |
choice |
| 15 |
prompt "U-Boot version" |
| 16 |
default UBOOT_STABLE |
| 17 |
|
| 18 |
config UBOOT_STABLE |
| 19 |
bool "v2025.07" |
| 20 |
help |
| 21 |
Stable U-Boot version |
| 22 |
|
| 23 |
config UBOOT_MASTER |
| 24 |
bool "master" |
| 25 |
help |
| 26 |
Newest U-Boot version |
| 27 |
|
| 28 |
endchoice |
| 29 |
|
| 30 |
config 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 |
|
| 41 |
config PAYLOAD_FILE |
| 42 |
default "payloads/external/U-Boot/build/u-boot.bin" |
| 43 |
|
| 44 |
config PAYLOAD_OPTIONS |
| 45 |
default "-l 0x1110000 -e 0x1110000" |
| 46 |
|
| 47 |
endif |