aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2021-02-17 17:31:47 +0800
committerSimon Glass <sjg@chromium.org>2021-03-22 19:23:26 +1300
commit3a03553aaaaee68c0807867a7ff518146c19d10e (patch)
tree8fa5ffe45289bfd1a9ca482d725e4d89ba2faeba
parentf0d04972973e1a35a8b4de997b0ec4aede526b7d (diff)
downloadu-boot-3a03553aaaaee68c0807867a7ff518146c19d10e.zip
u-boot-3a03553aaaaee68c0807867a7ff518146c19d10e.tar.gz
u-boot-3a03553aaaaee68c0807867a7ff518146c19d10e.tar.bz2
test: print_ut: Fix potential build error
This files uses the macro U_BOOT_CMD which is defined in command.h, but command.h is conditionally included. Fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--test/print_ut.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/print_ut.c b/test/print_ut.c
index a456a44..61ea432 100644
--- a/test/print_ut.c
+++ b/test/print_ut.c
@@ -6,8 +6,8 @@
#define DEBUG
#include <common.h>
-#if CONFIG_IS_ENABLED(EFI_LOADER) && !defined(API_BUILD)
#include <command.h>
+#if CONFIG_IS_ENABLED(EFI_LOADER) && !defined(API_BUILD)
#include <efi_api.h>
#endif
#include <display_options.h>