diff options
author | Marian Balakowicz <m8@semihalf.com> | 2008-03-12 10:33:00 +0100 |
---|---|---|
committer | Marian Balakowicz <m8@semihalf.com> | 2008-03-12 10:33:00 +0100 |
commit | 424c4abdd175d2c470510df8ce0e32d3f463ec16 (patch) | |
tree | 83e552c0562b334d934376eb717229e118f6db66 /include | |
parent | cd7c596e9f561dbbc17b717277438aee78cde14f (diff) | |
download | u-boot-imx-424c4abdd175d2c470510df8ce0e32d3f463ec16.zip u-boot-imx-424c4abdd175d2c470510df8ce0e32d3f463ec16.tar.gz u-boot-imx-424c4abdd175d2c470510df8ce0e32d3f463ec16.tar.bz2 |
[new uImage] Add new uImage format support to autoscript routine
autoscript() routine is updated to accept second argument, which
is only used for FIT images and provides a FIT subimage unit name.
autoscript() routine callers must now pass two arguments. For
non-interactive use (like in cmd_load.c, cmd_net.c), new environment
variable 'autoscript_uname' is introduced and used as a FIT
subimage unit name source.
autoscript command accepts extended syntax of the addr argument:
addr:<subimg_uname>
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h index 3f05b5e..3351e2c 100644 --- a/include/common.h +++ b/include/common.h @@ -222,7 +222,7 @@ int mac_read_from_eeprom(void); void flash_perror (int); /* common/cmd_autoscript.c */ -int autoscript (ulong addr); +int autoscript (ulong addr, const char *fit_uname); extern ulong load_addr; /* Default Load Address */ |