diff options
author | Simon Glass | 2020-05-10 11:39:54 -0600 |
---|---|---|
committer | Tom Rini | 2020-05-18 14:53:28 -0400 |
commit | b79fdc76978515fba2c4f3b5b4f2e679c5ff1463 (patch) | |
tree | cf7b3d3cbcdd64f60a0a88edd1f921d7708aebf5 /cmd | |
parent | a595a0e910960ccd4611719d5fb5c279859efaee (diff) |
common: Drop flash.h from common header
Move this uncommon header out of the common header.
Fix up some style problems in flash.h while we are here.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/armflash.c | 1 | ||||
-rw-r--r-- | cmd/cros_ec.c | 1 | ||||
-rw-r--r-- | cmd/flash.c | 1 | ||||
-rw-r--r-- | cmd/jffs2.c | 1 | ||||
-rw-r--r-- | cmd/mvebu/bubt.c | 1 | ||||
-rw-r--r-- | cmd/sf.c | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/cmd/armflash.c b/cmd/armflash.c index 6872b0dde3d..f82f3dd1a37 100644 --- a/cmd/armflash.c +++ b/cmd/armflash.c @@ -8,6 +8,7 @@ #include <common.h> #include <command.h> #include <console.h> +#include <flash.h> #include <asm/io.h> #define MAX_REGIONS 4 diff --git a/cmd/cros_ec.c b/cmd/cros_ec.c index 9e2f1b06f3c..c6bbed9c4a2 100644 --- a/cmd/cros_ec.c +++ b/cmd/cros_ec.c @@ -10,6 +10,7 @@ #include <command.h> #include <cros_ec.h> #include <dm.h> +#include <flash.h> #include <dm/device-internal.h> #include <dm/uclass-internal.h> diff --git a/cmd/flash.c b/cmd/flash.c index 230d8408a4d..df97fe740d8 100644 --- a/cmd/flash.c +++ b/cmd/flash.c @@ -9,6 +9,7 @@ */ #include <common.h> #include <command.h> +#include <uuid.h> #if defined(CONFIG_CMD_MTDPARTS) #include <jffs2/jffs2.h> diff --git a/cmd/jffs2.c b/cmd/jffs2.c index da2580d85d7..748a73e2af9 100644 --- a/cmd/jffs2.c +++ b/cmd/jffs2.c @@ -73,6 +73,7 @@ #include <common.h> #include <command.h> #include <env.h> +#include <flash.h> #include <image.h> #include <malloc.h> #include <jffs2/jffs2.h> diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.c index ef53153c46b..f0ee54d6d21 100644 --- a/cmd/mvebu/bubt.c +++ b/cmd/mvebu/bubt.c @@ -8,6 +8,7 @@ #include <common.h> #include <command.h> #include <env.h> +#include <flash.h> #include <image.h> #include <vsprintf.h> #include <errno.h> @@ -8,6 +8,7 @@ #include <common.h> #include <div64.h> #include <dm.h> +#include <flash.h> #include <malloc.h> #include <mapmem.h> #include <spi.h> |