aboutsummaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-09-27 08:22:37 -0600
committerTom Rini <trini@konsulko.com>2023-10-06 14:38:13 -0400
commitbe5951461c23111b343348401defd1d05227a75e (patch)
treedda7de1743f13acd2cb9d63c25223b36400d7860 /boot
parent14d9f63dcf88ab4e096496aa15898df1392aef0c (diff)
downloadu-boot-be5951461c23111b343348401defd1d05227a75e.zip
u-boot-be5951461c23111b343348401defd1d05227a75e.tar.gz
u-boot-be5951461c23111b343348401defd1d05227a75e.tar.bz2
command: Include a required header in command.h
This uses ARRAY_SIZE() but does not include the header file which declares it. Fix this, so that command.h can be included without common.h Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Diffstat (limited to 'boot')
-rw-r--r--boot/bootm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/bootm.c b/boot/bootm.c
index b1c3afe..8f96a80 100644
--- a/boot/bootm.c
+++ b/boot/bootm.c
@@ -8,6 +8,7 @@
#include <common.h>
#include <bootstage.h>
#include <cli.h>
+#include <command.h>
#include <cpu_func.h>
#include <env.h>
#include <errno.h>
@@ -29,7 +30,6 @@
#include "mkimage.h"
#endif
-#include <command.h>
#include <bootm.h>
#include <image.h>