image: Create a table of information for each category
authorSimon Glass <sjg@chromium.org>
Thu, 30 Jun 2016 16:52:14 +0000 (10:52 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 14 Jul 2016 22:22:29 +0000 (18:22 -0400)
commit56d7ab74767c60c4ec48061864df0c421e4799e7
tree56870ba61b51e06a02a814bb1393f2baa1c7dfbe
parent555f45d8f9168b09b406a241e7cee7980104d902
image: Create a table of information for each category

Add a table that contains the category name, the number of items in each
category and a pointer to the table of items. This will allow us to use
generic code to deal with the categories.

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