qemu: Add a bootdev for qfw
authorSimon Glass <sjg@chromium.org>
Sat, 28 Jan 2023 22:00:24 +0000 (15:00 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 6 Feb 2023 18:04:53 +0000 (13:04 -0500)
commitdd4bd9ad861a15525a77879eb0098ab846286cb2
tree7430c2b07c6bf75bdc40de221d8323f2cea405bc
parent00fa989eab2f75c450477d00e335aa05402e7fe9
qemu: Add a bootdev for qfw

Add a bootdev device for qfw so that it can be used with standard boot.
This simply checks for the correct method and then does the read. Most of
the other logic is handed in a new bootmeth driver.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/misc/qfw.c