diff options
| author | Simon Glass <[email protected]> | 2023-04-25 10:54:35 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-04-27 13:51:06 -0400 |
| commit | 646deed40b8ffe9aa9c10b86f1addbb4a9788e91 (patch) | |
| tree | bd59bb992dfda8f342bc15a72300d847db2bfa73 /doc/develop | |
| parent | 1486c906230ca61580a65421adb26a24f5128a4e (diff) | |
ide: Correct use of ATAPI
The use of atapi_read() was incorrect dropped. Fix this so that it will
be used when needed. Use a udevice for the first argument of atapi_read()
so it is consistent with ide_read().
This requires much of the ATAPI code to be brought out from behind the
existing #ifdef. It will still be removed by the compiler if it is not
needed.
Add an atapi flag to struct blk_desc so the information can be retained.
Fixes: 145df842b44 ("dm: ide: Add support for driver-model block devices")
Fixes: d0075059e4d ("ide: Drop non-DM code for BLK")
Reviewed-by: Mattijs Korpershoek <[email protected]>
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions
