| 1f4adab8 | 10-Sep-2017 |
Bin Meng <bmeng.cn@gmail.com> |
block: ide: Don't bother to create BLK device if no CDROM inserted
When there is no CDROM inserted, the block size is zero hence there is no need to create a BLK device for it.
Signed-off-by: Bin M
block: ide: Don't bother to create BLK device if no CDROM inserted
When there is no CDROM inserted, the block size is zero hence there is no need to create a BLK device for it.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|