boot: sandbox: Rename host_bootdev.c

This filename is confusing since it is actually for the sandbox hostfs,
i.e. access to files on the host filesystem, not the host device which
can be used to bind disk images.

Rename it to hostfs_bootdev.c to make this clearer. Update the driver
name as well.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-05-31 15:22:15 +01:00
parent b11c37615c
commit 847d15cada
2 changed files with 4 additions and 4 deletions

View File

@@ -9,4 +9,4 @@
# Pavel Bartusek, Sysgo Real-Time Solutions AG, pba@sysgo.de
obj-y := sandboxfs.o
obj-$(CONFIG_$(PHASE_)BOOTSTD) += host_bootdev.o
obj-$(CONFIG_$(PHASE_)BOOTSTD) += hostfs_bootdev.o

View File

@@ -38,7 +38,7 @@ static int host_get_bootflow(struct udevice *dev, struct bootflow_iter *iter,
return 0;
}
struct bootdev_ops host_bootdev_ops = {
static struct bootdev_ops host_bootdev_ops = {
.get_bootflow = host_get_bootflow,
};
@@ -47,8 +47,8 @@ static const struct udevice_id host_bootdev_ids[] = {
{ }
};
U_BOOT_DRIVER(host_bootdev) = {
.name = "host_bootdev",
U_BOOT_DRIVER(hostfs_bootdev) = {
.name = "hostfs_bootdev",
.id = UCLASS_BOOTDEV,
.ops = &host_bootdev_ops,
.of_match = host_bootdev_ids,