boot/arm-trusted-firmware: support 32bit Arm targets
authorEtienne Carriere <etienne.carriere@linaro.org>
Mon, 18 Mar 2019 23:21:02 +0000 (00:21 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 20 Mar 2019 21:33:30 +0000 (22:33 +0100)
commit9dbc934217e170578d4cbfdf524bc1b3988d0b9e
tree2544acf1cd90dccc5c674f5bf1261f080ff347b3
parentb38dfa7554760327b35b43d3137c73056c2419fd
boot/arm-trusted-firmware: support 32bit Arm targets

This change allows one to build the TF-A (Trusted Firmware A) for
32bit architectures Armv7 and Armv8 platforms. TF-A supports these
configuration since release v1.5.

Change dependency on BR2_aarch64 into a dependency on either
BR2_ARM_CPU_ARMV8A/BR2_ARM_CPU_ARMV7A to better define
the target architectures supported by the package.

Set package configuration directive ARM_ARCH_MAJOR according to
BR2_ARM_CPU_ARMV8A/BR2_ARM_CPU_ARMV7A. Set package configuration
directive ARCH based on BR2_aarch64/BR2_arm.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
boot/arm-trusted-firmware/Config.in
boot/arm-trusted-firmware/arm-trusted-firmware.mk