The SMC transport driver references ARM register names in C code via the register asm syntax and thus fails to build on other architectures. Mark it ARM-only to reflect this. The remainder of the ARM SCMI support can built with COMPILE_TEST normally. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- drivers/firmware/arm_scmi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/firmware/arm_scmi/Kconfig b/drivers/firmware/arm_scmi/Kconfig index 29b0152901ad..3405c6b3e9e3 100644 --- a/drivers/firmware/arm_scmi/Kconfig +++ b/drivers/firmware/arm_scmi/Kconfig @@ -58,6 +58,7 @@ config ARM_SCMI_TRANSPORT_OPTEE config ARM_SCMI_TRANSPORT_SMC bool "SCMI transport based on SMC" + depends on ARM select ARM_SMCCC select ARM_SCMI_HAVE_TRANSPORT select ARM_SCMI_HAVE_SHMEM -- 2.39.5