Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot-2015.04
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vesta
u-boot-2015.04
Commits
a4f24345
Commit
a4f24345
authored
16 years ago
by
Bartlomiej Sieka
Committed by
Wolfgang Denk
16 years ago
Browse files
Options
Downloads
Patches
Plain Diff
FIT: make iminfo check hashes of all images in FIT, return 1 on failed check
Signed-off-by:
Bartlomiej Sieka
<
tur@semihalf.com
>
parent
919f550d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/cmd_bootm.c
+6
-0
6 additions, 0 deletions
common/cmd_bootm.c
with
6 additions
and
0 deletions
common/cmd_bootm.c
+
6
−
0
View file @
a4f24345
...
@@ -854,6 +854,12 @@ static int image_info (ulong addr)
...
@@ -854,6 +854,12 @@ static int image_info (ulong addr)
}
}
fit_print_contents
(
hdr
);
fit_print_contents
(
hdr
);
if
(
!
fit_all_image_check_hashes
(
hdr
))
{
puts
(
"Bad hash in FIT image!
\n
"
);
return
1
;
}
return
0
;
return
0
;
#endif
#endif
default:
default:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment