image: Split board code out into its own file
authorSimon Glass <sjg@chromium.org>
Sat, 25 Sep 2021 13:03:15 +0000 (07:03 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 8 Oct 2021 19:53:26 +0000 (15:53 -0400)
commit41506ff5a51fb95896683bc8def8dbf53ef93de1
tree9a59fa4678ae9b419f36be4da36d9bf1204d3778
parent458b30af66cd41ca8e6f8a52ea4c09cb50d3413d
image: Split board code out into its own file

To avoid a large #ifdef in the image.c file, move the affected code into
a separate file.

Avoid any style fix-ups for easier review. Those are in the next patch.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/Makefile
common/image-board.c [new file with mode: 0644]
common/image.c