diff options
author | Simon Glass <sjg@chromium.org> | 2016-02-29 15:25:40 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-03-14 15:34:50 -0600 |
commit | 5ec4f1a5f35dc71881f88c84176c568308133640 (patch) | |
tree | 568dfc65217bd2241301461b1dafd0c2929479a4 /cmd/dfu.c | |
parent | 1a73661bc7a7ad2d741f7d7519872ca18231598c (diff) | |
download | u-boot-imx-5ec4f1a5f35dc71881f88c84176c568308133640.zip u-boot-imx-5ec4f1a5f35dc71881f88c84176c568308133640.tar.gz u-boot-imx-5ec4f1a5f35dc71881f88c84176c568308133640.tar.bz2 |
dm: blk: Convert interface type to an enum
Since these are sequentially numbered it makes sense to use an enum. It
avoids having to maintain the maximum value, and provides a type we can use
if it is useful.
In fact the maximum value is not used. Rename it to COUNT, since MAX suggests
it is the maximum valid value, but it is not.
Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'cmd/dfu.c')
0 files changed, 0 insertions, 0 deletions