summaryrefslogtreecommitdiff
path: root/test/cmd_ut.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-11-05 10:33:38 -0700
committerTom Rini <trini@konsulko.com>2020-12-04 16:09:26 -0500
commitf158ba15ee0f9f756193b60420adfdc0a9c1eb96 (patch)
tree7fa87c022e1258306c4c5947e661bcf039bfe7e7 /test/cmd_ut.c
parent96434a76fd254248ded19e95dc967d28e65a5edf (diff)
bootm: Add tests for fixup_silent_linux()
This function currently has no tests. Export it so that we can implement a simple test on sandbox. Use IS_ENABLED() to remove the unused code, instead #ifdef. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/cmd_ut.c')
-rw-r--r--test/cmd_ut.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/cmd_ut.c b/test/cmd_ut.c
index f79109e6f8..fad1c899a4 100644
--- a/test/cmd_ut.c
+++ b/test/cmd_ut.c
@@ -88,6 +88,7 @@ static struct cmd_tbl cmd_ut_sub[] = {
"", ""),
U_BOOT_CMD_MKENT(bloblist, CONFIG_SYS_MAXARGS, 1, do_ut_bloblist,
"", ""),
+ U_BOOT_CMD_MKENT(bootm, CONFIG_SYS_MAXARGS, 1, do_ut_bootm, "", ""),
U_BOOT_CMD_MKENT(str, CONFIG_SYS_MAXARGS, 1, do_ut_str,
"", ""),
#endif