ide: Use a flag for an ATAPI device
authorSimon Glass <sjg@chromium.org>
Fri, 12 Aug 2022 01:34:53 +0000 (19:34 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 16 Sep 2022 15:05:16 +0000 (11:05 -0400)
commit606e0542b591efa5cf2927dfbfe9569c7264b01a
tree2065994bf47b88d706053fe46b30131dcdbd3ba3
parent1c2e255334a222dc4070afff13a8b985ec9bb1b2
ide: Use a flag for an ATAPI device

Rather than setting a different interface type, use a flag to indicate
that a device is ATAPI.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/block/ide.c