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:
@@ -9,4 +9,4 @@
|
|||||||
# Pavel Bartusek, Sysgo Real-Time Solutions AG, pba@sysgo.de
|
# Pavel Bartusek, Sysgo Real-Time Solutions AG, pba@sysgo.de
|
||||||
|
|
||||||
obj-y := sandboxfs.o
|
obj-y := sandboxfs.o
|
||||||
obj-$(CONFIG_$(PHASE_)BOOTSTD) += host_bootdev.o
|
obj-$(CONFIG_$(PHASE_)BOOTSTD) += hostfs_bootdev.o
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ static int host_get_bootflow(struct udevice *dev, struct bootflow_iter *iter,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct bootdev_ops host_bootdev_ops = {
|
static struct bootdev_ops host_bootdev_ops = {
|
||||||
.get_bootflow = host_get_bootflow,
|
.get_bootflow = host_get_bootflow,
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -47,8 +47,8 @@ static const struct udevice_id host_bootdev_ids[] = {
|
|||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
|
||||||
U_BOOT_DRIVER(host_bootdev) = {
|
U_BOOT_DRIVER(hostfs_bootdev) = {
|
||||||
.name = "host_bootdev",
|
.name = "hostfs_bootdev",
|
||||||
.id = UCLASS_BOOTDEV,
|
.id = UCLASS_BOOTDEV,
|
||||||
.ops = &host_bootdev_ops,
|
.ops = &host_bootdev_ops,
|
||||||
.of_match = host_bootdev_ids,
|
.of_match = host_bootdev_ids,
|
||||||
Reference in New Issue
Block a user