1
0
Fork 0

drivers/mtd: Move conditional compilation to Makefile

rename CFG_FLASH_CFI_DRIVER to CONFIG_FLASH_CFI_DRIVER

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
utp
Jean-Christophe PLAGNIOL-VILLARD 2008-08-13 01:40:42 +02:00
parent 7ba44a5521
commit 00b1883a4c
189 changed files with 194 additions and 205 deletions

2
README
View File

@ -2064,7 +2064,7 @@ Configuration Settings:
Define if the flash driver uses extra elements in the Define if the flash driver uses extra elements in the
common flash structure for storing flash geometry. common flash structure for storing flash geometry.
- CFG_FLASH_CFI_DRIVER - CONFIG_FLASH_CFI_DRIVER
This option also enables the building of the cfi_flash driver This option also enables the building of the cfi_flash driver
in the drivers directory in the drivers directory

View File

@ -23,7 +23,7 @@
#include <common.h> #include <common.h>
#ifndef CFG_FLASH_CFI_DRIVER #ifndef CONFIG_FLASH_CFI_DRIVER
flash_info_t flash_info[CFG_MAX_FLASH_BANKS]; /* info for FLASH chips */ flash_info_t flash_info[CFG_MAX_FLASH_BANKS]; /* info for FLASH chips */
/* NOTE - CONFIG_FLASH_16BIT means the CPU interface is 16-bit, it /* NOTE - CONFIG_FLASH_16BIT means the CPU interface is 16-bit, it
@ -490,4 +490,4 @@ static int write_word_amd (flash_info_t *info, FPWV *dest, FPW data)
return (res); return (res);
} }
#endif /*CFG_FLASH_CFI_DRIVER*/ #endif /*CONFIG_FLASH_CFI_DRIVER*/

View File

@ -24,7 +24,7 @@
#include <common.h> #include <common.h>
#include <asm/arch/ixp425.h> #include <asm/arch/ixp425.h>
#if !defined(CFG_FLASH_CFI_DRIVER) #if !defined(CONFIG_FLASH_CFI_DRIVER)
/* /*
* include common flash code (for esd boards) * include common flash code (for esd boards)
@ -86,4 +86,4 @@ unsigned long flash_init(void)
return size; return size;
} }
#endif /* CFG_FLASH_CFI_DRIVER */ #endif /* CONFIG_FLASH_CFI_DRIVER */

View File

@ -33,7 +33,7 @@
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
#if !defined(CFG_FLASH_CFI_DRIVER) /* do not use if CFI driver is configured */ #if !defined(CONFIG_FLASH_CFI_DRIVER) /* do not use if CFI driver is configured */
#if defined(CONFIG_TQM8xxL) && !defined(CONFIG_TQM866M) \ #if defined(CONFIG_TQM8xxL) && !defined(CONFIG_TQM866M) \
&& !defined(CONFIG_TQM885D) && !defined(CONFIG_TQM885D)
@ -831,4 +831,4 @@ static int write_word (flash_info_t *info, ulong dest, ulong data)
/*----------------------------------------------------------------------- /*-----------------------------------------------------------------------
*/ */
#endif /* !defined(CFG_FLASH_CFI_DRIVER) */ #endif /* !defined(CONFIG_FLASH_CFI_DRIVER) */

View File

@ -25,11 +25,11 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libmtd.a LIB := $(obj)libmtd.a
COBJS-y += at45.o COBJS-$(CONFIG_HAS_DATAFLASH) += at45.o
COBJS-y += cfi_flash.o COBJS-$(CONFIG_FLASH_CFI_DRIVER) += cfi_flash.o
COBJS-$(CONFIG_HAS_DATAFLASH) += dataflash.o COBJS-$(CONFIG_HAS_DATAFLASH) += dataflash.o
COBJS-y += mw_eeprom.o
COBJS-$(CONFIG_FLASH_CFI_LEGACY) += jedec_flash.o COBJS-$(CONFIG_FLASH_CFI_LEGACY) += jedec_flash.o
COBJS-$(CONFIG_MW_EEPROM) += mw_eeprom.o
COBJS := $(COBJS-y) COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c) SRCS := $(COBJS:.o=.c)

View File

@ -20,8 +20,6 @@
#include <config.h> #include <config.h>
#include <common.h> #include <common.h>
#ifdef CONFIG_HAS_DATAFLASH
#include <dataflash.h> #include <dataflash.h>
/* /*
@ -559,4 +557,3 @@ int AT91F_DataflashProbe(int cs, AT91PS_DataflashDesc pDesc)
AT91F_DataFlashGetStatus(pDesc); AT91F_DataFlashGetStatus(pDesc);
return ((pDesc->command[1] == 0xFF) ? 0 : pDesc->command[1] & 0x3C); return ((pDesc->command[1] == 0xFF) ? 0 : pDesc->command[1] & 0x3C);
} }
#endif

View File

@ -39,7 +39,6 @@
#include <asm/io.h> #include <asm/io.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
#include <environment.h> #include <environment.h>
#ifdef CFG_FLASH_CFI_DRIVER
/* /*
* This file implements a Common Flash Interface (CFI) driver for * This file implements a Common Flash Interface (CFI) driver for
@ -2015,5 +2014,3 @@ unsigned long flash_init (void)
#endif #endif
return (size); return (size);
} }
#endif /* CFG_FLASH_CFI */

View File

@ -1,9 +1,6 @@
/* Three-wire (MicroWire) serial eeprom driver (for 93C46 and compatibles) */ /* Three-wire (MicroWire) serial eeprom driver (for 93C46 and compatibles) */
#include <common.h> #include <common.h>
#ifdef CONFIG_MW_EEPROM
#include <ssi.h> #include <ssi.h>
/* /*
@ -237,5 +234,3 @@ int mw_eeprom_probe(int dev)
} }
return 0; return 0;
} }
#endif

View File

@ -269,7 +269,7 @@ extern int flash_banks;
#define CFG_FLASH_BASE 0xFE000000 #define CFG_FLASH_BASE 0xFE000000
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#define CFG_MAX_FLASH_SECT 256 /* max num of sects on one chip */ #define CFG_MAX_FLASH_SECT 256 /* max num of sects on one chip */
#define CFG_MAX_FLASH_BANKS flash_banks /* max num of flash banks */ #define CFG_MAX_FLASH_BANKS flash_banks /* max num of flash banks */
/* updated in board_early_init_r */ /* updated in board_early_init_r */

View File

@ -182,7 +182,7 @@
#define CFG_MONITOR_BASE TEXT_BASE /* start of monitor */ #define CFG_MONITOR_BASE TEXT_BASE /* start of monitor */
#define CFG_FLASH_CFI_DRIVER 1 #define CONFIG_FLASH_CFI_DRIVER 1
#define CFG_FLASH_CFI 1 #define CFG_FLASH_CFI 1
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO

View File

