summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-04-02 22:37:23 -0400
committerTom Rini <trini@konsulko.com>2024-04-02 22:37:23 -0400
commitcdfcc37428e06f4730ab9a17cc084eeb7676ea1a (patch)
treec5e0e9ced139a372a222ed46d6c652947f9ec826 /cmd
parent72b089bcaac5be5c8c570db725cda8cf22154929 (diff)
parent12ac51cdb788b9f8e50cbc4fa3681102882ade33 (diff)
downloadu-boot-cdfcc37428e06f4730ab9a17cc084eeb7676ea1a.tar.gz
u-boot-cdfcc37428e06f4730ab9a17cc084eeb7676ea1a.tar.bz2
u-boot-cdfcc37428e06f4730ab9a17cc084eeb7676ea1a.zip
Merge tag 'u-boot-dfu-next-20240402' of https://source.denx.de/u-boot/custodians/u-boot-dfu
u-boot-dfu-next-20240402 - Implement Qualcomm wrapper for dwc3 - Multiple sector size support for UMS - CDC ACM gadget initialization fix - Refactor board code from dwc3 to prepare better interrupt support - Bugfix for for qcom-smmu when compiling with -DDEBUG
Diffstat (limited to 'cmd')
-rw-r--r--cmd/usb_mass_storage.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/cmd/usb_mass_storage.c b/cmd/usb_mass_storage.c
index a8ddeb4946..751701fe73 100644
--- a/cmd/usb_mass_storage.c
+++ b/cmd/usb_mass_storage.c
@@ -88,10 +88,6 @@ static int ums_init(const char *devtype, const char *devnums_part_str)
if (!strchr(devnum_part_str, ':'))
partnum = 0;
- /* f_mass_storage.c assumes SECTOR_SIZE sectors */
- if (block_dev->blksz != SECTOR_SIZE)
- goto cleanup;
-
ums_new = realloc(ums, (ums_count + 1) * sizeof(*ums));
if (!ums_new)
goto cleanup;