From: Sean Anderson <seanga2@gmail.com>
Date: Sat, 14 Oct 2023 20:47:48 +0000 (-0400)
Subject: fs: Disable sandbox filesystem in SPL
X-Git-Tag: v2025.01-rc5-pxa1908~818^2~17
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/login.html?a=commitdiff_plain;h=c39d22c337c7e25c07fff6dcd54b9a96cfcd9687;p=u-boot.git

fs: Disable sandbox filesystem in SPL

Don't bother compiling the sandbox filesystem in SPL for now, as it is not
needed.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
---

diff --git a/fs/fs.c b/fs/fs.c
index cfc781bbb8..4cb4310c9c 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -237,7 +237,7 @@ static struct fstype_info fstypes[] = {
 		.mkdir = fs_mkdir_unsupported,
 	},
 #endif
-#ifdef CONFIG_SANDBOX
+#if IS_ENABLED(CONFIG_SANDBOX) && !IS_ENABLED(CONFIG_SPL_BUILD)
 	{
 		.fstype = FS_TYPE_SANDBOX,
 		.name = "sandbox",