d85cee8310
1. Fix the inconsistence of the target path of U-Boot payload between Kconfig and Makefile.inc. 2. Perform full clone (to the destined commit) in order to get tags. 3. Move stable commit id of U-Boot payload from Makefile to Kconfig, and make prompt consistent with it. Change-Id: Ic0f11c16274456a452a0422e19fab0c61d8b5d5b Signed-off-by: Bill XIE <persmule@hardenedlinux.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60028 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Simon Glass <sjg@chromium.org>
45 lines
967 B
Text
45 lines
967 B
Text
if PAYLOAD_UBOOT
|
|
|
|
config PAYLOAD_SPECIFIC_OPTIONS
|
|
def_bool y
|
|
select PAYLOAD_IS_FLAT_BINARY
|
|
select WANT_LINEAR_FRAMEBUFFER
|
|
|
|
config UBOOT_STABLE_COMMIT_ID
|
|
string
|
|
default "v2021.07"
|
|
|
|
choice
|
|
prompt "U-Boot version"
|
|
default UBOOT_STABLE
|
|
|
|
config UBOOT_STABLE
|
|
bool "v2021.07"
|
|
help
|
|
Stable U-Boot version
|
|
|
|
config UBOOT_MASTER
|
|
bool "master"
|
|
help
|
|
Newest U-Boot version
|
|
|
|
endchoice
|
|
|
|
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
|