@ -143,7 +143,7 @@
*/ */
#define CFG_FLASH_BASE 0xFE000000 #define CFG_FLASH_BASE 0xFE000000
#define CFG_FLASH_CFI /* The flash is CFI compatible */ #define CFG_FLASH_CFI /* The flash is CFI compatible */
#define CFG_FLASH_CFI_DRIVER /* Use common CFI driver */ #define CONFIG_FLASH_CFI_DRIVER /* Use common CFI driver */
#define CFG_MAX_FLASH_BANKS 1 /* Max number of flash banks */ #define CFG_MAX_FLASH_BANKS 1 /* Max number of flash banks */
#define CFG_MAX_FLASH_SECT 128 /* Max num of sects on one chip */ #define CFG_MAX_FLASH_SECT 128 /* Max num of sects on one chip */

View File

@ -328,7 +328,7 @@
/* use CFI flash driver if no module variant is spezified */ /* use CFI flash driver if no module variant is spezified */
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#define CFG_FLASH_BANKS_LIST { CFG_BOOTCS_START } #define CFG_FLASH_BANKS_LIST { CFG_BOOTCS_START }
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO
#define CFG_FLASH_SIZE 0x04000000 /* 64 MByte */ #define CFG_FLASH_SIZE 0x04000000 /* 64 MByte */

View File

@ -294,7 +294,7 @@
* FLASH related * FLASH related
*----------------------------------------------------------------------*/ *----------------------------------------------------------------------*/
#define CFG_FLASH_CFI_DRIVER #define CONFIG_FLASH_CFI_DRIVER
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_PROTECTION 1 /* use hardware protection */ #define CFG_FLASH_PROTECTION 1 /* use hardware protection */
#define CFG_FLASH_USE_BUFFER_WRITE 1 /* use buffered writes (20x faster) */ #define CFG_FLASH_USE_BUFFER_WRITE 1 /* use buffered writes (20x faster) */

View File

@ -119,7 +119,7 @@
* FLASH related * FLASH related
*/ */
#define CFG_FLASH_CFI /* The flash is CFI compatible */ #define CFG_FLASH_CFI /* The flash is CFI compatible */
#define CFG_FLASH_CFI_DRIVER /* Use common CFI driver */ #define CONFIG_FLASH_CFI_DRIVER /* Use common CFI driver */
#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE } #define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE }

View File

@ -138,7 +138,7 @@
*/ */
#define CFG_FLASH_BASE 0xFC000000 #define CFG_FLASH_BASE 0xFC000000
#define CFG_FLASH_CFI /* The flash is CFI compatible */ #define CFG_FLASH_CFI /* The flash is CFI compatible */
#define CFG_FLASH_CFI_DRIVER /* Use common CFI driver */ #define CONFIG_FLASH_CFI_DRIVER /* Use common CFI driver */
#define CFG_MAX_FLASH_BANKS 1 /* Max number of flash banks */ #define CFG_MAX_FLASH_BANKS 1 /* Max number of flash banks */
#define CFG_MAX_FLASH_SECT 512 /* Max num of sects on one chip */ #define CFG_MAX_FLASH_SECT 512 /* Max num of sects on one chip */

View File

@ -194,7 +194,7 @@
/* use CFI flash driver */ /* use CFI flash driver */
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size } #define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size }
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO
#define CFG_FLASH_USE_BUFFER_WRITE 1 #define CFG_FLASH_USE_BUFFER_WRITE 1

View File

@ -194,7 +194,7 @@
/* use CFI flash driver */ /* use CFI flash driver */
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size } #define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size }
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO
#define CFG_FLASH_USE_BUFFER_WRITE 1 #define CFG_FLASH_USE_BUFFER_WRITE 1

View File

@ -227,7 +227,7 @@
/* use CFI flash driver */ /* use CFI flash driver */
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE } #define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE }
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO
#define CFG_FLASH_USE_BUFFER_WRITE 1 #define CFG_FLASH_USE_BUFFER_WRITE 1

View File

@ -227,7 +227,7 @@
#define CFG_BOOTMAPSZ (8 << 20) /* Initial Memory map for Linux */ #define CFG_BOOTMAPSZ (8 << 20) /* Initial Memory map for Linux */
#define CFG_FLASH_CFI /* The flash is CFI compatible */ #define CFG_FLASH_CFI /* The flash is CFI compatible */
#define CFG_FLASH_CFI_DRIVER /* Use common CFI driver */ #define CONFIG_FLASH_CFI_DRIVER /* Use common CFI driver */
#define CFG_FLASH_BANKS_LIST { 0xFF800000 } #define CFG_FLASH_BANKS_LIST { 0xFF800000 }
#define CFG_MAX_FLASH_BANKS_DETECT 1 #define CFG_MAX_FLASH_BANKS_DETECT 1
/* What should the base address of the main FLASH be and how big is /* What should the base address of the main FLASH be and how big is

View File

@ -180,7 +180,7 @@
*/ */
#define CFG_FLASH_BASE 0xFE000000 #define CFG_FLASH_BASE 0xFE000000
#define CFG_FLASH_CFI /* The flash is CFI compatible */ #define CFG_FLASH_CFI /* The flash is CFI compatible */
#define CFG_FLASH_CFI_DRIVER /* Use common CFI driver */ #define CONFIG_FLASH_CFI_DRIVER /* Use common CFI driver */
#define CFG_MAX_FLASH_BANKS 1 /* Max num of memory banks */ #define CFG_MAX_FLASH_BANKS 1 /* Max num of memory banks */
#define CFG_MAX_FLASH_SECT 142 /* Max num of sects on one chip */ #define CFG_MAX_FLASH_SECT 142 /* Max num of sects on one chip */

View File

@ -246,7 +246,7 @@
#undef CONFIG_FLASH_16BIT /* Flash is 8-bit */ #undef CONFIG_FLASH_16BIT /* Flash is 8-bit */
#if defined(CONFIG_LITE5200B) #if defined(CONFIG_LITE5200B)
#define CFG_FLASH_CFI_DRIVER #define CONFIG_FLASH_CFI_DRIVER
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#define CFG_FLASH_BANKS_LIST {CFG_CS1_START,CFG_CS0_START} #define CFG_FLASH_BANKS_LIST {CFG_CS1_START,CFG_CS0_START}
#endif #endif

View File

@ -207,7 +207,7 @@
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#ifdef CFG_FLASH_CFI #ifdef CFG_FLASH_CFI
# define CFG_FLASH_CFI_DRIVER 1 # define CONFIG_FLASH_CFI_DRIVER 1
# define CFG_FLASH_SIZE 0x1000000 /* Max size that the board might have */ # define CFG_FLASH_SIZE 0x1000000 /* Max size that the board might have */
# define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT # define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT
# define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */ # define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */

View File

