[PATCH] fs/jffs2: Make depend on !64BIT

Tom Rini trini at konsulko.com
Wed Nov 12 22:19:42 CET 2025


Building this code on 64bit platforms leads to warnings (and so errors
in CI). Rather than rework the code, as this is a deprecated filesystem,
don't try and disallow building on 64bit hosts.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 cmd/Kconfig      | 1 +
 fs/jffs2/Kconfig | 1 +
 2 files changed, 2 insertions(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 5b9c13d85e76..278c6eaf0f3e 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -2912,6 +2912,7 @@ config CMD_FS_UUID
 
 config CMD_JFFS2
 	bool "jffs2 command"
+	depends on !64BIT
 	select FS_JFFS2
 	help
 	  Enables commands to support the JFFS2 (Journalling Flash File System
diff --git a/fs/jffs2/Kconfig b/fs/jffs2/Kconfig
index 3bf01cd03137..dede59ee3362 100644
--- a/fs/jffs2/Kconfig
+++ b/fs/jffs2/Kconfig
@@ -1,5 +1,6 @@
 config FS_JFFS2
 	bool "Enable JFFS2 filesystem support"
+	depends on !64BIT
 	help
 	  This provides support for reading images from JFFS2 (Journalling
 	  Flash File System version 2). JFFS2 is a log-structured file system
-- 
2.43.0



More information about the U-Boot mailing list