mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
UPSTREAM: 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>
(cherry picked from commit 5d2fc13ba0)
Change-Id: Iab43c2c13f6d72f508b88352d1e0f7626ec2a14f
This commit is contained in:
parent
fcab631650
commit
d29038cd49
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user