@ -200,7 +200,7 @@
*/ */
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#ifdef CFG_FLASH_CFI #ifdef CFG_FLASH_CFI
# define CFG_FLASH_CFI_DRIVER 1 # define CONFIG_FLASH_CFI_DRIVER 1
# define CFG_FLASH_SIZE 0x800000 /* Max size that the board might have */ # define CFG_FLASH_SIZE 0x800000 /* Max size that the board might have */
#ifdef NORFLASH_PS32BIT #ifdef NORFLASH_PS32BIT
# define CFG_FLASH_CFI_WIDTH FLASH_CFI_32BIT # define CFG_FLASH_CFI_WIDTH FLASH_CFI_32BIT

View File

@ -150,7 +150,7 @@
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#ifdef CFG_FLASH_CFI #ifdef CFG_FLASH_CFI
# define CFG_FLASH_CFI_DRIVER 1 # define CONFIG_FLASH_CFI_DRIVER 1
# define CFG_FLASH_SIZE 0x1000000 /* Max size that the board might have */ # define CFG_FLASH_SIZE 0x1000000 /* Max size that the board might have */
# define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT # define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT
# define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */ # define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */

View File

@ -172,7 +172,7 @@
#define CFG_FLASH_ERASE_TOUT 1000 #define CFG_FLASH_ERASE_TOUT 1000
#define CFG_FLASH_CFI 1 #define CFG_FLASH_CFI 1
#define CFG_FLASH_CFI_DRIVER 1 #define CONFIG_FLASH_CFI_DRIVER 1
#define CFG_FLASH_SIZE 0x200000 #define CFG_FLASH_SIZE 0x200000
#define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT #define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT

View File

@ -210,7 +210,7 @@
#define CFG_FLASH_ERASE_TOUT 1000 #define CFG_FLASH_ERASE_TOUT 1000
#define CFG_FLASH_CFI 1 #define CFG_FLASH_CFI 1
#define CFG_FLASH_CFI_DRIVER 1 #define CONFIG_FLASH_CFI_DRIVER 1
#define CFG_FLASH_SIZE 0x200000 #define CFG_FLASH_SIZE 0x200000
/* Cache Configuration */ /* Cache Configuration */

View File

@ -197,7 +197,7 @@
#define CFG_FLASH_ERASE_TOUT 1000 #define CFG_FLASH_ERASE_TOUT 1000
#define CFG_FLASH_CFI 1 #define CFG_FLASH_CFI 1
#define CFG_FLASH_CFI_DRIVER 1 #define CONFIG_FLASH_CFI_DRIVER 1
#define CFG_FLASH_SIZE 0x200000 #define CFG_FLASH_SIZE 0x200000
/*----------------------------------------------------------------------- /*-----------------------------------------------------------------------

View File

@ -194,7 +194,7 @@
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#ifdef CFG_FLASH_CFI #ifdef CFG_FLASH_CFI
# define CFG_FLASH_CFI_DRIVER 1 # define CONFIG_FLASH_CFI_DRIVER 1
# define CFG_FLASH_SIZE 0x1000000 /* Max size that the board might have */ # define CFG_FLASH_SIZE 0x1000000 /* Max size that the board might have */
# define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT # define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT
# define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */ # define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */

View File

@ -202,7 +202,7 @@
*/ */
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#ifdef CFG_FLASH_CFI #ifdef CFG_FLASH_CFI
# define CFG_FLASH_CFI_DRIVER 1 # define CONFIG_FLASH_CFI_DRIVER 1
# define CFG_FLASH_SIZE 0x800000 /* Max size that the board might have */ # define CFG_FLASH_SIZE 0x800000 /* Max size that the board might have */
# define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT # define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT
# define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */ # define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */

View File

@ -202,7 +202,7 @@
*/ */
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#ifdef CFG_FLASH_CFI #ifdef CFG_FLASH_CFI
# define CFG_FLASH_CFI_DRIVER 1 # define CONFIG_FLASH_CFI_DRIVER 1
# define CFG_FLASH_SIZE 0x800000 /* Max size that the board might have */ # define CFG_FLASH_SIZE 0x800000 /* Max size that the board might have */
# define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT # define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT
# define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */ # define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */

View File

@ -302,7 +302,7 @@
#undef CFG_FLASH_CFI #undef CFG_FLASH_CFI
#ifdef CFG_FLASH_CFI #ifdef CFG_FLASH_CFI
# define CFG_FLASH_CFI_DRIVER 1 # define CONFIG_FLASH_CFI_DRIVER 1
# define CFG_FLASH_SIZE 0x1000000 /* Max size that the board might have */ # define CFG_FLASH_SIZE 0x1000000 /* Max size that the board might have */
# define CFG_FLASH_CFI_WIDTH FLASH_CFI_8BIT # define CFG_FLASH_CFI_WIDTH FLASH_CFI_8BIT
# define CFG_MAX_FLASH_BANKS 2 /* max number of memory banks */ # define CFG_MAX_FLASH_BANKS 2 /* max number of memory banks */

View File

@ -259,7 +259,7 @@
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#ifdef CFG_FLASH_CFI #ifdef CFG_FLASH_CFI
# define CFG_FLASH_BASE (CFG_CS0_BASE) # define CFG_FLASH_BASE (CFG_CS0_BASE)
# define CFG_FLASH_CFI_DRIVER 1 # define CONFIG_FLASH_CFI_DRIVER 1
# define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT # define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT
# define CFG_MAX_FLASH_SECT 137 /* max number of sectors on one chip */ # define CFG_MAX_FLASH_SECT 137 /* max number of sectors on one chip */
# define CFG_FLASH_PROTECTION /* "Real" (hardware) sectors protection */ # define CFG_FLASH_PROTECTION /* "Real" (hardware) sectors protection */

View File

@ -245,7 +245,7 @@
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#ifdef CFG_FLASH_CFI #ifdef CFG_FLASH_CFI
# define CFG_FLASH_BASE (CFG_CS0_BASE) # define CFG_FLASH_BASE (CFG_CS0_BASE)
# define CFG_FLASH_CFI_DRIVER 1 # define CONFIG_FLASH_CFI_DRIVER 1
# define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT # define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT
# define CFG_MAX_FLASH_SECT 137 /* max number of sectors on one chip */ # define CFG_MAX_FLASH_SECT 137 /* max number of sectors on one chip */
# define CFG_FLASH_PROTECTION /* "Real" (hardware) sectors protection */ # define CFG_FLASH_PROTECTION /* "Real" (hardware) sectors protection */

View File

@ -171,7 +171,7 @@
* FLASH on the Local Bus * FLASH on the Local Bus
*/ */
#define CFG_FLASH_CFI /* use the Common Flash Interface */ #define CFG_FLASH_CFI /* use the Common Flash Interface */
#define CFG_FLASH_CFI_DRIVER /* use the CFI driver */ #define CONFIG_FLASH_CFI_DRIVER /* use the CFI driver */
#define CFG_FLASH_BASE 0xFE000000 /* start of FLASH */ #define CFG_FLASH_BASE 0xFE000000 /* start of FLASH */
#define CFG_FLASH_SIZE 8 /* flash size in MB */ #define CFG_FLASH_SIZE 8 /* flash size in MB */
#define CFG_FLASH_EMPTY_INFO /* display empty sectors */ #define CFG_FLASH_EMPTY_INFO /* display empty sectors */

