boot/uboot: remove BR2_TARGET_UBOOT_NEEDS_TI_K3_BOOT_FIRMWARE

As suggested by Arnout during the review [1], we can assume that U-Boot
needs ti-k3-boot-firmware when it is selected (likely by
ti-k3-r5-loader).

We can remove BR2_TARGET_UBOOT_NEEDS_TI_K3_BOOT_FIRMWARE without
legacy handling since this option is not part of any Buildroot
release.

[1] http://lists.busybox.net/pipermail/buildroot/2024-April/689263.html

Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Romain Naour 2024-04-10 23:44:52 +02:00 committed by Peter Korsgaard
parent 66ebbebdb4
commit e4d07f8d81
5 changed files with 6 additions and 16 deletions

View File

@ -161,9 +161,8 @@ config BR2_TARGET_TI_K3_IMAGE_GEN
U-Boot binman tool (requires U-boot >= 2023.10).
config BR2_TARGET_UBOOT_NEEDS_TI_K3_DM
bool "u-boot TI K3 DM option has been renamed."
bool "u-boot TI K3 DM option has been removed."
select BR2_LEGACY
select BR2_TARGET_UBOOT_NEEDS_TI_K3_BOOT_FIRMWARE
help
The TI K3 Device Manager is already included in
ti-k3-boot-firmware.

View File

@ -240,17 +240,6 @@ config BR2_TARGET_UBOOT_NEEDS_OPTEE_TEE
U-Boot, and that the TEE variable pointing to OPTEE's
tee.elf, is passed during the Buildroot build.
config BR2_TARGET_UBOOT_NEEDS_TI_K3_BOOT_FIRMWARE
bool "U-Boot needs ti-k3-boot-firmware"
depends on BR2_TARGET_TI_K3_BOOT_FIRMWARE
help
TI K3 devices needs at least ti-sysfw (System Firmware) when
built with u-boot's binman tool.
Some TI K3 devices using a split firmware boot flow (AM62,
j721e) also need the Device Manager (DM) firmware to be
available for the U-Boot build.
config BR2_TARGET_UBOOT_NEEDS_OPENSBI
bool "U-Boot needs OpenSBI"
depends on BR2_TARGET_OPENSBI

View File

@ -194,7 +194,11 @@ UBOOT_DEPENDENCIES += optee-os
UBOOT_MAKE_OPTS += TEE=$(BINARIES_DIR)/tee.elf
endif
ifeq ($(BR2_TARGET_UBOOT_NEEDS_TI_K3_BOOT_FIRMWARE),y)
# TI K3 devices needs at least ti-sysfw (System Firmware) provided
# by ti-k3-boot-firmware when built with u-boot's binman tool.
# Some TI K3 devices using a split firmware boot flow (AM62,
# j721e) also need the Device Manager (DM) firmware.
ifeq ($(BR2_TARGET_TI_K3_BOOT_FIRMWARE),y)
UBOOT_DEPENDENCIES += ti-k3-boot-firmware
endif

View File

@ -37,7 +37,6 @@ BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am62x_evm_a53"
BR2_TARGET_UBOOT_NEEDS_DTC=y
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y
BR2_TARGET_UBOOT_NEEDS_TI_K3_BOOT_FIRMWARE=y
BR2_TARGET_UBOOT_USE_BINMAN=y
# BR2_TARGET_UBOOT_FORMAT_BIN is not set
BR2_TARGET_UBOOT_FORMAT_IMG=y

View File

@ -37,7 +37,6 @@ BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am64x_evm_a53"
BR2_TARGET_UBOOT_NEEDS_DTC=y
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y
BR2_TARGET_UBOOT_NEEDS_TI_K3_BOOT_FIRMWARE=y
BR2_TARGET_UBOOT_USE_BINMAN=y
# BR2_TARGET_UBOOT_FORMAT_BIN is not set
BR2_TARGET_UBOOT_FORMAT_IMG=y