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>
This commit is contained in:
Simon Glass
2020-05-10 11:39:54 -06:00
committed by Tom Rini
parent a595a0e910
commit b79fdc7697
45 changed files with 46 additions and 1 deletions

View File

@@ -8,6 +8,7 @@
#include <init.h>
#include <asm/mach-types.h>
#include <common.h>
#include <flash.h>
#if defined(CONFIG_FTMAC100) && !defined(CONFIG_DM_ETH)
#include <netdev.h>
#endif

View File

@@ -6,6 +6,7 @@
*/
#include <common.h>
#include <flash.h>
#include <init.h>
#if defined(CONFIG_FTMAC100) && !defined(CONFIG_DM_ETH)
#include <netdev.h>

View File

@@ -5,6 +5,7 @@
*/
#include <common.h>
#include <flash.h>
#include <init.h>
#if defined(CONFIG_FTMAC100) && !defined(CONFIG_DM_ETH)
#include <netdev.h>

View File

@@ -12,6 +12,7 @@
#include <cpu_func.h>
#include <div64.h>
#include <env.h>
#include <flash.h>
#include <malloc.h>
#include <spi_flash.h>
#include <mmc.h>

View File

@@ -7,6 +7,7 @@
#include <common.h>
#include <debug_uart.h>
#include <flash.h>
#include <init.h>
#include <net.h>
#include <vsprintf.h>

View File

@@ -10,6 +10,7 @@
#include <common.h>
#include <env.h>
#include <env_internal.h>
#include <flash.h>
#include <net.h>
#include <malloc.h>
#include <netdev.h>

View File

@@ -7,7 +7,9 @@
#include <common.h>
#include <console.h>
#include <cpu_func.h>
#include <flash.h>
#include <irq_func.h>
#include <uuid.h>
#define PHYS_FLASH_1 CONFIG_SYS_FLASH_BASE
#define FLASH_BANK_SIZE 0x200000

View File

@@ -5,6 +5,7 @@
#include <common.h>
#include <dm.h>
#include <flash.h>
#include <fsl_validate.h>
#include <fsl_secboot_err.h>
#include <fsl_sfp.h>

View File

@@ -8,6 +8,7 @@
*/
#include <common.h>
#include <flash.h>
#include <irq_func.h>
#include <asm/immap.h>

View File

@@ -4,6 +4,7 @@
*/
#include <common.h>
#include <flash.h>
#include <asm/io.h>
#include "bcsr.h"

View File

@@ -6,6 +6,7 @@
*/
#include <common.h>
#include <flash.h>
#include <init.h>
#include <pci.h>
#include <asm/processor.h>

View File

@@ -4,6 +4,7 @@
*/
#include <common.h>
#include <flash.h>
#include <asm/io.h>
#include "bcsr.h"

View File

@@ -7,6 +7,7 @@
#include <common.h>
#include <console.h>
#include <flash.h>
#include <hwconfig.h>
#include <init.h>
#include <pci.h>

View File

@@ -6,6 +6,7 @@
#include <common.h>
#include <env.h>
#include <env_internal.h>
#include <flash.h>
#include <init.h>
#include <led.h>
#include <malloc.h>

View File

@@ -6,6 +6,7 @@
#include <common.h>
#include <env.h>
#include <flash.h>
#include <hwconfig.h>
#include <i2c.h>
#include <init.h>

View File

@@ -6,6 +6,7 @@
#include <common.h>
#include <env.h>
#include <flash.h>
#include <hwconfig.h>
#include <i2c.h>
#include <init.h>

View File

@@ -5,6 +5,7 @@
#include <common.h>
#include <env.h>
#include <flash.h>
#include <init.h>
#include <malloc.h>
#include <asm/processor.h>

View File

@@ -5,6 +5,7 @@
#include <common.h>
#include <env.h>
#include <flash.h>
#include <init.h>
#include <malloc.h>
#include <asm/processor.h>

View File

@@ -5,6 +5,7 @@
#include <common.h>
#include <env.h>
#include <flash.h>
#include <init.h>
#include <malloc.h>
#include <asm/processor.h>

View File

@@ -15,6 +15,7 @@
#include <common.h>
#include <dm.h>
#include <env.h>
#include <flash.h>
#include <init.h>
#include <asm/io.h>
#include <asm/arch/at91sam9260_matrix.h>

View File

@@ -14,6 +14,7 @@
#include <clock_legacy.h>
#include <env.h>
#include <pci.h>
#include <uuid.h>
#include <asm/processor.h>
#include <asm/immap_85xx.h>
#include <ioports.h>

View File

@@ -7,6 +7,7 @@
*/
#include <common.h>
#include <flash.h>
#include <init.h>
#include <micrel.h>
#include <nand.h>