Signed-off-by: Bartlomiej Sieka <[EMAIL PROTECTED]>
---
 common/cmd_bootm.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index 8dbab02..e537418 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -854,6 +854,12 @@ static int image_info (ulong addr)
                }
 
                fit_print_contents (hdr);
+
+               if (!fit_all_image_check_hashes (hdr)) {
+                       puts ("Bad hash in FIT image!\n");
+                       return 1;
+               }
+
                return 0;
 #endif
        default:
-- 
1.5.3.4

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to