qemu: Move qfw kernel setup into a common file
authorSimon Glass <sjg@chromium.org>
Sat, 28 Jan 2023 22:00:23 +0000 (15:00 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 6 Feb 2023 18:04:53 +0000 (13:04 -0500)
commit00fa989eab2f75c450477d00e335aa05402e7fe9
tree889f97b33270544bab1ffbc9fcbcf5edbcaa3165
parente08e6ea67d91af6e2c423f5248aaedb82088b897
qemu: Move qfw kernel setup into a common file

This is currently in the cmd/ file but we want to call it from a driver.
Move it into a common place. Tidy up the header-file order while we are
here.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/qfw.c
common/qfw.c
include/qfw.h