9
0
Fork 0

cfi_flash: move include/cfi_flash.c next to driver

This file has no useful things for others than the driver,
so move it next to the driver and remove the corresponding
include from other files.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2010-02-08 13:52:46 +01:00
parent 582da05383
commit e6b8bdc0c5
19 changed files with 3 additions and 24 deletions

View File

@ -20,7 +20,6 @@
#include <common.h>
#include <net.h>
#include <cfi_flash.h>
#include <init.h>
#include <environment.h>
#include <fec.h>

View File

@ -22,7 +22,6 @@
#include <common.h>
#include <net.h>
#include <cfi_flash.h>
#include <init.h>
#include <environment.h>
#include <asm/armlinux.h>

View File

@ -30,7 +30,6 @@
#include <asm/armlinux.h>
#include <s1d13706fb.h>
#include <net.h>
#include <cfi_flash.h>
#include <init.h>
/*

View File

@ -23,7 +23,6 @@
#include <common.h>
#include <errno.h>
#include <net.h>
#include <cfi_flash.h>
#include <init.h>
#include <environment.h>
#include <mach/imx-regs.h>

View File

@ -26,7 +26,6 @@
*/
#include <common.h>
#include <cfi_flash.h>
#include <environment.h>
#include <errno.h>
#include <fcntl.h>

View File

@ -23,7 +23,6 @@
#include <common.h>
#include <net.h>
#include <cfi_flash.h>
#include <init.h>
#include <environment.h>
#include <mach/imx-regs.h>

View File

@ -20,7 +20,6 @@
#include <common.h>
#include <net.h>
#include <cfi_flash.h>
#include <init.h>
#include <environment.h>
#include <mach/imx-regs.h>

View File

@ -20,7 +20,6 @@
#include <common.h>
#include <net.h>
#include <cfi_flash.h>
#include <init.h>
#include <environment.h>
#include <fec.h>

View File

@ -20,7 +20,6 @@
#include <common.h>
#include <net.h>
#include <cfi_flash.h>
#include <init.h>
#include <environment.h>
#include <mach/netx-regs.h>

View File

@ -29,7 +29,6 @@
#include <common.h>
#include <driver.h>
#include <cfi_flash.h>
#include <init.h>
#include <mach/mpc5xxx.h>
#include <mach/fec.h>

View File

@ -20,7 +20,6 @@
#include <common.h>
#include <net.h>
#include <cfi_flash.h>
#include <init.h>
#include <environment.h>
#include <mach/imx-regs.h>

View File

@ -20,7 +20,6 @@
#include <common.h>
#include <net.h>
#include <cfi_flash.h>
#include <init.h>
#include <environment.h>
#include <mach/imx-regs.h>

View File

@ -20,7 +20,6 @@
#include <common.h>
#include <net.h>
#include <cfi_flash.h>
#include <init.h>
#include <environment.h>
#include <fec.h>

View File

@ -20,7 +20,6 @@
#include <common.h>
#include <net.h>
#include <cfi_flash.h>
#include <init.h>
#include <environment.h>
#include <asm/mach-types.h>

View File

@ -30,7 +30,6 @@
#include <common.h>
#include <command.h>
#include <cfi_flash.h>
#include <errno.h>
#include <getopt.h>
#include <fs.h>

View File

@ -40,9 +40,9 @@
#include <clock.h>
#include <init.h>
#include <malloc.h>
#include <cfi_flash.h>
#include <asm/io.h>
#include <errno.h>
#include "cfi_flash.h"
/*
* This file implements a Common Flash Interface (CFI) driver for barebox.

View File

@ -650,11 +650,5 @@ extern void flash_read_factory_serial(flash_info_t * info, void * buffer, int of
#define FLASH_ERASE_TIMEOUT 120000 /* timeout for erasing in ms */
#define FLASH_WRITE_TIMEOUT 500 /* timeout for writes in ms */
struct cfi_platform_data {
flash_info_t finfo;
};
int flash_init (void);
#endif /* __CFI_FLASH_H */

View File

@ -1,6 +1,6 @@
#include <common.h>
#include <stdio.h>
#include <cfi_flash.h>
#include "cfi_flash.h"
static void flash_unlock_seq (flash_info_t * info, flash_sect_t sect)
{

View File

@ -1,5 +1,5 @@
#include <common.h>
#include <cfi_flash.h>
#include "cfi_flash.h"
/*
* read jedec ids from device and set corresponding fields in info struct