diff options
author | Richard Gong <richard.gong@intel.com> | 2019-01-23 12:06:05 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-31 19:25:24 +0100 |
commit | 095ff29d2b882847f608cf7192361dedc22c0623 (patch) | |
tree | dd4d957992df859e7ff0851e5cafa46f925bd09d /drivers/firmware/Kconfig | |
parent | 57ea974fb8717864e8b7ec679363c5a3298a165e (diff) | |
download | linux-095ff29d2b882847f608cf7192361dedc22c0623.tar.gz linux-095ff29d2b882847f608cf7192361dedc22c0623.tar.bz2 linux-095ff29d2b882847f608cf7192361dedc22c0623.zip |
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>
Diffstat (limited to 'drivers/firmware/Kconfig')
-rw-r--r-- | drivers/firmware/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig index f754578414f0..7e5491aed5c8 100644 --- a/drivers/firmware/Kconfig +++ b/drivers/firmware/Kconfig @@ -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, |