View File

@ -188,7 +188,7 @@
* FLASH on the Local Bus * FLASH on the Local Bus
*/ */
#define CFG_FLASH_CFI /* use the Common Flash Interface */ #define CFG_FLASH_CFI /* use the Common Flash Interface */
#define CFG_FLASH_CFI_DRIVER /* use the CFI driver */ #define CONFIG_FLASH_CFI_DRIVER /* use the CFI driver */
#define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT #define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT
#define CFG_FLASH_BASE 0xFE000000 /* FLASH base address */ #define CFG_FLASH_BASE 0xFE000000 /* FLASH base address */

View File

@ -178,7 +178,7 @@
* FLASH on the Local Bus * FLASH on the Local Bus
*/ */
#define CFG_FLASH_CFI /* use the Common Flash Interface */ #define CFG_FLASH_CFI /* use the Common Flash Interface */
#define CFG_FLASH_CFI_DRIVER /* use the CFI driver */ #define CONFIG_FLASH_CFI_DRIVER /* use the CFI driver */
#define CFG_FLASH_BASE 0xFE000000 /* FLASH base address */ #define CFG_FLASH_BASE 0xFE000000 /* FLASH base address */
#define CFG_FLASH_SIZE 16 /* FLASH size is 16M */ #define CFG_FLASH_SIZE 16 /* FLASH size is 16M */

View File

@ -166,7 +166,7 @@
* FLASH on the Local Bus * FLASH on the Local Bus
*/ */
#define CFG_FLASH_CFI /* use the Common Flash Interface */ #define CFG_FLASH_CFI /* use the Common Flash Interface */
#define CFG_FLASH_CFI_DRIVER /* use the CFI driver */ #define CONFIG_FLASH_CFI_DRIVER /* use the CFI driver */
#define CFG_FLASH_BASE 0xFE000000 /* FLASH base address */ #define CFG_FLASH_BASE 0xFE000000 /* FLASH base address */
#define CFG_FLASH_SIZE 16 /* FLASH size is 16M */ #define CFG_FLASH_SIZE 16 /* FLASH size is 16M */

View File

@ -148,7 +148,7 @@
* FLASH on the Local Bus * FLASH on the Local Bus
*/ */
#define CFG_FLASH_CFI /* use the Common Flash Interface */ #define CFG_FLASH_CFI /* use the Common Flash Interface */
#define CFG_FLASH_CFI_DRIVER /* use the CFI driver */ #define CONFIG_FLASH_CFI_DRIVER /* use the CFI driver */
#define CFG_FLASH_BASE 0xFE000000 /* start of FLASH */ #define CFG_FLASH_BASE 0xFE000000 /* start of FLASH */
#define CFG_FLASH_SIZE 32 /* max flash size in MB */ #define CFG_FLASH_SIZE 32 /* max flash size in MB */
/* #define CFG_FLASH_USE_BUFFER_WRITE */ /* #define CFG_FLASH_USE_BUFFER_WRITE */

View File

@ -175,7 +175,7 @@
*/ */
#define CFG_FLASH_CFI /* use the Common Flash Interface */ #define CFG_FLASH_CFI /* use the Common Flash Interface */
#define CFG_FLASH_CFI_DRIVER /* use the CFI driver */ #define CONFIG_FLASH_CFI_DRIVER /* use the CFI driver */
#define CFG_FLASH_BASE 0xFE000000 /* start of FLASH */ #define CFG_FLASH_BASE 0xFE000000 /* start of FLASH */
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO
#define CFG_MAX_FLASH_SECT 135 /* 127 64KB sectors + 8 8KB sectors per device */ #define CFG_MAX_FLASH_SECT 135 /* 127 64KB sectors + 8 8KB sectors per device */
@ -419,7 +419,7 @@ boards, we say we have two, but don't display a message if we find only one. */
#define CFG_ENV_SIZE 0x2000 #define CFG_ENV_SIZE 0x2000
#else #else
#define CFG_NO_FLASH /* Flash is not usable now */ #define CFG_NO_FLASH /* Flash is not usable now */
#undef CFG_FLASH_CFI_DRIVER #undef CONFIG_FLASH_CFI_DRIVER
#define CFG_ENV_IS_NOWHERE /* Store ENV in memory only */ #define CFG_ENV_IS_NOWHERE /* Store ENV in memory only */
#define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000) #define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
#define CFG_ENV_SIZE 0x2000 #define CFG_ENV_SIZE 0x2000

View File

@ -191,7 +191,7 @@
* FLASH on the Local Bus * FLASH on the Local Bus
*/ */
#define CFG_FLASH_CFI /* use the Common Flash Interface */ #define CFG_FLASH_CFI /* use the Common Flash Interface */
#define CFG_FLASH_CFI_DRIVER /* use the CFI driver */ #define CONFIG_FLASH_CFI_DRIVER /* use the CFI driver */
#define CFG_FLASH_BASE 0xFE000000 /* FLASH base address */ #define CFG_FLASH_BASE 0xFE000000 /* FLASH base address */
#define CFG_FLASH_SIZE 32 /* max FLASH size is 32M */ #define CFG_FLASH_SIZE 32 /* max FLASH size is 32M */
#define CONFIG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */ #define CONFIG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */

View File

@ -184,7 +184,7 @@
* FLASH on the Local Bus * FLASH on the Local Bus
*/ */
#define CFG_FLASH_CFI /* use the Common Flash Interface */ #define CFG_FLASH_CFI /* use the Common Flash Interface */
#define CFG_FLASH_CFI_DRIVER /* use the CFI driver */ #define CONFIG_FLASH_CFI_DRIVER /* use the CFI driver */
#define CFG_FLASH_SIZE 8 /* max FLASH size is 32M */ #define CFG_FLASH_SIZE 8 /* max FLASH size is 32M */
#define CFG_FLASH_PROTECTION 1 /* Use intel Flash protection. */ #define CFG_FLASH_PROTECTION 1 /* Use intel Flash protection. */

View File

@ -226,7 +226,7 @@
* FLASH on the Local Bus * FLASH on the Local Bus
*/ */
#define CFG_FLASH_CFI /* use the Common Flash Interface */ #define CFG_FLASH_CFI /* use the Common Flash Interface */
#define CFG_FLASH_CFI_DRIVER /* use the CFI driver */ #define CONFIG_FLASH_CFI_DRIVER /* use the CFI driver */
#define CFG_FLASH_BASE 0xFE000000 /* FLASH base address */ #define CFG_FLASH_BASE 0xFE000000 /* FLASH base address */
#define CFG_FLASH_SIZE 32 /* max FLASH size is 32M */ #define CFG_FLASH_SIZE 32 /* max FLASH size is 32M */

View File

