]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs: Allow to compile CMD_UBIFS when SPL is enabled
authorPali Rohár <pali@kernel.org>
Tue, 5 Apr 2022 13:49:24 +0000 (15:49 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 14 Apr 2022 19:39:15 +0000 (15:39 -0400)
commitb8617df6d5c8afb74ae8bb4b732a8b56b4f5e9ee
treee0ac006d78607573b9e00c1213a8e7bb56cf15a0
parent5bbaba6e29fc0d92ff0201bd7066c021a6dd8727
fs: Allow to compile CMD_UBIFS when SPL is enabled

Currently there is no UBIFS support in SPL. But macro CONFIG_CMD_UBIFS is
defined also when building SPL. when both CMD_UBIFS and SPL are enabled
then build process throw compile error.

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

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