diff options
author | Simon Glass <sjg@chromium.org> | 2020-05-10 11:39:58 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-18 17:33:33 -0400 |
commit | e6f6f9e64882ddf242437c73fdd9ff06a8eb7c21 (patch) | |
tree | 201c26b1dd27d7e77a667e16497a1d87da09099b /cmd | |
parent | 0528979fa7ab7853faaf2ecf34b7721dd4c0b383 (diff) |
common: Drop part.h from common header
Move this uncommon header out of the common header.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/ab_select.c | 2 | ||||
-rw-r--r-- | cmd/bcb.c | 1 | ||||
-rw-r--r-- | cmd/fat.c | 1 | ||||
-rw-r--r-- | cmd/gpt.c | 2 | ||||
-rw-r--r-- | cmd/mmc.c | 2 | ||||
-rw-r--r-- | cmd/nvme.c | 1 | ||||
-rw-r--r-- | cmd/sata.c | 1 | ||||
-rw-r--r-- | cmd/scsi.c | 1 | ||||
-rw-r--r-- | cmd/unzip.c | 1 | ||||
-rw-r--r-- | cmd/usb.c | 1 | ||||
-rw-r--r-- | cmd/usb_mass_storage.c | 3 | ||||
-rw-r--r-- | cmd/virtio.c | 1 |
12 files changed, 16 insertions, 1 deletions
diff --git a/cmd/ab_select.c b/cmd/ab_select.c index d0d957d4f9..7a4e51571b 100644 --- a/cmd/ab_select.c +++ b/cmd/ab_select.c @@ -3,8 +3,10 @@ * Copyright (C) 2017 The Android Open Source Project */ +#include <common.h> #include <android_ab.h> #include <command.h> +#include <part.h> static int do_ab_select(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) @@ -8,6 +8,7 @@ #include <android_bootloader_message.h> #include <command.h> #include <common.h> +#include <part.h> enum bcb_cmd { BCB_CMD_LOAD, @@ -11,6 +11,7 @@ #include <mapmem.h> #include <fat.h> #include <fs.h> +#include <part.h> #include <asm/cache.h> int do_fat_size(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) @@ -11,9 +11,11 @@ */ #include <common.h> +#include <blk.h> #include <env.h> #include <malloc.h> #include <command.h> +#include <part.h> #include <part_efi.h> #include <exports.h> #include <uuid.h> @@ -5,9 +5,11 @@ */ #include <common.h> +#include <blk.h> #include <command.h> #include <console.h> #include <mmc.h> +#include <part.h> #include <sparse_format.h> #include <image-sparse.h> diff --git a/cmd/nvme.c b/cmd/nvme.c index 5da903bd52..9ae91ce9cb 100644 --- a/cmd/nvme.c +++ b/cmd/nvme.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <blk.h> #include <command.h> #include <dm.h> #include <nvme.h> diff --git a/cmd/sata.c b/cmd/sata.c index 6bdb516cb5..c507e9dbd8 100644 --- a/cmd/sata.c +++ b/cmd/sata.c @@ -11,6 +11,7 @@ #include <common.h> #include <ahci.h> +#include <blk.h> #include <dm.h> #include <command.h> #include <part.h> diff --git a/cmd/scsi.c b/cmd/scsi.c index 67de1a3bdc..e81194de0f 100644 --- a/cmd/scsi.c +++ b/cmd/scsi.c @@ -8,6 +8,7 @@ * SCSI support. */ #include <common.h> +#include <blk.h> #include <command.h> #include <scsi.h> diff --git a/cmd/unzip.c b/cmd/unzip.c index afd58e7cdb..725624627c 100644 --- a/cmd/unzip.c +++ b/cmd/unzip.c @@ -8,6 +8,7 @@ #include <command.h> #include <env.h> #include <gzip.h> +#include <part.h> static int do_unzip(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { @@ -11,6 +11,7 @@ */ #include <common.h> +#include <blk.h> #include <command.h> #include <console.h> #include <dm.h> diff --git a/cmd/usb_mass_storage.c b/cmd/usb_mass_storage.c index 52ff637e2f..b603730248 100644 --- a/cmd/usb_mass_storage.c +++ b/cmd/usb_mass_storage.c @@ -6,10 +6,11 @@ * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. */ -#include <errno.h> #include <common.h> +#include <blk.h> #include <command.h> #include <console.h> +#include <errno.h> #include <g_dnl.h> #include <malloc.h> #include <part.h> diff --git a/cmd/virtio.c b/cmd/virtio.c index b7082bc63a..f38cc56598 100644 --- a/cmd/virtio.c +++ b/cmd/virtio.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <blk.h> #include <command.h> #include <dm.h> #include <virtio_types.h> |