commit | 96f37b092fdbb604e43c313265995d72ff1a82fe | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Jul 05 16:32:59 2021 -0600 |
committer | Simon Glass <sjg@chromium.org> | Wed Jul 21 10:27:35 2021 -0600 |
tree | 45bb72df5da51250ee48c59efe11c9369bb418e2 | |
parent | 6b165ab2b7b1dc89357afbe86c1977addf5aed3b [diff] |
blk: Support iteration It is useful to be able to iterate over block devices. Typically there are fixed and removable devices. For security reasons it is sometimes useful to ignore removable devices since they are under user control. Add iterators which support selecting the block-device type. Signed-off-by: Simon Glass <sjg@chromium.org>