vbe: Add info about the VBE device to the fwupd node
authorSimon Glass <sjg@chromium.org>
Fri, 21 Oct 2022 00:23:14 +0000 (18:23 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 15:04:00 +0000 (11:04 -0400)
commita56f663f07073713042bb0fd08053aeb667e717b
treee2b9b511a30a5d09fb2b56bb29217fb505088ce6
parent4218456b3fac98966a320c3f2db36d543a32ec17
vbe: Add info about the VBE device to the fwupd node

At present we put the driver in the /chosen node in U-Boot. This is a bit
strange, since U-Boot doesn't normally use that node itself. It is better
to put it under the bootstd node.

To make this work we need to copy create the node under /chosen when
fixing up the device tree. Copy over all the properties so that fwupd
knows what to do.

Update the sandbox device tree accordingly.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/test.dts
boot/vbe_simple_os.c
test/boot/vbe_simple.c