Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+2 -2
+2 -2
drivers/soc/amlogic/Kconfig
··· 19 19 20 20 config MESON_GX_SOCINFO 21 21 bool "Amlogic Meson GX SoC Information driver" 22 - depends on ARCH_MESON || COMPILE_TEST 22 + depends on (ARM64 && ARCH_MESON) || COMPILE_TEST 23 23 default ARCH_MESON 24 24 select SOC_BUS 25 25 help ··· 63 63 64 64 config MESON_MX_SOCINFO 65 65 bool "Amlogic Meson MX SoC Information driver" 66 - depends on ARCH_MESON || COMPILE_TEST 66 + depends on (ARM && ARCH_MESON) || COMPILE_TEST 67 67 default ARCH_MESON 68 68 select SOC_BUS 69 69 help