commit | 1f4adab8733b29f81d21f74e2194bd8ddb80e574 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Sun Sep 10 05:12:52 2017 -0700 |
committer | Tom Rini <trini@konsulko.com> | Sun Sep 10 12:27:40 2017 -0400 |
tree | e0ad5d58c49deee613718386ec69bf955cafd84d | |
parent | 68e6f221ed08674374dc397fe52a64817599fce7 [diff] |
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>