Thread (25 messages) 25 messages, 7 authors, 2023-03-10
STALE1177d

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

From: Alexey Romanov <hidden>
Date: 2023-02-22 11:50:51
Also in: linux-amlogic, linux-devicetree, lkml
Subsystem: the rest · Maintainer: Linus Torvalds

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 <redacted>
---
 drivers/firmware/meson/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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
-- 
2.38.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help