mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
fit: Add standalone image type handling
Just add IH_TYPE_STANDALONE to fit_get_image_type_property(). Signed-off-by: Marek Vasut <marex@denx.de> Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
a3c43b129e
commit
0298d20375
2 changed files with 3 additions and 0 deletions
|
@ -1725,6 +1725,8 @@ static const char *fit_get_image_type_property(int type)
|
|||
return FIT_LOADABLE_PROP;
|
||||
case IH_TYPE_FPGA:
|
||||
return FIT_FPGA_PROP;
|
||||
case IH_TYPE_STANDALONE:
|
||||
return FIT_STANDALONE_PROP;
|
||||
}
|
||||
|
||||
return "unknown";
|
||||
|
|
|
@ -922,6 +922,7 @@ int booti_setup(ulong image, ulong *relocated_addr, ulong *size);
|
|||
#define FIT_SETUP_PROP "setup"
|
||||
#define FIT_FPGA_PROP "fpga"
|
||||
#define FIT_FIRMWARE_PROP "firmware"
|
||||
#define FIT_STANDALONE_PROP "standalone"
|
||||
|
||||
#define FIT_MAX_HASH_LEN HASH_MAX_DIGEST_SIZE
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue