Files
u-boot/fs/ext4l/interface.c
Simon Glass 7c5788a85d ext4l: Add CONFIG_FS_EXT4L build infrastructure
Add the basic build infrastructure for the ext4l filesystem:

- Add FS_EXT4L Kconfig option in fs/ext4l/Kconfig
- Add ext4l to fs/Kconfig and fs/Makefile
- Add fstype_info entry in fs_legacy.c with unsupported stubs
- Add minimal interface.c with stub probe/close functions

This allows sandbox to build with CONFIG_FS_EXT4L=y. The filesystem
doesn't work yet - all operations return unsupported.

Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
2025-12-18 12:34:16 -07:00

21 lines
402 B
C

// SPDX-License-Identifier: GPL-2.0+
/*
* U-Boot interface for ext4l filesystem (Linux port)
*
* This provides the minimal interface between U-Boot and the ext4l driver.
* Currently just stubs - the filesystem doesn't work yet.
*/
#include <blk.h>
#include <part.h>
int ext4l_probe(struct blk_desc *fs_dev_desc,
struct disk_partition *fs_partition)
{
return -1;
}
void ext4l_close(void)
{
}