summaryrefslogtreecommitdiff
path: root/drivers/soc/amlogic/Kconfig
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2020-10-19 15:46:48 -0700
committerKevin Hilman <khilman@baylibre.com>2020-10-26 11:33:27 -0700
commit5d2fc13ba052149e35675da108607846659a8b14 (patch)
tree9c239f6424d74ed9548991305bcc534016f66715 /drivers/soc/amlogic/Kconfig
parent3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff)
soc: amlogic: socinfo: build for specific arch
The MX driver only supports 32-bit ARM SoCs and the GX driver only supports 64-bit SoCs. Only build for the right architecture. Reviewed-by: Jerome Brunet <jbrunet@baylibre.com> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'drivers/soc/amlogic/Kconfig')
-rw-r--r--drivers/soc/amlogic/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/soc/amlogic/Kconfig b/drivers/soc/amlogic/Kconfig
index 321c5e26a268..08a27d9cbc7f 100644
--- a/drivers/soc/amlogic/Kconfig
+++ b/drivers/soc/amlogic/Kconfig
@@ -19,7 +19,7 @@ config MESON_CLK_MEASURE
config MESON_GX_SOCINFO
bool "Amlogic Meson GX SoC Information driver"
- depends on ARCH_MESON || COMPILE_TEST
+ depends on (ARM64 && ARCH_MESON) || COMPILE_TEST
default ARCH_MESON
select SOC_BUS
help
@@ -63,7 +63,7 @@ config MESON_SECURE_PM_DOMAINS
config MESON_MX_SOCINFO
bool "Amlogic Meson MX SoC Information driver"
- depends on ARCH_MESON || COMPILE_TEST
+ depends on (ARM && ARCH_MESON) || COMPILE_TEST
default ARCH_MESON
select SOC_BUS
help