mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
fs: separate CONFIG_FS_{FAT, EXT4} from CONFIG_CMD_{FAT, EXT*}
This makes the FAT and ext4 filesystem implementations build if CONFIG_FS_{FAT,EXT4} are defined, rather than basing the build on whether CONFIG_CMD_{FAT,EXT*} are defined. This will allow the filesystems to be built separately from the filesystem-specific commands that use them. This paves the way for the creation of filesystem-generic commands that used the filesystems, without requiring the filesystem- specific commands. Minor documentation changes are made for this change. The new config options are automatically selected by the old config options to retain backwards-compatibility. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
This commit is contained in:
parent
672ee2110c
commit
03e2ecf6b8
9 changed files with 38 additions and 13 deletions
|
@ -56,7 +56,7 @@ int ext4fs_indir3_blkno = -1;
|
|||
struct ext2_inode *g_parent_inode;
|
||||
static int symlinknest;
|
||||
|
||||
#if defined(CONFIG_CMD_EXT4_WRITE)
|
||||
#if defined(CONFIG_EXT4_WRITE)
|
||||
uint32_t ext4fs_div_roundup(uint32_t size, uint32_t n)
|
||||
{
|
||||
uint32_t res = size / n;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue