1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-22 10:31:56 +02:00

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>
This commit is contained in:
Simon Glass
2016-06-30 10:52:14 -06:00
committed by Tom Rini
parent 555f45d8f9
commit 56d7ab7476
2 changed files with 22 additions and 0 deletions

View File

@@ -123,6 +123,15 @@ struct lmb;
# define IMAGE_OF_SYSTEM_SETUP 0
#endif
enum ih_category {
IH_ARCH,
IH_COMP,
IH_OS,
IH_TYPE,
IH_COUNT,
};
/*
* Operating System Codes
*/