mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
This commit is contained in:
@@ -16,7 +16,12 @@
|
||||
#include <test/ut.h>
|
||||
#include "bootstd_common.h"
|
||||
|
||||
/* Basic test of reading nvdata and updating a fwupd node in the device tree */
|
||||
/*
|
||||
* Basic test of reading nvdata and updating a fwupd node in the device tree
|
||||
*
|
||||
* This sets up its own VBE info in the device, using bootstd_setup_for_tests()
|
||||
* then does a VBE fixup and checks that everything is present.
|
||||
*/
|
||||
static int vbe_simple_test_base(struct unit_test_state *uts)
|
||||
{
|
||||
const char *version, *bl_version;
|
||||
|
||||
Reference in New Issue
Block a user