summaryrefslogtreecommitdiff
path: root/test/boot
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-07-12 09:04:34 -0600
committerBin Meng <bmeng@tinylab.org>2023-07-16 23:13:17 +0800
commitf4a91655c36a1a5fad2ea879ff3ab9217cd21337 (patch)
treea395cc77bb228bdc7de746688502a3b04e1e2ac2 /test/boot
parent2270c3639ae355e298f245ec1c9ba9f560bc7e5c (diff)
downloadu-boot-f4a91655c36a1a5fad2ea879ff3ab9217cd21337.tar.gz
u-boot-f4a91655c36a1a5fad2ea879ff3ab9217cd21337.tar.bz2
u-boot-f4a91655c36a1a5fad2ea879ff3ab9217cd21337.zip
bootstd: Allow storing the OS command line in the bootflow
Some operating systems have a command line which can be adjusted before booting. Store this in the bootflow so it can be controlled within U-Boot. Fix up the example output while we are here, since there are a few new items. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'test/boot')
-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 2b5f87d7f0..f7ebf9d7f2 100644
--- a/test/boot/bootflow.c
+++ b/test/boot/bootflow.c
@@ -226,6 +226,7 @@ static int bootflow_cmd_info(struct unit_test_state *uts)
ut_assert_nextlinen("Buffer: ");
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("Cmdline: (none)");
ut_assert_nextline("Logo: (none)");
ut_assert_nextline("FDT: <NULL>");
ut_assert_nextline("Error: 0");