]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
bootm: test: Move test into boot
authorSimon Glass <sjg@chromium.org>
Sat, 2 Nov 2024 19:36:54 +0000 (13:36 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 13 Nov 2024 17:56:01 +0000 (11:56 -0600)
This test doesn't belong at the top level. Move it into the boot/
directory, to match its implementation.

This test is currently dependent on bloblist, but the real dependency is
on sandbox, so update that.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Tom Rini <trini@konsulko.com> # rpi_3, rpi_4, rpi_arm64, am64x_evm_a53, am64-sk
test/Makefile
test/boot/Makefile
test/boot/bootm.c [moved from test/bootm.c with 100% similarity]

index 48d8bc91ae6ac7857d88630d790fcb238ee47c31..4366e495a15be5b142270e461a18ab4a91fff8e7 100644 (file)
@@ -4,9 +4,6 @@
 
 obj-y += test-main.o
 
-ifneq ($(CONFIG_$(XPL_)BLOBLIST),)
-obj-$(CONFIG_$(XPL_)CMDLINE) += bootm.o
-endif
 obj-$(CONFIG_$(XPL_)CMDLINE) += cmd/
 obj-$(CONFIG_$(XPL_)CMDLINE) += cmd_ut.o
 obj-y += dm/
index d8eded20d4ff56f371f29f15fa22706a1380669d..63487e8d29e4f4836e26e61b04dcec513b08cce7 100644 (file)
@@ -10,6 +10,9 @@ obj-$(CONFIG_EXPO) += expo.o
 obj-$(CONFIG_CEDIT) += cedit.o
 endif
 
+ifdef CONFIG_SANDBOX
+obj-$(CONFIG_$(XPL_)CMDLINE) += bootm.o
+endif
 obj-$(CONFIG_MEASURED_BOOT) += measurement.o
 
 ifdef CONFIG_OF_LIVE
similarity index 100%
rename from test/bootm.c
rename to test/boot/bootm.c