summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-01-17 20:47:56 +0300
committerTom Rini <trini@konsulko.com>2023-01-24 02:11:40 +0300
commit7638c85190dccc2dfacb86fc3b70deb165337b4b (patch)
tree75c5ef7a384c65309bdfeb2d7b1904a5ce662b10 /test
parent3e18860e3f3425bd2649e62cd2635bd008fe5f4d (diff)
downloadu-boot-7638c85190dccc2dfacb86fc3b70deb165337b4b.tar.xz
bootstd: Include the device tree in the bootflow
Some bootmeths provide a way to load a device tree as well as the base OS image. Add a way to store this in the bootflow. Update the 'bootflow info' command to show this information. Note that the device tree is not allocated, but instead is stored at an address provided by an environment variable. This may need to be adjusted at some point, but for now it works well and fits in with the existing distro-boot scripts. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test')
-rw-r--r--test/boot/bootflow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/boot/bootflow.c b/test/boot/bootflow.c
index f852b6e9b6..b71ec52eb7 100644
--- a/test/boot/bootflow.c
+++ b/test/boot/bootflow.c
@@ -199,6 +199,7 @@ static int bootflow_cmd_info(struct unit_test_state *uts)
ut_assert_nextline("Size: 253 (595 bytes)");
ut_assert_nextline("OS: Fedora-Workstation-armhfp-31-1.9 (5.3.7-301.fc31.armv7hl)");
ut_assert_nextline("Logo: (none)");
+ ut_assert_nextline("FDT: <NULL>");
ut_assert_nextline("Error: 0");
ut_assert_console_end();