summaryrefslogtreecommitdiff
path: root/test/cmd_ut.c
diff options
context:
space:
mode:
authorEvgeny Bachinin <EABachinin@salutedevices.com>2024-12-02 16:45:25 +0300
committerTom Rini <trini@konsulko.com>2024-12-18 15:19:16 -0600
commit90856d695f2f34cf5eb74c90a8b3a6cfe4932356 (patch)
tree5ea81bcb727c5ec130a404b3261c8dacd6c57352 /test/cmd_ut.c
parent6970eeb78858478d62fc96859f29c28376f9c5e1 (diff)
test: sandbox: fix link error with do_ut_bootm if BLOBLIST=n
Having CONFIG_OF_EMBED=y && CONFIG_BLOBLIST=n leads to the link error: ``` ld: /tmp/ccwtRVty.ltrans28.ltrans.o:(.data.rel+0x4e8): undefined \ reference to `do_ut_bootm' ``` Fixes: fe158657a5b ("test: inconsistent bootm tests") Signed-off-by: Evgeny Bachinin <EABachinin@salutedevices.com>
Diffstat (limited to 'test/cmd_ut.c')
-rw-r--r--test/cmd_ut.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cmd_ut.c b/test/cmd_ut.c
index 842c2c3e7f6..a14dbf4ca5e 100644
--- a/test/cmd_ut.c
+++ b/test/cmd_ut.c
@@ -107,9 +107,9 @@ static struct cmd_tbl cmd_ut_sub[] = {
#if CONFIG_IS_ENABLED(BLOBLIST)
U_BOOT_CMD_MKENT(bloblist, CONFIG_SYS_MAXARGS, 1, do_ut_bloblist,
"", ""),
-#endif
U_BOOT_CMD_MKENT(bootm, CONFIG_SYS_MAXARGS, 1, do_ut_bootm, "", ""),
#endif
+#endif
#ifdef CONFIG_CMD_ADDRMAP
U_BOOT_CMD_MKENT(addrmap, CONFIG_SYS_MAXARGS, 1, do_ut_addrmap, "", ""),
#endif