提交 c0543bf6 编写于 作者: S Simon Glass

dm: usb: Add a legacy block interface for USB storage

Add a legacy block interface for USB storage.
Signed-off-by: NSimon Glass <sjg@chromium.org>
上级 0cc65a7c
......@@ -1555,4 +1555,11 @@ U_BOOT_DRIVER(usb_storage_blk) = {
.id = UCLASS_BLK,
.ops = &usb_storage_ops,
};
#else
U_BOOT_LEGACY_BLK(usb) = {
.if_typename = "usb",
.if_type = IF_TYPE_USB,
.max_devs = USB_MAX_STOR_DEV,
.desc = usb_dev_desc,
};
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册