]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dm: test: Always include command.h for print_ut
authorSean Anderson <seanga2@gmail.com>
Fri, 26 Mar 2021 02:02:28 +0000 (22:02 -0400)
committerTom Rini <trini@konsulko.com>
Sun, 28 Mar 2021 21:30:35 +0000 (17:30 -0400)
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@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/print_ut.c

index a456a449efab784cc4e9e9cb5aee86f78519b822..5b0a46de9c377d32849da28ba0341fe3fbba656b 100644 (file)
@@ -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>