kumquat-buildroot/boot
Jagan Teki 2c4809e608 uboot: add support for bundling ATF BL31 into U-Boot
Some ARM64 platforms (such as Allwinner A64/H5) have a boot process
where U-Boot encapsulates the BL31 part of the ARM trusted
firmware. For such platforms, we need to build ATF before U-Boot, and
pass a BL31 variable pointing to ATF bl31.bin to the U-Boot build
process.

This commit introduces a BR2_TARGET_UBOOT_NEEDS_ATF_BL31 variable to
achieve this.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
[Thomas:
 - Rename option to BR2_TARGET_UBOOT_NEEDS_ATF_BL31
 - Drop changes to arm-trusted-firmware.mk, they are taken care of by
   previous commits.
 - Improve Config.in help text
 - Add missing dependency on arm-trusted-firmware when
   BR2_TARGET_UBOOT_NEEDS_ATF_BL31 is enabled.
 - Use bl31.bin from $(BINARIES_DIR) instead of taking it from ATF's
   build dir.]
[Peter: depend on toplevel atf option and select bl31 option.  Ensure it
	cannot be enabled together with ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33
	as that would cause circular dependencies]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-12-08 13:37:49 +01:00
..
afboot-stm32 afboot-stm32: use the Buildroot toolchain 2016-04-16 12:43:16 +02:00
arm-trusted-firmware arm-trusted-firmware: allow to generate the BL31 image 2017-12-08 12:27:36 +01:00
at91bootstrap package/at91bootstrap: add hash file 2016-06-19 21:10:16 +02:00
at91bootstrap3 at91bootstrap3: exclude from hash when downloading from git 2017-06-11 14:27:42 +02:00
at91dataflashboot package/at91dataflashboot: add hash file 2016-06-19 21:11:25 +02:00
barebox barebox: bump to version 2017.09.0 2017-10-27 20:46:17 +02:00
boot-wrapper-aarch64 boot-wrapper-aarch64: update upstream repository 2016-11-16 12:24:19 +01:00
grub2 grub2: force -fno-stack-protector in CFLAGS 2017-08-30 22:09:21 +02:00
gummiboot boot, package: use SPDX short identifier for LGPLv2.1/LGPLv2.1+ 2017-04-01 15:18:10 +02:00
lpc32xxcdl Normalize separator size to 80 2013-06-07 10:54:54 +02:00
mxs-bootlets Globally replace $(HOST_DIR)/usr/bin with $(HOST_DIR)/bin 2017-07-05 15:19:29 +02:00
s500-bootloader boot: add s500-bootloader package 2016-05-26 10:35:34 +02:00
syslinux boot/syslinux: fix i386 bios build with recent binutils 2017-08-16 22:54:03 +02:00
ts4800-mbrboot boot, package: use SPDX short identifier for BSD-2c 2017-04-01 15:27:05 +02:00
uboot uboot: add support for bundling ATF BL31 into U-Boot 2017-12-08 13:37:49 +01:00
vexpress-firmware vexpress-firmware: new package 2016-10-15 12:35:28 +02:00
xloader boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+ 2017-04-01 15:16:38 +02:00
common.mk Fix build reproducibility in Make 3.82 2013-09-06 23:27:42 +02:00
Config.in boot/grub: remove 2017-09-23 20:29:37 +02:00