]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
fs: Disable sandbox filesystem in SPL
authorSean Anderson <seanga2@gmail.com>
Sat, 14 Oct 2023 20:47:48 +0000 (16:47 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 18 Oct 2023 00:50:52 +0000 (20:50 -0400)
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>
fs/fs.c

diff --git a/fs/fs.c b/fs/fs.c
index cfc781bbb8d810dd50ae518abe0278b4b21c804a..4cb4310c9cc2bcac9f7bb366039b6e4f99d77e39 100644 (file)
--- 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",