image: Add functions to obtain category information
authorSimon Glass <sjg@chromium.org>
Thu, 30 Jun 2016 16:52:16 +0000 (10:52 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 14 Jul 2016 22:22:30 +0000 (18:22 -0400)
commit1426220b0e7b09ecc6a0da5f831287776a89a92c
treed428c6b3f35190b1c4222f40069cc34f857e5ad4
parent30495bff35d5a5134bc182fa51728acf69420158
image: Add functions to obtain category information

Add generic functions which can look up information about a category:

- the number of items in the category
- the category description
- an item long time
- an item short time

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