diff mbox series

[v1,2/3] firmware: meson: use CONFIG_MESON_SM with CONFIG_ARM

Message ID 20230222115020.55867-3-avromanov@sberdevices.ru (mailing list archive)
State New, archived
Headers show
Series Meson A1 32-bit support | expand

Commit Message

Alexey Romanov Feb. 22, 2023, 11:50 a.m. UTC
Meson SM driver has one strong disturbing requirement.
It's size of the memory page, it should be equal to 4K.
ARM 32-bit arch always uses 4K page and doesn't support
bigger sizes. So it's not a stop factor.

Anyway, meson sm driver was tested in the meson-a1 ARM
board and it works correctly.

Signed-off-by: Alexey Romanov <avromanov@sberdevices.ru>
---
 drivers/firmware/meson/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/firmware/meson/Kconfig b/drivers/firmware/meson/Kconfig
index f2fdd3756648..20303b7394fb 100644
--- a/drivers/firmware/meson/Kconfig
+++ b/drivers/firmware/meson/Kconfig
@@ -6,6 +6,6 @@  config MESON_SM
 	tristate "Amlogic Secure Monitor driver"
 	depends on ARCH_MESON || COMPILE_TEST
 	default y
-	depends on ARM64_4K_PAGES
+	depends on ARM || ARM64_4K_PAGES
 	help
 	  Say y here to enable the Amlogic secure monitor driver