arch/arm: Add a few ARM targets as supported by CLANG

Some targets cannot be supported by clang as clang generates slightly
larger binaries which the hardware won't accept. This is usually the
case with CONFIG_CHROMEOS.

Change-Id: I88cf8ce16fb6c61c19d615e396f5871179b06fc8
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69747
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Arthur Heymans 2022-11-17 12:16:22 +01:00
parent e0be23c733
commit 183037de6a
5 changed files with 8 additions and 1 deletions

View File

@ -2,7 +2,6 @@
config ARCH_ARM
bool
select CLANG_UNSUPPORTED
config ARCH_BOOTBLOCK_ARM
bool

View File

@ -14,6 +14,8 @@ config SOC_NVIDIA_TEGRA124
select MAINBOARD_HAS_NATIVE_VGA_INIT
select MAINBOARD_FORCE_NATIVE_VGA_INIT
select HAVE_LINEAR_FRAMEBUFFER
# clang creates larger binaries that may not fit
select CLANG_UNSUPPORTED if CHROMEOS
if SOC_NVIDIA_TEGRA124

View File

@ -9,6 +9,8 @@ config SOC_QC_IPQ40XX
select ARCH_RAMSTAGE_ARMV7
select HAVE_UART_SPECIAL
select GENERIC_GPIO_LIB
# clang creates larger binaries that may not fit
select CLANG_UNSUPPORTED if CHROMEOS
if SOC_QC_IPQ40XX

View File

@ -10,6 +10,8 @@ config SOC_QC_IPQ806X
select HAVE_UART_SPECIAL
select GENERIC_GPIO_LIB
select NO_MONOTONIC_TIMER
# clang creates larger binaries that may not fit
select CLANG_UNSUPPORTED if CHROMEOS
if SOC_QC_IPQ806X

View File

@ -18,6 +18,8 @@ config SOC_ROCKCHIP_RK3288
select NO_BOOTBLOCK_CONSOLE
select NO_FMAP_CACHE
select NO_CBFS_MCACHE
# clang creates larger binaries that may not fit
select CLANG_UNSUPPORTED if CHROMEOS
if SOC_ROCKCHIP_RK3288