Adds the abillity to use a custom u-boot repo and a custom branch. Change-Id: I15df8a41d3d94ca0559abc964792035651b3d8b2 Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/89616 Reviewed-by: Marc Jones <marc@marcjonesconsulting.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
41 lines
1 KiB
Text
41 lines
1 KiB
Text
## SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
if PAYLOAD_UBOOT
|
|
|
|
config PAYLOAD_SPECIFIC_OPTIONS
|
|
def_bool y
|
|
select PAYLOAD_IS_FLAT_BINARY
|
|
select WANT_LINEAR_FRAMEBUFFER
|
|
|
|
config UBOOT_STABLE
|
|
bool "v2025.07"
|
|
help
|
|
Stable U-Boot version
|
|
|
|
config UBOOT_BRANCH_OR_TAG
|
|
string "branch/tag to use for u-boot payload"
|
|
default "v2025.07" if UBOOT_STABLE
|
|
default "master"
|
|
|
|
config UBOOT_REPO_URL
|
|
string "URL to uboot repository"
|
|
default "http://github.com/u-boot/u-boot/"
|
|
|
|
config PAYLOAD_CONFIGFILE
|
|
string "U-Boot config file"
|
|
default ""
|
|
help
|
|
This option allows a platform to set Kconfig options for a basic
|
|
U-Boot payload. In general, if the option is used, the default
|
|
would be "$(top)/src/mainboard/$(MAINBOARDDIR)/config_uboot"
|
|
for a config stored in the coreboot mainboard directory, or
|
|
"$(project_dir)/configs/coreboot-x86_defconfig" to use a config
|
|
from the U-Boot config directory
|
|
|
|
config PAYLOAD_FILE
|
|
default "payloads/external/U-Boot/build/u-boot.bin"
|
|
|
|
config PAYLOAD_OPTIONS
|
|
default "-l 0x1110000 -e 0x1110000"
|
|
|
|
endif
|