Commit
c0543bf6be4bac277d65c601f9150c7faf3d125e
Exists in
v2017.01-smarct4x
and in
26 other branches
8qm-imx_v2020.04_5.4.70_2.3.0, emb_lf_v2022.04, emb_lf_v2023.04, pitx_8mp_lf_v2020.04, smarc-8m-android-10.0.0_2.6.0, smarc-8m-android-11.0.0_2.0.0, smarc-8mp-android-11.0.0_2.0.0, smarc-imx6_v2018.03_4.14.98_2.0.0_ga, smarc-imx7_v2017.03_4.9.11_1.0.0_ga, smarc-imx7_v2018.03_4.14.98_2.0.0_ga, smarc-imx_v2017.03_4.9.11_1.0.0_ga, smarc-imx_v2017.03_4.9.88_2.0.0_ga, smarc-imx_v2017.03_o8.1.0_1.3.0_8m, smarc-imx_v2018.03_4.14.78_1.0.0_ga, smarc-n7.1.2_2.0.0-ga, smarc_8m-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8m-imx_v2019.04_4.19.35_1.1.0, smarc_8m_00d0-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8mm-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8mm-imx_v2019.04_4.19.35_1.1.0, smarc_8mm-imx_v2020.04_5.4.24_2.1.0, smarc_8mp_lf_v2020.04, smarc_8mq-imx_v2020.04_5.4.24_2.1.0, smarc_8mq_lf_v2020.04, v2017.01-smarct3x, v2017.01-smarct3x-emmc
dm: usb: Add a legacy block interface for USB storage
Add a legacy block interface for USB storage.
Signed-off-by: Simon Glass <sjg@chromium.org>
Showing
1 changed file
with
7 additions
and
0 deletions
Side-by-side Diff
... |
... |
@@ -1555,5 +1555,12 @@ |
1555
|
1555 |
.id = UCLASS_BLK, |
1556
|
1556 |
.ops = &usb_storage_ops, |
1557
|
1557 |
}; |
|
1558 |
+#else |
|
1559 |
+U_BOOT_LEGACY_BLK(usb) = { |
|
1560 |
+ .if_typename = "usb", |
|
1561 |
+ .if_type = IF_TYPE_USB, |
|
1562 |
+ .max_devs = USB_MAX_STOR_DEV, |
|
1563 |
+ .desc = usb_dev_desc, |
|
1564 |
+}; |
1558
|
1565 |
#endif |