common: image: minimal android image iminfo support
We already support iminfo for other images. The idea of this patch is start to have a minimal support for android image format. We still need to print id[] array Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Tom Rini
parent
f8f9107d97
commit
4f1318b29c
@@ -275,6 +275,12 @@ static int image_info(ulong addr)
|
||||
puts("OK\n");
|
||||
return 0;
|
||||
#endif
|
||||
#if defined(CONFIG_ANDROID_BOOT_IMAGE)
|
||||
case IMAGE_FORMAT_ANDROID:
|
||||
puts(" Android image found\n");
|
||||
android_print_contents(hdr);
|
||||
return 0;
|
||||
#endif
|
||||
#if defined(CONFIG_FIT)
|
||||
case IMAGE_FORMAT_FIT:
|
||||
puts(" FIT image found\n");
|
||||
|
||||
Reference in New Issue
Block a user