@ -249,7 +249,7 @@
* FLASH on the Local Bus * FLASH on the Local Bus
*/ */
#define CFG_FLASH_CFI /* use the Common Flash Interface */ #define CFG_FLASH_CFI /* use the Common Flash Interface */
#define CFG_FLASH_CFI_DRIVER /* use the CFI driver */ #define CONFIG_FLASH_CFI_DRIVER /* use the CFI driver */
#define CFG_FLASH_BASE 0xFE000000 /* FLASH base address */ #define CFG_FLASH_BASE 0xFE000000 /* FLASH base address */
#define CFG_FLASH_SIZE 8 /* max FLASH size is 32M */ #define CFG_FLASH_SIZE 8 /* max FLASH size is 32M */

View File

@ -152,7 +152,7 @@
#undef CFG_RAMBOOT #undef CFG_RAMBOOT
#endif #endif
#define CFG_FLASH_CFI_DRIVER #define CONFIG_FLASH_CFI_DRIVER
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO

View File

@ -154,7 +154,7 @@ extern unsigned long get_clock_freq(void);
#define CFG_MONITOR_BASE TEXT_BASE /* start of monitor */ #define CFG_MONITOR_BASE TEXT_BASE /* start of monitor */
#define CFG_FLASH_CFI_DRIVER #define CONFIG_FLASH_CFI_DRIVER
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO

View File

@ -168,7 +168,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
#define CFG_MONITOR_BASE TEXT_BASE /* start of monitor */ #define CFG_MONITOR_BASE TEXT_BASE /* start of monitor */
#define CFG_FLASH_CFI_DRIVER #define CONFIG_FLASH_CFI_DRIVER
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO

View File

@ -172,7 +172,7 @@ extern unsigned long get_clock_freq(void);
#define CFG_MONITOR_BASE TEXT_BASE /* start of monitor */ #define CFG_MONITOR_BASE TEXT_BASE /* start of monitor */
#define CFG_FLASH_CFI_DRIVER #define CONFIG_FLASH_CFI_DRIVER
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO

View File

@ -154,7 +154,7 @@ extern unsigned long get_clock_freq(void);
#define CFG_MONITOR_BASE TEXT_BASE /* start of monitor */ #define CFG_MONITOR_BASE TEXT_BASE /* start of monitor */
#define CFG_FLASH_CFI_DRIVER #define CONFIG_FLASH_CFI_DRIVER
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO

View File

@ -148,7 +148,7 @@
#undef CFG_RAMBOOT #undef CFG_RAMBOOT
#endif #endif
#define CFG_FLASH_CFI_DRIVER #define CONFIG_FLASH_CFI_DRIVER
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO

View File

@ -167,7 +167,7 @@ extern unsigned long get_clock_freq(void);
#define CFG_MONITOR_BASE TEXT_BASE /* start of monitor */ #define CFG_MONITOR_BASE TEXT_BASE /* start of monitor */
#define CFG_FLASH_CFI_DRIVER #define CONFIG_FLASH_CFI_DRIVER
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO

View File

@ -192,7 +192,7 @@
#define CFG_FLASH_WRITE_TOUT 500 /* Flash Write Timeout (ms) */ #define CFG_FLASH_WRITE_TOUT 500 /* Flash Write Timeout (ms) */
#define CFG_MONITOR_BASE TEXT_BASE /* start of monitor */ #define CFG_MONITOR_BASE TEXT_BASE /* start of monitor */
#define CFG_FLASH_CFI_DRIVER #define CONFIG_FLASH_CFI_DRIVER
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO

View File

@ -214,7 +214,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
#define CFG_FLASH_WRITE_TOUT 500 /* Flash Write Timeout (ms) */ #define CFG_FLASH_WRITE_TOUT 500 /* Flash Write Timeout (ms) */
#define CFG_MONITOR_BASE TEXT_BASE /* start of monitor */ #define CFG_MONITOR_BASE TEXT_BASE /* start of monitor */
#define CFG_FLASH_CFI_DRIVER #define CONFIG_FLASH_CFI_DRIVER
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO

View File

@ -198,7 +198,7 @@
*/ */
#undef CONFIG_FLASH_16BIT #undef CONFIG_FLASH_16BIT
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#define CFG_FLASH_CFI_DRIVER #define CONFIG_FLASH_CFI_DRIVER
#define CFG_FLASH_CFI_AMD_RESET 1 #define CFG_FLASH_CFI_AMD_RESET 1
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO

View File

@ -104,7 +104,7 @@
/* Flash */ /* Flash */
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#define CFG_FLASH_CFI_DRIVER #define CONFIG_FLASH_CFI_DRIVER
#define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT #define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT
#define CFG_FLASH_BASE 0xFF800000 #define CFG_FLASH_BASE 0xFF800000

View File

@ -103,7 +103,7 @@
/* FLASH */ /* FLASH */
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#define CFG_FLASH_CFI_DRIVER #define CONFIG_FLASH_CFI_DRIVER
#undef CFG_FLASH_QUIET_TEST #undef CFG_FLASH_QUIET_TEST
/* print 'E' for empty sector on flinfo */ /* print 'E' for empty sector on flinfo */
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO

View File

@ -200,7 +200,7 @@
/* use CFI flash driver */ /* use CFI flash driver */
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size } #define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size }
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO
#define CFG_FLASH_USE_BUFFER_WRITE 1 #define CFG_FLASH_USE_BUFFER_WRITE 1

View File

@ -148,7 +148,7 @@
#undef CFG_RAMBOOT #undef CFG_RAMBOOT
#endif #endif
#define CFG_FLASH_CFI_DRIVER #define CONFIG_FLASH_CFI_DRIVER
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO

View File

@ -149,7 +149,7 @@
#undef CFG_RAMBOOT #undef CFG_RAMBOOT
#endif #endif
#define CFG_FLASH_CFI_DRIVER #define CONFIG_FLASH_CFI_DRIVER
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO

View File

@ -214,7 +214,7 @@
#define CFG_FLASH_INCREMENT 0x01000000 #define CFG_FLASH_INCREMENT 0x01000000
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#define CFG_FLASH_PROTECTION 1 /* don't use hardware protection */ #define CFG_FLASH_PROTECTION 1 /* don't use hardware protection */
#define CFG_FLASH_USE_BUFFER_WRITE 1 /* use buffered writes (20x faster) */ #define CFG_FLASH_USE_BUFFER_WRITE 1 /* use buffered writes (20x faster) */
#define CFG_MAX_FLASH_BANKS 2 /* max num of flash banks */ #define CFG_MAX_FLASH_BANKS 2 /* max num of flash banks */

View File

@ -120,7 +120,7 @@
* FLASH related * FLASH related
*----------------------------------------------------------------------*/ *----------------------------------------------------------------------*/
#define CFG_FLASH_CFI /* The flash is CFI compatible */ #define CFG_FLASH_CFI /* The flash is CFI compatible */
#define CFG_FLASH_CFI_DRIVER /* Use common CFI driver */ #define CONFIG_FLASH_CFI_DRIVER /* Use common CFI driver */
#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE } #define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE }

