diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-09-27 16:22:10 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-09-28 09:23:45 +0200 |
commit | d1ffab8f0c1db7ddc51302883f364700e0894edd (patch) | |
tree | 09a41d791cbff7f801f2fa1e83cdce6560e567c5 /include/image.h | |
parent | bd7f9b52e2d44bcdee69b087c5d2d1844263dd6d (diff) | |
download | barebox-d1ffab8f0c1db7ddc51302883f364700e0894edd.tar.gz barebox-d1ffab8f0c1db7ddc51302883f364700e0894edd.tar.xz |
image: add multi image support for bootm
you can choose the initrd via @<num>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/image.h')
-rw-r--r-- | include/image.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/image.h b/include/image.h index d913b21ea3..d34d4320d5 100644 --- a/include/image.h +++ b/include/image.h @@ -188,9 +188,16 @@ typedef struct image_header { uint8_t ih_name[IH_NMLEN]; /* Image Name */ } image_header_t; +struct image_handle_data { + void *data; + ulong len; +}; + struct image_handle { image_header_t header; void *data; + struct image_handle_data *data_entries; + int nb_data_entries; #define IH_MALLOC 1 int flags; }; |