[PATCH v2] 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")
Signed-off-by: Sean Anderson seanga2@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>

On Fri, 26 Mar 2021 at 15:02, Sean Anderson seanga2@gmail.com wrote:
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
Changes in v2:
- Remove ifdef
test/print_ut.c | 2 -- 1 file changed, 2 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org

On Thu, Mar 25, 2021 at 10:02:28PM -0400, Sean Anderson wrote:
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
Applied to u-boot/master, thanks!
participants (3)
-
Sean Anderson
-
Simon Glass
-
Tom Rini