[PATCH v2] dm: test: Always include command.h for print_ut
Sean Anderson
seanga2 at gmail.com
Fri Mar 26 03:02:28 CET 2021
We need this header for U_BOOT_CMD, which is always present even without
EFI.
Fixes: 82c468a049 ("dm: test: Update Makefile conditions")
Signed-off-by: Sean Anderson <seanga2 at gmail.com>
---
Changes in v2:
- Remove ifdef
test/print_ut.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/test/print_ut.c b/test/print_ut.c
index a456a449ef..5b0a46de9c 100644
--- a/test/print_ut.c
+++ b/test/print_ut.c
@@ -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>
--
2.31.0
More information about the U-Boot
mailing list