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:
@@ -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
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <flash.h>
|
||||
#include <init.h>
|
||||
#if defined(CONFIG_FTMAC100) && !defined(CONFIG_DM_ETH)
|
||||
#include <netdev.h>
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <flash.h>
|
||||
#include <init.h>
|
||||
#if defined(CONFIG_FTMAC100) && !defined(CONFIG_DM_ETH)
|
||||
#include <netdev.h>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <debug_uart.h>
|
||||
#include <flash.h>
|
||||
#include <init.h>
|
||||
#include <net.h>
|
||||
#include <vsprintf.h>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <flash.h>
|
||||
#include <irq_func.h>
|
||||
|
||||
#include <asm/immap.h>
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <flash.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
#include "bcsr.h"
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <flash.h>
|
||||
#include <init.h>
|
||||
#include <pci.h>
|
||||
#include <asm/processor.h>
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <flash.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
#include "bcsr.h"
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <console.h>
|
||||
#include <flash.h>
|
||||
#include <hwconfig.h>
|
||||
#include <init.h>
|
||||
#include <pci.h>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <flash.h>
|
||||
#include <hwconfig.h>
|
||||
#include <i2c.h>
|
||||
#include <init.h>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <flash.h>
|
||||
#include <hwconfig.h>
|
||||
#include <i2c.h>
|
||||
#include <init.h>
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <flash.h>
|
||||
#include <init.h>
|
||||
#include <malloc.h>
|
||||
#include <asm/processor.h>
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <flash.h>
|
||||
#include <init.h>
|
||||
#include <malloc.h>
|
||||
#include <asm/processor.h>
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <flash.h>
|
||||
#include <init.h>
|
||||
#include <malloc.h>
|
||||
#include <asm/processor.h>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <flash.h>
|
||||
#include <init.h>
|
||||
#include <micrel.h>
|
||||
#include <nand.h>
|
||||
|
||||
Reference in New Issue
Block a user