cbfstool: Move cbfs_file_get_header to fit.c
commit1ac194e14a90563635b0a0a6a82ada87dcb8dbde
authorFurquan Shaikh <furquan@google.com>
Mon, 23 May 2016 15:44:46 +0000 (23 08:44 -0700)
committerMartin Roth <martinroth@google.com>
Thu, 26 May 2016 21:51:08 +0000 (26 23:51 +0200)
tree8954f76e318ecdd56af97d464dc404447288d14f
parentc4ea8f7d3fb56b43482b8abd8405280f50d98864
cbfstool: Move cbfs_file_get_header to fit.c

Since fit.c is the only caller of this function move it out of common.c
and into fit.c.

Change-Id: I64cc31a6d89ee425c5b07745ea5ca9437e2f3fcf
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/14949
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
util/cbfstool/cbfs.h
util/cbfstool/common.c
util/cbfstool/fit.c