diff options
author | Simon Glass <sjg@chromium.org> | 2016-06-30 19:52:14 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-07-15 01:22:29 +0300 |
commit | 56d7ab74767c60c4ec48061864df0c421e4799e7 (patch) | |
tree | 56870ba61b51e06a02a814bb1393f2baa1c7dfbe /include/image.h | |
parent | 555f45d8f9168b09b406a241e7cee7980104d902 (diff) | |
download | u-boot-56d7ab74767c60c4ec48061864df0c421e4799e7.tar.xz |
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>
Diffstat (limited to 'include/image.h')
-rw-r--r-- | include/image.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/image.h b/include/image.h index 7646daec5c..5879ebcd7a 100644 --- a/include/image.h +++ b/include/image.h @@ -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 */ |