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 a456a44..5b0a46d 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>