diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-11-02 10:04:57 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-11-02 13:03:40 -0400 |
commit | 209aeff5b147e051a8841f64e64f5d0c04646349 (patch) | |
tree | 71827b466e41fd13f6883c0381421c0943c585d8 /firmware/common/disk.c | |
parent | fa4bdf5744ff018c187e75471741514f1ab6a1db (diff) | |
download | rockbox-209aeff5b147e051a8841f64e64f5d0c04646349.tar.gz rockbox-209aeff5b147e051a8841f64e64f5d0c04646349.zip |
usb: Multiple improvements:
* Support varying-sized logical sectors in a single build, instead
of a hardcoded SECTOR_SIZE.
* Properly truncate READ CAPACITY(10) if drive has over 2^32 sectors
And fix potential alignment issues
* Properly truncate READ_FORMAT_CAPACITY if drive has over 2^32 sectors
* Support READ CAPACITY(16)
Change-Id: I744b8629131f9ede31e1a972a6700b2244f2e798
Diffstat (limited to 'firmware/common/disk.c')
0 files changed, 0 insertions, 0 deletions