image: Convert the IH_... values to enums
authorSimon Glass <sjg@chromium.org>
Thu, 30 Jun 2016 16:52:13 +0000 (10:52 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 14 Jul 2016 22:22:28 +0000 (18:22 -0400)
commit555f45d8f9168b09b406a241e7cee7980104d902
treedaebc1afebf8915e4ec15d8fb05e7049b07b6f20
parent3a45f38d418eca5f0e515c8b2077c81f4c4012f1
image: Convert the IH_... values to enums

We need to know the number of values of each category (architecture,
compression, OS and image type). To make this value easier to maintain,
convert all values to enums. The count is then automatic.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/image.h