summaryrefslogtreecommitdiffstats
path: root/include/image.h
diff options
context:
space:
mode:
authorMarian Balakowicz <m8@semihalf.com>2008-03-12 10:35:46 +0100
committerMarian Balakowicz <m8@semihalf.com>2008-03-12 10:35:46 +0100
commitf773bea8e11f4a11c388dcee956b2444203e6b65 (patch)
tree7e6e86cd0e17efafe194696eaa87a38d80cf8ae1 /include/image.h
parent2682ce8a4225f23d72bb7fed069e928dd39d34ae (diff)
downloadu-boot-f773bea8e11f4a11c388dcee956b2444203e6b65.tar.gz
u-boot-f773bea8e11f4a11c388dcee956b2444203e6b65.tar.xz
u-boot-f773bea8e11f4a11c388dcee956b2444203e6b65.zip
[new uImage] Add proper ramdisk/FDT handling when FIT configuration is used
Save FIT configuration provied in the first bootm argument and use it when to get ramdisk/FDT subimages when second and third (ramdisk/FDT) arguments are not specified. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Diffstat (limited to 'include/image.h')
-rw-r--r--include/image.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/image.h b/include/image.h
index 51c0c896f6..01095608a4 100644
--- a/include/image.h
+++ b/include/image.h
@@ -206,6 +206,8 @@ typedef struct bootm_headers {
ulong legacy_hdr_valid;
#if defined(CONFIG_FIT)
+ const char *fit_uname_cfg; /* configuration node unit name */
+
void *fit_hdr_os; /* os FIT image header */
const char *fit_uname_os; /* os subimage node unit name */
int fit_noffset_os; /* os subimage node offset */
@@ -251,6 +253,7 @@ int genimg_get_comp_id (const char *name);
#define IMAGE_FORMAT_FIT 0x02 /* new, libfdt based format */
int genimg_get_format (void *img_addr);
+int genimg_has_config (bootm_headers_t *images);
ulong genimg_get_image (ulong img_addr);
int boot_get_ramdisk (int argc, char *argv[], bootm_headers_t *images,