summaryrefslogtreecommitdiff
path: root/drivers/firmware/meson/Kconfig
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2020-09-22 01:11:19 +0300
committerKevin Hilman <khilman@baylibre.com>2020-10-26 23:36:05 +0300
commit4a434abc40d2a0c15032f88e30aeb7ad271ba795 (patch)
treef64e0b3acdf7f67c365361b0512016d18b57ba39 /drivers/firmware/meson/Kconfig
parentd9da1785ec0caed9a52183f994afefff0da25d7e (diff)
downloadlinux-4a434abc40d2a0c15032f88e30aeb7ad271ba795.tar.xz
firmware: meson-sm: enable build as module
Enable secure module driver as module. Default remains built-in. Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'drivers/firmware/meson/Kconfig')
-rw-r--r--drivers/firmware/meson/Kconfig5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/firmware/meson/Kconfig b/drivers/firmware/meson/Kconfig
index 2671dcd0ad92..f2fdd3756648 100644
--- a/drivers/firmware/meson/Kconfig
+++ b/drivers/firmware/meson/Kconfig
@@ -3,8 +3,9 @@
# Amlogic Secure Monitor driver
#
config MESON_SM
- bool
- default ARCH_MESON
+ tristate "Amlogic Secure Monitor driver"
+ depends on ARCH_MESON || COMPILE_TEST
+ default y
depends on ARM64_4K_PAGES
help
Say y here to enable the Amlogic secure monitor driver