View File

@ -187,7 +187,7 @@
#define CFG_FLASH_BASE 0xFE000000 #define CFG_FLASH_BASE 0xFE000000
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#define CFG_FLASH_CFI_DRIVER #define CONFIG_FLASH_CFI_DRIVER
#define CFG_MAX_FLASH_BANKS 1 /* max num of flash banks */ #define CFG_MAX_FLASH_BANKS 1 /* max num of flash banks */
#define CFG_MAX_FLASH_SECT 256 /* max num of sects on one chip */ #define CFG_MAX_FLASH_SECT 256 /* max num of sects on one chip */

View File

@ -291,7 +291,7 @@
*/ */
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#if 0 #if 0
#define CFG_FLASH_USE_BUFFER_WRITE 1 /* use buffered writes (20x faster) */ #define CFG_FLASH_USE_BUFFER_WRITE 1 /* use buffered writes (20x faster) */
#define CFG_FLASH_PROTECTION /* use hardware protection */ #define CFG_FLASH_PROTECTION /* use hardware protection */

View File

@ -181,7 +181,7 @@
* FLASH driver setup * FLASH driver setup
*/ */
#define CFG_FLASH_CFI 1 /* Flash memory is CFI compliant */ #define CFG_FLASH_CFI 1 /* Flash memory is CFI compliant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use drivers/mtd/cfi_flash.c */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use drivers/mtd/cfi_flash.c */
#define CFG_FLASH_USE_BUFFER_WRITE 1 /* Use buffered writes (~10x faster) */ #define CFG_FLASH_USE_BUFFER_WRITE 1 /* Use buffered writes (~10x faster) */
#define CFG_FLASH_PROTECTION 1 /* Use hardware sector protection */ #define CFG_FLASH_PROTECTION 1 /* Use hardware sector protection */

View File

@ -255,7 +255,7 @@
/* use CFI flash driver */ /* use CFI flash driver */
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#define CFG_FLASH_BANKS_LIST { CFG_BOOTCS_START } #define CFG_FLASH_BANKS_LIST { CFG_BOOTCS_START }
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO
#define CFG_FLASH_SIZE 0x04000000 /* 64 MByte */ #define CFG_FLASH_SIZE 0x04000000 /* 64 MByte */

View File

@ -247,7 +247,7 @@
/* use CFI flash driver */ /* use CFI flash driver */
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE } #define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE }
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO
#define CFG_FLASH_USE_BUFFER_WRITE 1 #define CFG_FLASH_USE_BUFFER_WRITE 1

View File

@ -386,7 +386,7 @@
#else #else
/* use CFI flash driver */ /* use CFI flash driver */
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#define CFG_FLASH_BANKS_LIST { CFG_BOOTCS_START } #define CFG_FLASH_BANKS_LIST { CFG_BOOTCS_START }
#define CFG_MAX_FLASH_BANKS 1 /* max num of flash banks #define CFG_MAX_FLASH_BANKS 1 /* max num of flash banks
(= chip selects) */ (= chip selects) */

View File

@ -208,7 +208,7 @@
/* use CFI flash driver */ /* use CFI flash driver */
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size } #define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size }
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO
#define CFG_FLASH_USE_BUFFER_WRITE 1 #define CFG_FLASH_USE_BUFFER_WRITE 1

View File

@ -203,7 +203,7 @@
/* use CFI flash driver */ /* use CFI flash driver */
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE } #define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE }
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO
#define CFG_FLASH_USE_BUFFER_WRITE 1 #define CFG_FLASH_USE_BUFFER_WRITE 1

View File

@ -372,7 +372,7 @@
#define CFG_MAX_FLASH_SECT 128 /* max num of sects on one chip */ #define CFG_MAX_FLASH_SECT 128 /* max num of sects on one chip */
#define CFG_FLASH_CFI /* flash is CFI compat. */ #define CFG_FLASH_CFI /* flash is CFI compat. */
#define CFG_FLASH_CFI_DRIVER /* Use common CFI driver*/ #define CONFIG_FLASH_CFI_DRIVER /* Use common CFI driver*/
#define CFG_FLASH_EMPTY_INFO /* print 'E' for empty sector */ #define CFG_FLASH_EMPTY_INFO /* print 'E' for empty sector */
#define CFG_FLASH_QUIET_TEST 1 /* don't warn upon unknown flash*/ #define CFG_FLASH_QUIET_TEST 1 /* don't warn upon unknown flash*/

View File

@ -78,7 +78,7 @@
* FLASH on the Local Bus * FLASH on the Local Bus
*/ */
#define CFG_FLASH_CFI /* use the Common Flash Interface */ #define CFG_FLASH_CFI /* use the Common Flash Interface */
#define CFG_FLASH_CFI_DRIVER /* use the CFI driver */ #define CONFIG_FLASH_CFI_DRIVER /* use the CFI driver */
#undef CFG_FLASH_CHECKSUM #undef CFG_FLASH_CHECKSUM
#define CFG_FLASH_BASE 0x80000000 /* start of FLASH */ #define CFG_FLASH_BASE 0x80000000 /* start of FLASH */
#define CFG_FLASH_SIZE 8 /* FLASH size in MB */ #define CFG_FLASH_SIZE 8 /* FLASH size in MB */

View File

@ -193,7 +193,7 @@
/* use CFI flash driver */ /* use CFI flash driver */
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size } #define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size }
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO
#define CFG_FLASH_USE_BUFFER_WRITE 1 #define CFG_FLASH_USE_BUFFER_WRITE 1

View File

@ -192,7 +192,7 @@
/* use CFI flash driver */ /* use CFI flash driver */
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE } #define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE }
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO
#define CFG_FLASH_USE_BUFFER_WRITE 1 #define CFG_FLASH_USE_BUFFER_WRITE 1

View File

@ -198,7 +198,7 @@
/* use CFI flash driver */ /* use CFI flash driver */
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size } #define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size }
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO
#define CFG_FLASH_USE_BUFFER_WRITE 1 #define CFG_FLASH_USE_BUFFER_WRITE 1

View File

@ -232,7 +232,7 @@
/* use CFI flash driver */ /* use CFI flash driver */
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE } #define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE }
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO
#define CFG_FLASH_USE_BUFFER_WRITE 1 #define CFG_FLASH_USE_BUFFER_WRITE 1

View File

@ -204,7 +204,7 @@
#endif /* CONFIG_TQM_BIGFLASH */ #endif /* CONFIG_TQM_BIGFLASH */
#define CFG_FLASH_CFI /* flash is CFI compat. */ #define CFG_FLASH_CFI /* flash is CFI compat. */
#define CFG_FLASH_CFI_DRIVER /* Use common CFI driver */ #define CONFIG_FLASH_CFI_DRIVER /* Use common CFI driver */
#define CFG_FLASH_EMPTY_INFO /* print 'E' for empty sector */ #define CFG_FLASH_EMPTY_INFO /* print 'E' for empty sector */
#define CFG_FLASH_QUIET_TEST 1 /* don't warn upon unknown flash*/ #define CFG_FLASH_QUIET_TEST 1 /* don't warn upon unknown flash*/
#define CFG_FLASH_USE_BUFFER_WRITE 1 /* speed up output to Flash */ #define CFG_FLASH_USE_BUFFER_WRITE 1 /* speed up output to Flash */

View File

@ -197,7 +197,7 @@
/* use CFI flash driver */ /* use CFI flash driver */
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size } #define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size }
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO
#define CFG_FLASH_USE_BUFFER_WRITE 1 #define CFG_FLASH_USE_BUFFER_WRITE 1

View File

@ -197,7 +197,7 @@
*/ */
/* use CFI flash driver */ /* use CFI flash driver */
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE } #define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE }
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO
#define CFG_FLASH_USE_BUFFER_WRITE 1 #define CFG_FLASH_USE_BUFFER_WRITE 1

View File

@ -201,7 +201,7 @@
/* use CFI flash driver */ /* use CFI flash driver */
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size } #define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size }
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO
#define CFG_FLASH_USE_BUFFER_WRITE 1 #define CFG_FLASH_USE_BUFFER_WRITE 1

View File

@ -201,7 +201,7 @@
/* use CFI flash driver */ /* use CFI flash driver */
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE } #define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE }
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO
#define CFG_FLASH_USE_BUFFER_WRITE 1 #define CFG_FLASH_USE_BUFFER_WRITE 1

View File

@ -241,7 +241,7 @@
*/ */
/* use CFI flash driver */ /* use CFI flash driver */
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE } #define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE }
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO
#define CFG_FLASH_USE_BUFFER_WRITE 1 #define CFG_FLASH_USE_BUFFER_WRITE 1

View File

@ -244,7 +244,7 @@
/* use CFI flash driver */ /* use CFI flash driver */
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE } #define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE }
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO
#define CFG_FLASH_USE_BUFFER_WRITE 1 #define CFG_FLASH_USE_BUFFER_WRITE 1

View File

@ -204,7 +204,7 @@
* Flash configuration * Flash configuration
*/ */
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#if CONFIG_TOTAL5200_REV==2 #if CONFIG_TOTAL5200_REV==2
# define CFG_MAX_FLASH_BANKS 3 /* max num of flash banks */ # define CFG_MAX_FLASH_BANKS 3 /* max num of flash banks */
# define CFG_FLASH_BANKS_LIST { CFG_CS5_START, CFG_CS4_START, CFG_BOOTCS_START } # define CFG_FLASH_BANKS_LIST { CFG_CS5_START, CFG_CS4_START, CFG_BOOTCS_START }

View File

@ -179,7 +179,7 @@
#define CFG_FLSIMM_BASE 0xFF000000 #define CFG_FLSIMM_BASE 0xFF000000
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#define CFG_FLASH_CFI_DRIVER #define CONFIG_FLASH_CFI_DRIVER
#define CFG_MAX_FLASH_BANKS 2 /* max num of flash banks */ #define CFG_MAX_FLASH_BANKS 2 /* max num of flash banks */
#define CFG_MAX_FLASH_SECT 32 /* max num of sects on one chip */ #define CFG_MAX_FLASH_SECT 32 /* max num of sects on one chip */

View File

@ -107,7 +107,7 @@
*----------------------------------------------------------------------*/ *----------------------------------------------------------------------*/
#if !defined(CONFIG_NAND_U_BOOT) && !defined(CONFIG_NAND_SPL) #if !defined(CONFIG_NAND_U_BOOT) && !defined(CONFIG_NAND_SPL)
#define CFG_FLASH_CFI /* The flash is CFI compatible */ #define CFG_FLASH_CFI /* The flash is CFI compatible */
#define CFG_FLASH_CFI_DRIVER /* Use common CFI driver */ #define CONFIG_FLASH_CFI_DRIVER /* Use common CFI driver */
#define CFG_FLASH_BANKS_LIST {CFG_FLASH_BASE} #define CFG_FLASH_BANKS_LIST {CFG_FLASH_BASE}
#define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */ #define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */

View File

@ -162,7 +162,7 @@
/* Use common CFI driver */ /* Use common CFI driver */
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#define CFG_FLASH_CFI_DRIVER #define CONFIG_FLASH_CFI_DRIVER
/* no byte writes on IXP4xx */ /* no byte writes on IXP4xx */
#define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT #define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT
/* print 'E' for empty sector on flinfo */ /* print 'E' for empty sector on flinfo */

View File

@ -136,7 +136,7 @@
/* Use common CFI driver */ /* Use common CFI driver */
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#define CFG_FLASH_CFI_DRIVER #define CONFIG_FLASH_CFI_DRIVER
/* no byte writes on IXP4xx */ /* no byte writes on IXP4xx */
#define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT #define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT

View File

@ -135,7 +135,7 @@
/* Use common CFI driver */ /* Use common CFI driver */
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#define CFG_FLASH_CFI_DRIVER #define CONFIG_FLASH_CFI_DRIVER
/* no byte writes on IXP4xx */ /* no byte writes on IXP4xx */
#define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT #define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT

View File

@ -134,7 +134,7 @@
/* Use common CFI driver */ /* Use common CFI driver */
#define CFG_FLASH_CFI #define CFG_FLASH_CFI
#define CFG_FLASH_CFI_DRIVER #define CONFIG_FLASH_CFI_DRIVER
/* board provides its own flash_init code */ /* board provides its own flash_init code */
#define CONFIG_FLASH_CFI_LEGACY 1 #define CONFIG_FLASH_CFI_LEGACY 1
/* no byte writes on IXP4xx */ /* no byte writes on IXP4xx */

View File

@ -183,7 +183,7 @@
*/ */
#undef CONFIG_BKUP_FLASH #undef CONFIG_BKUP_FLASH
#define CFG_FLASH_CFI /* use the Common Flash Interface */ #define CFG_FLASH_CFI /* use the Common Flash Interface */
#define CFG_FLASH_CFI_DRIVER /* use the CFI driver */ #define CONFIG_FLASH_CFI_DRIVER /* use the CFI driver */
#ifdef CONFIG_BKUP_FLASH #ifdef CONFIG_BKUP_FLASH
#define CFG_FLASH_BASE 0xFF800000 /* start of FLASH */ #define CFG_FLASH_BASE 0xFF800000 /* start of FLASH */
#define CFG_FLASH_SIZE 0x00800000 /* max flash size in bytes */ #define CFG_FLASH_SIZE 0x00800000 /* max flash size in bytes */

View File

@ -225,7 +225,7 @@
/* use CFI flash driver if no module variant is spezified */ /* use CFI flash driver if no module variant is spezified */
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
#define CFG_FLASH_BANKS_LIST { CFG_BOOTCS_START } #define CFG_FLASH_BANKS_LIST { CFG_BOOTCS_START }
#define CFG_FLASH_EMPTY_INFO #define CFG_FLASH_EMPTY_INFO
#define CFG_FLASH_SIZE 0x04000000 /* 64 MByte */ #define CFG_FLASH_SIZE 0x04000000 /* 64 MByte */

View File

@ -86,7 +86,7 @@
* FLASH related * FLASH related
*----------------------------------------------------------------------*/ *----------------------------------------------------------------------*/
#define CFG_FLASH_CFI 1 /* The flash is CFI compatible */ #define CFG_FLASH_CFI 1 /* The flash is CFI compatible */
#define CFG_FLASH_CFI_DRIVER 1 /* Use common CFI driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use common CFI driver */
#define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */ #define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */
#define CFG_MAX_FLASH_SECT 512 /* max number of sectors on one chip */ #define CFG_MAX_FLASH_SECT 512 /* max number of sectors on one chip */
#define CFG_FLASH_USE_BUFFER_WRITE 1 /* use buffered writes (20x faster) */ #define CFG_FLASH_USE_BUFFER_WRITE 1 /* use buffered writes (20x faster) */

View File

@ -215,7 +215,7 @@
* CFI FLASH driver setup * CFI FLASH driver setup
*/ */
# define CFG_FLASH_CFI 1 /* Flash memory is CFI compliant */ # define CFG_FLASH_CFI 1 /* Flash memory is CFI compliant */
# define CFG_FLASH_CFI_DRIVER 1 /* Use drivers/cfi_flash.c */ # define CONFIG_FLASH_CFI_DRIVER 1 /* Use drivers/cfi_flash.c */
/* #define CFG_FLASH_USE_BUFFER_WRITE 1 */ /* Use buffered writes (~10x faster) */ /* #define CFG_FLASH_USE_BUFFER_WRITE 1 */ /* Use buffered writes (~10x faster) */
# define CFG_FLASH_PROTECTION 1 /* Use h/w sector protection*/ # define CFG_FLASH_PROTECTION 1 /* Use h/w sector protection*/

View File

@ -152,7 +152,7 @@
#define CFG_FLASH_BASE PHYS_FLASH_1 #define CFG_FLASH_BASE PHYS_FLASH_1
#define CFG_FLASH_SIZE PHYS_FLASH_SIZE #define CFG_FLASH_SIZE PHYS_FLASH_SIZE
#define CFG_FLASH_CFI 1 /* flash is CFI conformant */ #define CFG_FLASH_CFI 1 /* flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* use common cfi driver */ #define CONFIG_FLASH_CFI_DRIVER 1 /* use common cfi driver */
#define CFG_FLASH_USE_BUFFER_WRITE 1 /* use buffered writes (20x faster) */ #define CFG_FLASH_USE_BUFFER_WRITE 1 /* use buffered writes (20x faster) */
#define CFG_MAX_FLASH_BANKS 1 /* max # of memory banks */ #define CFG_MAX_FLASH_BANKS 1 /* max # of memory banks */
#define CFG_FLASH_INCREMENT 0 /* there is only one bank */ #define CFG_FLASH_INCREMENT 0 /* there is only one bank */

View File

@ -109,7 +109,7 @@
/* NOR flash */ /* NOR flash */
#define CFG_FLASH_CFI 1 #define CFG_FLASH_CFI 1
#define CFG_FLASH_CFI_DRIVER 1 #define CONFIG_FLASH_CFI_DRIVER 1
#define PHYS_FLASH_1 0x10000000 #define PHYS_FLASH_1 0x10000000
#define CFG_FLASH_BASE PHYS_FLASH_1 #define CFG_FLASH_BASE PHYS_FLASH_1
#define CFG_MAX_FLASH_SECT 256 #define CFG_MAX_FLASH_SECT 256

View File

@ -113,7 +113,7 @@
#define CFG_NO_FLASH 1 #define CFG_NO_FLASH 1
#else #else
#define CFG_FLASH_CFI 1 #define CFG_FLASH_CFI 1
#define CFG_FLASH_CFI_DRIVER 1 #define CONFIG_FLASH_CFI_DRIVER 1
#define PHYS_FLASH_1 0x10000000 #define PHYS_FLASH_1 0x10000000
#define CFG_FLASH_BASE PHYS_FLASH_1 #define CFG_FLASH_BASE PHYS_FLASH_1
#define CFG_MAX_FLASH_SECT 256 #define CFG_MAX_FLASH_SECT 256

View File

@ -140,7 +140,7 @@
#define CONFIG_NR_DRAM_BANKS 1 #define CONFIG_NR_DRAM_BANKS 1
#define CFG_FLASH_CFI 1 #define CFG_FLASH_CFI 1
#define CFG_FLASH_CFI_DRIVER 1 #define CONFIG_FLASH_CFI_DRIVER 1
#define CFG_FLASH_BASE 0x00000000 #define CFG_FLASH_BASE 0x00000000
#define CFG_FLASH_SIZE 0x800000 #define CFG_FLASH_SIZE 0x800000

View File

@ -163,7 +163,7 @@
/* External flash on STK1000 */ /* External flash on STK1000 */
#if 0 #if 0
#define CFG_FLASH_CFI 1 #define CFG_FLASH_CFI 1
#define CFG_FLASH_CFI_DRIVER 1 #define CONFIG_FLASH_CFI_DRIVER 1
#endif #endif
#define CFG_FLASH_BASE 0x00000000 #define CFG_FLASH_BASE 0x00000000

View File

@ -146,7 +146,7 @@
/* External flash on STK1000 */ /* External flash on STK1000 */
#if 0 #if 0
#define CFG_FLASH_CFI 1 #define CFG_FLASH_CFI 1
#define CFG_FLASH_CFI_DRIVER 1 #define CONFIG_FLASH_CFI_DRIVER 1
#endif #endif
#define CFG_FLASH_BASE 0x00000000 #define CFG_FLASH_BASE 0x00000000

View File

@ -146,7 +146,7 @@
/* External flash on STK1000 */ /* External flash on STK1000 */
#if 0 #if 0
#define CFG_FLASH_CFI 1 #define CFG_FLASH_CFI 1
#define CFG_FLASH_CFI_DRIVER 1 #define CONFIG_FLASH_CFI_DRIVER 1
#endif #endif
#define CFG_FLASH_BASE 0x00000000 #define CFG_FLASH_BASE 0x00000000

View File

@ -163,7 +163,7 @@
/* External flash on STK1000 */ /* External flash on STK1000 */
#if 0 #if 0
#define CFG_FLASH_CFI 1 #define CFG_FLASH_CFI 1
#define CFG_FLASH_CFI_DRIVER 1 #define CONFIG_FLASH_CFI_DRIVER 1
#endif #endif
#define CFG_FLASH_BASE 0x00000000 #define CFG_FLASH_BASE 0x00000000

Some files were not shown because too many files have changed in this diff Show More