]> git.baikalelectronics.ru Git - uboot.git/commit
fs: Allow to compile FS_BTRFS when SPL is enabled
authorPali Rohár <pali@kernel.org>
Thu, 7 Apr 2022 12:53:25 +0000 (14:53 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 19 Apr 2022 18:54:15 +0000 (14:54 -0400)
commit625c386452d5591b2642538fb9083122b282f72d
tree1f945f1840e1ebcdec2a4fd233405c5342d72575
parentba5c4c9568a1eff1ba84b4cdd46b131ddab9a81b
fs: Allow to compile FS_BTRFS when SPL is enabled

Currently there is no btrfs support in SPL. But macro CONFIG_FS_BTRFS is
defined also when building SPL. When both FS_BTRFS and SPL are enabled
then build process throw compile error.

Fix check for btrfs code in fstypes[] to allow compiling FS_BTRFS only in
proper U-Boot.

Signed-off-by: Pali Rohár <pali@kernel.org>
fs/fs.c