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>
This commit is contained in:
parent
d9da1785ec
commit
4a434abc40
|
@ -3,8 +3,9 @@
|
||||||
# Amlogic Secure Monitor driver
|
# Amlogic Secure Monitor driver
|
||||||
#
|
#
|
||||||
config MESON_SM
|
config MESON_SM
|
||||||
bool
|
tristate "Amlogic Secure Monitor driver"
|
||||||
default ARCH_MESON
|
depends on ARCH_MESON || COMPILE_TEST
|
||||||
|
default y
|
||||||
depends on ARM64_4K_PAGES
|
depends on ARM64_4K_PAGES
|
||||||
help
|
help
|
||||||
Say y here to enable the Amlogic secure monitor driver
|
Say y here to enable the Amlogic secure monitor driver
|
||||||
|
|
|
@ -331,3 +331,4 @@ static struct platform_driver meson_sm_driver = {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
module_platform_driver_probe(meson_sm_driver, meson_sm_probe);
|
module_platform_driver_probe(meson_sm_driver, meson_sm_probe);
|
||||||
|
MODULE_LICENSE("GPL v2");
|
||||||
|
|
Loading…
Reference in New Issue