soc: zte: Restrict SOC_ZTE to ARCH_ZX or COMPILE_TEST

The ZTE SoC drivers are only useful when building for a ZTE ZX platform.

Fixes: 4c2c2e3971 ("soc: zte: pm_domains: Prepare for supporting ARMv8 zx2967 family")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Baoyou Xie <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
This commit is contained in:
Geert Uytterhoeven 2017-07-25 09:12:18 +02:00 • committed by Arnd Bergmann
commit fe89168c40

View file

@ -2,6 +2,7 @@
# ZTE SoC drivers
#
menuconfig SOC_ZTE
depends on ARCH_ZX || COMPILE_TEST
bool "ZTE SoC driver support"
if SOC_ZTE