kumquat-buildroot/boot/arm-trusted-firmware
Thomas Petazzoni 4a71356832 boot/arm-trusted-firmware: introduce a choice to select the BL33 image
We now have 3 different options to select an image as the BL33 stage
of TF-A: Barebox, U-Boot or EDK2. Technically speaking, they are
mutually exclusive: they all specify a BL33= variable to the TF-A
build, and TF-A can only support a single BL33 stage.

However, as pointed out by Vincent Fazio in [0] there is nothing that
prevents selecting Barebox, U-Boot and EDK2 together, even though it
doesn't make sense.

To address this, this commit introduces a choice...endchoice block,
into which the Barebox, U-Boot and EDK2 options are moved. An
additional "none" option is added, which is the default, and
corresponds to not having any BL33 image.

Since we keep the same name for the options, no legacy handling is
necessary.

[0] https://lore.kernel.org/buildroot/PH1P110MB1603A4AA1638838DA56BAA069FDA9@PH1P110MB1603.NAMP110.PROD.OUTLOOK.COM/

Reported-by: Vincent Fazio <vfazio@xes-inc.com>
Cc: Vincent Fazio <vfazio@xes-inc.com>
Cc: Casey Reeves <casey@xogium.me>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Tested-by: Vincent Fazio <vfazio@xes-inc.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-08-12 22:17:14 +02:00
..
v2.2 boot/arm-trusted-firmware: fix build issue with binutils 2.39+ 2023-07-10 23:39:18 +02:00
v2.3 boot/arm-trusted-firmware: fix build issue with binutils 2.39+ 2023-07-10 23:39:18 +02:00
v2.4 boot/arm-trusted-firmware: fix build issue with binutils 2.39+ 2023-07-10 23:39:18 +02:00
v2.5 boot/arm-trusted-firmware: fix build issue with binutils 2.39+ 2023-07-10 23:39:18 +02:00
v2.6 boot/arm-trusted-firmware: fix build issue with binutils 2.39+ 2023-07-10 23:39:18 +02:00
v2.7 boot/arm-trusted-firmware: fix build issue with binutils 2.39+ 2023-07-10 23:39:18 +02:00
v2.8 boot/arm-trusted-firmware: add patch to fix fiptool link 2023-07-23 19:28:21 +02:00
v2.9 boot/arm-trusted-firmware: add patch to fix fiptool link 2023-07-23 19:28:21 +02:00
arm-trusted-firmware.hash boot/arm-trusted-firmware: bump version to 2.7 2022-07-23 21:10:46 +02:00
arm-trusted-firmware.mk boot/arm-trusted-firmware: allow using Barebox as BL33 2023-02-21 22:34:27 +01:00
Config.in boot/arm-trusted-firmware: introduce a choice to select the BL33 image 2023-08-12 22:17:14 +02:00