image: Move hash checking into its own function
authorSimon Glass <sjg@chromium.org>
Tue, 7 May 2013 06:11:58 +0000 (06:11 +0000)
committerTom Rini <trini@ti.com>
Tue, 14 May 2013 19:37:25 +0000 (15:37 -0400)
commitab9efc665a5695cc7ff7bcb35b2d6bb5726bb9f3
tree75f327deb9361f4e3217c5c3d6e9deb4f1bfcc00
parentb8da8366500f7a88f1f5117f22f713fe920bcdd9
image: Move hash checking into its own function

The existing function is long and most of the code is indented a long
way. Before adding yet more code, split this out into its own function.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de> (v1)
common/image-fit.c
include/image.h