firmware: intel_stratix10_service: add hardware dependency

Add a Kconfig dependency to ensure Intel Stratix10 service layer driver
can be built only on the platform that supports it.

Signed-off-by: Richard Gong <richard.gong@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Richard Gong 2019-01-23 12:06:05 -06:00 committed by Greg Kroah-Hartman
parent 57ea974fb8
commit 095ff29d2b

View file

@ -218,7 +218,7 @@ config FW_CFG_SYSFS_CMDLINE
config INTEL_STRATIX10_SERVICE
tristate "Intel Stratix10 Service Layer"
depends on HAVE_ARM_SMCCC
depends on (ARCH_STRATIX10 && HAVE_ARM_SMCCC) || COMPILE_TEST
default n
help
Intel Stratix10 service layer runs at privileged exception level,