diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2017-07-25 09:12:18 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2017-07-27 13:12:34 +0200 |
commit | fe89168c4065885700fa4f755a5157392aaae03c (patch) | |
tree | 73f56c468742b4952ec931b9f03a2299b0759ab8 /drivers/soc | |
parent | 75f4e381315dbba0fa143398fa8cb0e40e4ec224 (diff) |
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: 4c2c2e39713b8cfb ("soc: zte: pm_domains: Prepare for supporting ARMv8 zx2967 family")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/soc')
-rw-r--r-- | drivers/soc/zte/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/zte/Kconfig b/drivers/soc/zte/Kconfig index 20bde38ce2f9..e9d750c510cd 100644 --- a/drivers/soc/zte/Kconfig +++ b/drivers/soc/zte/Kconfig @@ -2,6 +2,7 @@ # ZTE SoC drivers # menuconfig SOC_ZTE + depends on ARCH_ZX || COMPILE_TEST bool "ZTE SoC driver support" if SOC_ZTE |