diff options
| author | Simon Glass <[email protected]> | 2020-05-10 11:39:54 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2020-05-18 14:53:28 -0400 |
| commit | b79fdc76978515fba2c4f3b5b4f2e679c5ff1463 (patch) | |
| tree | cf7b3d3cbcdd64f60a0a88edd1f921d7708aebf5 /drivers/mtd | |
| 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 <[email protected]>
Diffstat (limited to 'drivers/mtd')
| -rw-r--r-- | drivers/mtd/cfi_flash.c | 1 | ||||
| -rw-r--r-- | drivers/mtd/jedec_flash.c | 1 | ||||
| -rw-r--r-- | drivers/mtd/spi/sf_dataflash.c | 1 | ||||
| -rw-r--r-- | drivers/mtd/spi/sf_mtd.c | 1 | ||||
| -rw-r--r-- | drivers/mtd/stm32_flash.c | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 4ce183b6f31..036cf0b4a1e 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -22,6 +22,7 @@ #include <env.h> #include <errno.h> #include <fdt_support.h> +#include <flash.h> #include <irq_func.h> #include <asm/processor.h> #include <asm/io.h> diff --git a/drivers/mtd/jedec_flash.c b/drivers/mtd/jedec_flash.c index f59b2bc62fb..ce921b461af 100644 --- a/drivers/mtd/jedec_flash.c +++ b/drivers/mtd/jedec_flash.c @@ -12,6 +12,7 @@ /*#define DEBUG*/ #include <common.h> +#include <flash.h> #include <asm/processor.h> #include <asm/io.h> #include <asm/byteorder.h> diff --git a/drivers/mtd/spi/sf_dataflash.c b/drivers/mtd/spi/sf_dataflash.c index 55fb4bd31ac..b1a38048d32 100644 --- a/drivers/mtd/spi/sf_dataflash.c +++ b/drivers/mtd/spi/sf_dataflash.c @@ -10,6 +10,7 @@ #include <dm.h> #include <errno.h> #include <fdtdec.h> +#include <flash.h> #include <spi.h> #include <spi_flash.h> #include <div64.h> diff --git a/drivers/mtd/spi/sf_mtd.c b/drivers/mtd/spi/sf_mtd.c index 68c36002bee..987fac2501f 100644 --- a/drivers/mtd/spi/sf_mtd.c +++ b/drivers/mtd/spi/sf_mtd.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <flash.h> #include <malloc.h> #include <linux/errno.h> #include <linux/mtd/mtd.h> diff --git a/drivers/mtd/stm32_flash.c b/drivers/mtd/stm32_flash.c index fd0d5506e8f..95afa2d6bc7 100644 --- a/drivers/mtd/stm32_flash.c +++ b/drivers/mtd/stm32_flash.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <flash.h> #include <asm/io.h> #include <asm/arch/stm32.h> #include "stm32_flash.h" |
