summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-11-17 12:16:22 +0100
committerArthur Heymans <arthur@aheymans.xyz>2024-08-23 10:40:01 +0000
commit183037de6a2ce68712ddfd99e588ce59402dfdd2 (patch)
treea5f1218e822f0a6f07558625a615067e5bae0e28 /src/soc/qualcomm
parente0be23c73394fcde1b26caedc964eba35bdb111c (diff)
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>
Diffstat (limited to 'src/soc/qualcomm')
-rw-r--r--src/soc/qualcomm/ipq40xx/Kconfig2
-rw-r--r--src/soc/qualcomm/ipq806x/Kconfig2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/qualcomm/ipq40xx/Kconfig b/src/soc/qualcomm/ipq40xx/Kconfig
index 98c3a8eae9..e32f228194 100644
--- a/src/soc/qualcomm/ipq40xx/Kconfig
+++ b/src/soc/qualcomm/ipq40xx/Kconfig
@@ -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
diff --git a/src/soc/qualcomm/ipq806x/Kconfig b/src/soc/qualcomm/ipq806x/Kconfig
index b9e47e5ec5..22a21559ea 100644
--- a/src/soc/qualcomm/ipq806x/Kconfig
+++ b/src/soc/qualcomm/ipq806x/Kconfig
@@ -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