Skip to contentSkip to conversation

dm: test: Always include command.h for print_ut

PATCH New Sean Anderson 3 participants 3 messages Mar 26, 2021 – Mar 29, 2021

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dm: test: Always include command.h for print_ut

We need this header for U_BOOT_CMD, which is always present even without EFI.

Fixes 82c468a049 ("dm: test: Update Makefile conditions")

---

Changes in v2:
- Remove ifdef

 test/print_ut.c | 2 --
 1 file changed, 2 deletions(-)
test/print_ut.c +0 -2
index a456a449ef..5b0a46de9c 100644
@@ -6,10 +6,8 @@
 #define DEBUG
 
 #include <common.h>
-#if CONFIG_IS_ENABLED(EFI_LOADER) && !defined(API_BUILD)
 #include <command.h>
 #include <efi_api.h>
-#endif
 #include <display_options.h>
 #include <log.h>
 #include <version.h>
Signature · 1 line
2.31.0
#1 lore raw

PATCH v2 1/1 dm: test: Always include command.h for print_ut

Quoted 6 lines · Sean Anderson

We need this header for U_BOOT_CMD, which is always present even without EFI.

Fixes 82c468a049 ("dm: test: Update Makefile conditions")
Quoted 8 lines

---

Changes in v2:
- Remove ifdef

 test/print_ut.c | 2 --
 1 file changed, 2 deletions(-)
#2 lore raw

PATCH v2 1/1 dm: test: Always include command.h for print_ut

In reply to Sean Anderson
Quoted 7 lines · Sean Anderson

We need this header for U_BOOT_CMD, which is always present even without EFI.

Fixes 82c468a049 ("dm: test: Update Makefile conditions")

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210328/601d2598/attachment.sig>