Skip to content

Commit

Permalink
firmware: meson-sm: enable build as module
Browse files Browse the repository at this point in the history
Enable secure module driver as module.
Default remains built-in.

Signed-off-by: Kevin Hilman <khilman@baylibre.com>
  • Loading branch information
Kevin Hilman committed Oct 26, 2020
1 parent d9da178 commit 4a434ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/firmware/meson/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions drivers/firmware/meson/meson_sm.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,3 +331,4 @@ static struct platform_driver meson_sm_driver = {
},
};
module_platform_driver_probe(meson_sm_driver, meson_sm_probe);
MODULE_LICENSE("GPL v2");

0 comments on commit 4a434ab

Please sign in to comment.