vbe: Split out reading a FIT into the common file
authorSimon Glass <sjg@chromium.org>
Thu, 16 Jan 2025 01:27:10 +0000 (18:27 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 22 Jan 2025 15:47:49 +0000 (09:47 -0600)
commitea6cfc55e0f244dbdcb8af8eb0fff5db2f77ce6d
tree01a02401620ca96bebc7f4577dc9d44de1e78305
parent0a59dc41999c673017798aeb152c4e49e87aa864
vbe: Split out reading a FIT into the common file

Loading a FIT is useful for other VBE methods, such as ABrec. Create a
new function to handling reading it.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/vbe_common.c
boot/vbe_common.h
boot/vbe_simple_fw.c