diff options
| author | Simon Glass <[email protected]> | 2023-04-25 10:54:51 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-04-27 13:51:07 -0400 |
| commit | 49aa778406a28f45dafdeb6df30f7f378ccb3925 (patch) | |
| tree | 0954975e55a10550a7e4cec41e53f9d53d1acced /doc/develop | |
| parent | d7d57436e7a65cb724d04d987cd00428aea995a5 (diff) | |
ide: Correct LBA setting
Fix a longstanding bug where the LBA is calculated as the size of the
media instead of the number of blocks. This was perhaps not noticed
earlier since it prints the correct value first, before setting the wrong
value.
Drop the unnecessary blksz variable while we are here.
Signed-off-by: Simon Glass <[email protected]>
Fixes: 68e6f221ed0 ("block: ide: Fix block read/write with driver model")
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions
