Skip to content
Snippets Groups Projects
Commit 0cc65a7c authored by Simon Glass's avatar Simon Glass
Browse files

dm: sandbox: Add a legacy host block interface


Add a legacy block interface for sandbox host.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 3ef85e37
No related branches found
No related tags found
No related merge requests found
...@@ -239,4 +239,11 @@ U_BOOT_DRIVER(sandbox_host_blk) = { ...@@ -239,4 +239,11 @@ U_BOOT_DRIVER(sandbox_host_blk) = {
.ops = &sandbox_host_blk_ops, .ops = &sandbox_host_blk_ops,
.priv_auto_alloc_size = sizeof(struct host_block_dev), .priv_auto_alloc_size = sizeof(struct host_block_dev),
}; };
#else
U_BOOT_LEGACY_BLK(sandbox_host) = {
.if_typename = "host",
.if_type = IF_TYPE_HOST,
.max_devs = CONFIG_HOST_MAX_DEVICES,
.get_dev = host_get_dev_err,
};
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment