From: Peter Tyser Date: Tue, 23 Sep 2008 17:39:40 +0000 (-0500) Subject: Remove unused CFG_EEPROM_PAGE_WRITE_ENABLE references X-Git-Url: http://git.ipfire.org/?p=people%2Fms%2Fu-boot.git;a=commitdiff_plain;h=abbb90666d5ef2f500ebbedbb80ff60adc56b043 Remove unused CFG_EEPROM_PAGE_WRITE_ENABLE references Signed-off-by: Peter Tyser --- diff --git a/doc/README.PIP405 b/doc/README.PIP405 index 610ff2161d..07756a5d50 100644 --- a/doc/README.PIP405 +++ b/doc/README.PIP405 @@ -132,14 +132,6 @@ Identify: --------- CONFIG_IDENT_STRING added to the U_BOOT_VERSION String - -I2C stuff: ----------- -CFG_EEPROM_PAGE_WRITE_ENABLE enables page write of the I2C EEPROM - CFG_EEPROM_PAGE_WRITE_BITS _must_ be - defined. - - Environment / Console: ---------------------- diff --git a/include/configs/APC405.h b/include/configs/APC405.h index fa7798e8ff..4d6b7ac449 100644 --- a/include/configs/APC405.h +++ b/include/configs/APC405.h @@ -315,7 +315,6 @@ extern int flash_banks; /* 16 byte page write mode using*/ /* last 4 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /* * External Bus Controller (EBC) Setup diff --git a/include/configs/ASH405.h b/include/configs/ASH405.h index 228571419d..9b08af51b7 100644 --- a/include/configs/ASH405.h +++ b/include/configs/ASH405.h @@ -256,7 +256,6 @@ /* 16 byte page write mode using*/ /* last 4 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /* * Init Memory Controller: diff --git a/include/configs/B2.h b/include/configs/B2.h index 1a8114b317..a7cb3e22e9 100644 --- a/include/configs/B2.h +++ b/include/configs/B2.h @@ -194,7 +194,6 @@ /* 16 byte page write mode using*/ /* last 4 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /* Flash banks JFFS2 should use */ /* diff --git a/include/configs/CATcenter.h b/include/configs/CATcenter.h index 8862898ce3..6946871e0d 100644 --- a/include/configs/CATcenter.h +++ b/include/configs/CATcenter.h @@ -419,7 +419,6 @@ /* 16 byte page write mode using*/ /* last 4 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /*----------------------------------------------------------------------- * Cache Configuration diff --git a/include/configs/CMS700.h b/include/configs/CMS700.h index 7c5efc2ea6..9aec746621 100644 --- a/include/configs/CMS700.h +++ b/include/configs/CMS700.h @@ -268,7 +268,6 @@ /* 16 byte page write mode using*/ /* last 4 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CFG_EEPROM_WREN 1 diff --git a/include/configs/CPCI2DP.h b/include/configs/CPCI2DP.h index bd627e198f..208f1a2116 100644 --- a/include/configs/CPCI2DP.h +++ b/include/configs/CPCI2DP.h @@ -219,7 +219,6 @@ /* 16 byte page write mode using*/ /* last 4 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CFG_EEPROM_WREN 1 diff --git a/include/configs/CPCI405.h b/include/configs/CPCI405.h index 85231341b6..2e948f5448 100644 --- a/include/configs/CPCI405.h +++ b/include/configs/CPCI405.h @@ -264,7 +264,6 @@ /* 16 byte page write mode using*/ /* last 4 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /* * Init Memory Controller: diff --git a/include/configs/CPCI4052.h b/include/configs/CPCI4052.h index 228821a04e..199f577613 100644 --- a/include/configs/CPCI4052.h +++ b/include/configs/CPCI4052.h @@ -283,7 +283,6 @@ /* 16 byte page write mode using*/ /* last 4 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /* * Init Memory Controller: diff --git a/include/configs/CPCI405AB.h b/include/configs/CPCI405AB.h index 065b85547a..cd8a65bce0 100644 --- a/include/configs/CPCI405AB.h +++ b/include/configs/CPCI405AB.h @@ -259,7 +259,6 @@ /* 32 byte page write mode using*/ /* last 5 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /* Use EEPROM for environment variables */ diff --git a/include/configs/CPCI405DT.h b/include/configs/CPCI405DT.h index ffbe036346..c67e51c0bf 100644 --- a/include/configs/CPCI405DT.h +++ b/include/configs/CPCI405DT.h @@ -286,7 +286,6 @@ /* 16 byte page write mode using*/ /* last 4 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /* * Init Memory Controller: diff --git a/include/configs/CPCIISER4.h b/include/configs/CPCIISER4.h index bfb42421f5..d7e9739454 100644 --- a/include/configs/CPCIISER4.h +++ b/include/configs/CPCIISER4.h @@ -198,7 +198,6 @@ /* 16 byte page write mode using*/ /* last 4 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CONFIG_ENV_IS_IN_EEPROM 1 /* use EEPROM for environment vars */ #define CONFIG_ENV_OFFSET 0x000 /* environment starts at the beginning of the EEPROM */ diff --git a/include/configs/DP405.h b/include/configs/DP405.h index acc2bd2639..df9bc7af46 100644 --- a/include/configs/DP405.h +++ b/include/configs/DP405.h @@ -239,7 +239,6 @@ /* 16 byte page write mode using*/ /* last 4 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /*----------------------------------------------------------------------- * External Bus Controller (EBC) Setup diff --git a/include/configs/DU405.h b/include/configs/DU405.h index 7debc69af3..b93e2a8ab4 100644 --- a/include/configs/DU405.h +++ b/include/configs/DU405.h @@ -225,7 +225,6 @@ /* 16 byte page write mode using*/ /* last 4 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CONFIG_ENV_IS_IN_EEPROM 1 /* use EEPROM for environment vars */ #define CONFIG_ENV_OFFSET 0x000 /* environment starts at the beginning of the EEPROM */ diff --git a/include/configs/DU440.h b/include/configs/DU440.h index fd0c046ce6..c408e43ec8 100644 --- a/include/configs/DU440.h +++ b/include/configs/DU440.h @@ -182,7 +182,6 @@ #define CFG_I2C_MULTI_EEPROMS #define CFG_I2C_EEPROM_ADDR 0x54 #define CFG_I2C_EEPROM_ADDR_LEN 2 -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CFG_EEPROM_PAGE_WRITE_BITS 5 #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 #define CFG_I2C_EEPROM_ADDR_OVERFLOW 0x01 diff --git a/include/configs/G2000.h b/include/configs/G2000.h index 81a12f159d..f43d0c5945 100644 --- a/include/configs/G2000.h +++ b/include/configs/G2000.h @@ -328,7 +328,6 @@ /* 16 byte page write mode using*/ /* last 4 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /*----------------------------------------------------------------------- * External Bus Controller (EBC) Setup diff --git a/include/configs/HH405.h b/include/configs/HH405.h index 7ff03b17a7..52baae08ca 100644 --- a/include/configs/HH405.h +++ b/include/configs/HH405.h @@ -360,7 +360,6 @@ /* last 5 bits of the address */ #endif #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /*----------------------------------------------------------------------- * External Bus Controller (EBC) Setup diff --git a/include/configs/HUB405.h b/include/configs/HUB405.h index 0727606bbb..2a61e779ef 100644 --- a/include/configs/HUB405.h +++ b/include/configs/HUB405.h @@ -255,7 +255,6 @@ /* 16 byte page write mode using*/ /* last 4 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /* * Init Memory Controller: diff --git a/include/configs/MIP405.h b/include/configs/MIP405.h index 4527c17eac..28b3802604 100644 --- a/include/configs/MIP405.h +++ b/include/configs/MIP405.h @@ -110,7 +110,6 @@ #define CFG_EEPROM_PAGE_WRITE_BITS 6 /* The Atmel 24C128/256 has */ /* 64 byte page write mode using*/ /* last 6 bits of the address */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /* enable Page write */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ diff --git a/include/configs/MPC8323ERDB.h b/include/configs/MPC8323ERDB.h index 1ae5bae7c0..b95f54d9e8 100644 --- a/include/configs/MPC8323ERDB.h +++ b/include/configs/MPC8323ERDB.h @@ -328,7 +328,6 @@ #define CFG_I2C_EEPROM_ADDR_LEN 2 #define CFG_EEPROM_PAGE_WRITE_BITS 6 #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 -#define CFG_EEPROM_PAGE_WRITE_ENABLE /* * General PCI diff --git a/include/configs/OCRTC.h b/include/configs/OCRTC.h index 17b00a15f9..14dabdcd74 100644 --- a/include/configs/OCRTC.h +++ b/include/configs/OCRTC.h @@ -220,7 +220,6 @@ /* 16 byte page write mode using*/ /* last 4 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /* * Init Memory Controller: diff --git a/include/configs/ORSG.h b/include/configs/ORSG.h index 4f4b13ddbf..289bba547c 100644 --- a/include/configs/ORSG.h +++ b/include/configs/ORSG.h @@ -218,7 +218,6 @@ /* 16 byte page write mode using*/ /* last 4 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /* * Init Memory Controller: diff --git a/include/configs/PCI405.h b/include/configs/PCI405.h index 2837b51175..b0ca5a85e4 100644 --- a/include/configs/PCI405.h +++ b/include/configs/PCI405.h @@ -249,7 +249,6 @@ /* 16 byte page write mode using*/ /* last 4 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /* * Init Memory Controller: diff --git a/include/configs/PIP405.h b/include/configs/PIP405.h index 895b89c204..6e8d7ada19 100644 --- a/include/configs/PIP405.h +++ b/include/configs/PIP405.h @@ -103,7 +103,6 @@ #define CFG_EEPROM_PAGE_WRITE_BITS 6 /* The Atmel 24C128/256 has */ /* 64 byte page write mode using*/ /* last 6 bits of the address */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /* enable Page write */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ diff --git a/include/configs/PLU405.h b/include/configs/PLU405.h index 8463ed52b9..337cbfb1e2 100644 --- a/include/configs/PLU405.h +++ b/include/configs/PLU405.h @@ -295,7 +295,6 @@ /* 16 byte page write mode using */ /* last 4 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /* * External Bus Controller (EBC) Setup diff --git a/include/configs/PMC405.h b/include/configs/PMC405.h index e5430592d1..4a42573709 100644 --- a/include/configs/PMC405.h +++ b/include/configs/PMC405.h @@ -267,7 +267,6 @@ /* 16 byte page write mode using*/ /* last 4 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /*----------------------------------------------------------------------- * External Bus Controller (EBC) Setup diff --git a/include/configs/PMC440.h b/include/configs/PMC440.h index 467a11c107..963987e1e3 100644 --- a/include/configs/PMC440.h +++ b/include/configs/PMC440.h @@ -233,7 +233,6 @@ #define CFG_I2C_EEPROM_ADDR 0x54 #define CFG_I2C_EEPROM_ADDR_LEN 2 -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CFG_EEPROM_PAGE_WRITE_BITS 5 #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 #define CFG_I2C_EEPROM_ADDR_OVERFLOW 0x01 diff --git a/include/configs/PPChameleonEVB.h b/include/configs/PPChameleonEVB.h index cc3ef1c392..d9d87060ba 100644 --- a/include/configs/PPChameleonEVB.h +++ b/include/configs/PPChameleonEVB.h @@ -452,7 +452,6 @@ /* 16 byte page write mode using*/ /* last 4 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /* * Init Memory Controller: diff --git a/include/configs/TASREG.h b/include/configs/TASREG.h index dd074dc5cd..d27a54ed29 100644 --- a/include/configs/TASREG.h +++ b/include/configs/TASREG.h @@ -148,7 +148,6 @@ /* 32 byte page write mode using*/ /* last 5 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE #if defined (CONFIG_SOFT_I2C) #if 0 /* push-pull */ diff --git a/include/configs/TQM8272.h b/include/configs/TQM8272.h index 4e8cccd9a7..072608c735 100644 --- a/include/configs/TQM8272.h +++ b/include/configs/TQM8272.h @@ -119,7 +119,6 @@ #define CFG_I2C_EEPROM_ADDR_LEN 2 #define CFG_EEPROM_PAGE_WRITE_BITS 4 #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /* necessary for the LM75 chip */ #define CFG_I2C_MULTI_EEPROMS 1 /* more than one eeprom */ /* I2C RTC */ diff --git a/include/configs/TQM834x.h b/include/configs/TQM834x.h index 3fd46a0966..7b062f41ac 100644 --- a/include/configs/TQM834x.h +++ b/include/configs/TQM834x.h @@ -213,7 +213,6 @@ extern int tqm834x_num_flash_banks; #define CFG_I2C_EEPROM_ADDR 0x50 /* 1010000x */ #define CFG_I2C_EEPROM_ADDR_LEN 2 /* 16 bit */ #define CFG_EEPROM_PAGE_WRITE_BITS 5 /* 32 bytes per write */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 12 /* 10ms +/- 20% */ #define CFG_I2C_MULTI_EEPROMS 1 /* more than one eeprom */ diff --git a/include/configs/TQM85xx.h b/include/configs/TQM85xx.h index fcf0f59ba5..7ecbb7ebc9 100644 --- a/include/configs/TQM85xx.h +++ b/include/configs/TQM85xx.h @@ -323,7 +323,6 @@ #define CFG_I2C_EEPROM_ADDR 0x50 /* 1010000x */ #define CFG_I2C_EEPROM_ADDR_LEN 2 #define CFG_EEPROM_PAGE_WRITE_BITS 5 /* =32 Bytes per write */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 20 #define CFG_I2C_MULTI_EEPROMS 1 /* more than one eeprom */ diff --git a/include/configs/VOH405.h b/include/configs/VOH405.h index d5c0a5e05c..93d049f406 100644 --- a/include/configs/VOH405.h +++ b/include/configs/VOH405.h @@ -292,7 +292,6 @@ /* 32 byte page write mode using*/ /* last 5 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /*----------------------------------------------------------------------- * External Bus Controller (EBC) Setup diff --git a/include/configs/VOM405.h b/include/configs/VOM405.h index b952e0cbd4..5c147306c6 100644 --- a/include/configs/VOM405.h +++ b/include/configs/VOM405.h @@ -214,7 +214,6 @@ /* 16 byte page write mode using*/ /* last 4 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /* * External Bus Controller (EBC) Setup diff --git a/include/configs/W7OLMC.h b/include/configs/W7OLMC.h index 95e4556076..6a51880a8a 100644 --- a/include/configs/W7OLMC.h +++ b/include/configs/W7OLMC.h @@ -279,7 +279,6 @@ #define CFG_I2C_EEPROM_ADDR_LEN 1 /* Bytes of address */ /* mask of address bits that overflow into the "EEPROM chip address" */ #define CFG_I2C_EEPROM_ADDR_OVERFLOW 0x07 -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CFG_EEPROM_PAGE_WRITE_BITS 4 /* The Catalyst CAT24WC08 has */ /* 16 byte page write mode using*/ /* last 4 bits of the address */ diff --git a/include/configs/W7OLMG.h b/include/configs/W7OLMG.h index 9c5bbff9fe..c3b39f2186 100644 --- a/include/configs/W7OLMG.h +++ b/include/configs/W7OLMG.h @@ -284,7 +284,6 @@ #define CFG_I2C_EEPROM_ADDR 0x50 /* EEPROM ATMEL 24C04N */ #define CFG_I2C_EEPROM_ADDR_LEN 1 /* Bytes of address */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CFG_EEPROM_PAGE_WRITE_BITS 3 #define CFG_I2C_MULTI_EEPROMS /*----------------------------------------------------------------------- diff --git a/include/configs/WUH405.h b/include/configs/WUH405.h index c3fc3afeac..afe1da9954 100644 --- a/include/configs/WUH405.h +++ b/include/configs/WUH405.h @@ -252,7 +252,6 @@ /* 16 byte page write mode using*/ /* last 4 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /* * Init Memory Controller: diff --git a/include/configs/XPEDITE1K.h b/include/configs/XPEDITE1K.h index 77b29f48af..d533b17afd 100644 --- a/include/configs/XPEDITE1K.h +++ b/include/configs/XPEDITE1K.h @@ -156,7 +156,6 @@ extern void out32(unsigned int, unsigned long); #define CONFIG_ENV_OFFSET 0x100 #define CFG_I2C_EEPROM_ADDR 0x50 /* this is actually the second page of the eeprom */ #define CFG_I2C_EEPROM_ADDR_LEN 1 -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CFG_EEPROM_PAGE_WRITE_BITS 3 #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 diff --git a/include/configs/acadia.h b/include/configs/acadia.h index 1b1fd296c3..29a8eb693a 100644 --- a/include/configs/acadia.h +++ b/include/configs/acadia.h @@ -203,7 +203,6 @@ #define CFG_I2C_MULTI_EEPROMS #define CFG_I2C_EEPROM_ADDR (0xa8>>1) #define CFG_I2C_EEPROM_ADDR_LEN 1 -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CFG_EEPROM_PAGE_WRITE_BITS 3 #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 diff --git a/include/configs/alpr.h b/include/configs/alpr.h index c80c76afd5..8c4eb59fa3 100644 --- a/include/configs/alpr.h +++ b/include/configs/alpr.h @@ -133,7 +133,6 @@ /* 8 byte page write mode using */ /* last 3 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 40 /* and takes up to 40 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CONFIG_PREBOOT "echo;" \ "echo Type \"run kernelx\" to boot the system;" \ diff --git a/include/configs/bamboo.h b/include/configs/bamboo.h index 31c725f011..773b15a5e6 100644 --- a/include/configs/bamboo.h +++ b/include/configs/bamboo.h @@ -229,7 +229,6 @@ #define CFG_I2C_MULTI_EEPROMS #define CFG_I2C_EEPROM_ADDR (0xa8>>1) #define CFG_I2C_EEPROM_ADDR_LEN 1 -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CFG_EEPROM_PAGE_WRITE_BITS 3 #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 diff --git a/include/configs/canyonlands.h b/include/configs/canyonlands.h index 2f162e1f1a..cd3e6a311f 100644 --- a/include/configs/canyonlands.h +++ b/include/configs/canyonlands.h @@ -243,7 +243,6 @@ #define CFG_I2C_MULTI_EEPROMS #define CFG_I2C_EEPROM_ADDR (0xa8>>1) #define CFG_I2C_EEPROM_ADDR_LEN 1 -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CFG_EEPROM_PAGE_WRITE_BITS 3 #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 diff --git a/include/configs/ebony.h b/include/configs/ebony.h index 3affdd2f66..2c9c9c1d35 100644 --- a/include/configs/ebony.h +++ b/include/configs/ebony.h @@ -143,7 +143,6 @@ #define CFG_I2C_MULTI_EEPROMS #define CFG_I2C_EEPROM_ADDR (0xa8>>1) #define CFG_I2C_EEPROM_ADDR_LEN 1 -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CFG_EEPROM_PAGE_WRITE_BITS 3 #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 diff --git a/include/configs/ep82xxm.h b/include/configs/ep82xxm.h index a5019001ba..60df12fcea 100644 --- a/include/configs/ep82xxm.h +++ b/include/configs/ep82xxm.h @@ -220,7 +220,6 @@ #define CFG_I2C_EEPROM_ADDR 0x54 #define CFG_I2C_EEPROM_ADDR_LEN 1 #define CFG_EEPROM_PAGE_WRITE_BITS 3 -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 #ifdef CONFIG_ENV_IS_IN_EEPROM diff --git a/include/configs/hcu4.h b/include/configs/hcu4.h index b51ea4ea31..0a9800a1f5 100644 --- a/include/configs/hcu4.h +++ b/include/configs/hcu4.h @@ -162,7 +162,6 @@ #define CFG_I2C_EEPROM_ADDR_OVERFLOW 0x07 #define CFG_EEPROM_PAGE_WRITE_BITS 4 #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 -#define CFG_EEPROM_PAGE_WRITE_ENABLE #undef CFG_I2C_MULTI_EEPROMS diff --git a/include/configs/hcu5.h b/include/configs/hcu5.h index 1874ff238f..6b23839ecc 100644 --- a/include/configs/hcu5.h +++ b/include/configs/hcu5.h @@ -163,7 +163,6 @@ #define CFG_I2C_EEPROM_ADDR_OVERFLOW 0x07 #define CFG_EEPROM_PAGE_WRITE_BITS 4 #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 -#define CFG_EEPROM_PAGE_WRITE_ENABLE #undef CFG_I2C_MULTI_EEPROMS diff --git a/include/configs/hymod.h b/include/configs/hymod.h index 9c704c651d..4c83193f8c 100644 --- a/include/configs/hymod.h +++ b/include/configs/hymod.h @@ -288,7 +288,6 @@ /* mask of address bits that overflow into the "EEPROM chip address" */ #define CFG_I2C_EEPROM_ADDR_OVERFLOW 0x07 -#define CFG_EEPROM_PAGE_WRITE_ENABLE 1 /* write eeprom in pages */ #define CFG_EEPROM_PAGE_WRITE_BITS 4 /* 16 byte write page size */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ diff --git a/include/configs/katmai.h b/include/configs/katmai.h index fac284456a..b0dc175afe 100644 --- a/include/configs/katmai.h +++ b/include/configs/katmai.h @@ -132,7 +132,6 @@ #define CFG_I2C_MULTI_EEPROMS #define CFG_I2C_EEPROM_ADDR (0x50) #define CFG_I2C_EEPROM_ADDR_LEN 1 -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CFG_EEPROM_PAGE_WRITE_BITS 3 #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 diff --git a/include/configs/luan.h b/include/configs/luan.h index 2259ec34de..21a6c2987f 100644 --- a/include/configs/luan.h +++ b/include/configs/luan.h @@ -139,7 +139,6 @@ #define CFG_I2C_MULTI_EEPROMS #define CFG_I2C_EEPROM_ADDR (0xa8>>1) #define CFG_I2C_EEPROM_ADDR_LEN 1 -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CFG_EEPROM_PAGE_WRITE_BITS 3 #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 diff --git a/include/configs/lwmon5.h b/include/configs/lwmon5.h index c09e301ce0..7540c8e852 100644 --- a/include/configs/lwmon5.h +++ b/include/configs/lwmon5.h @@ -267,7 +267,6 @@ /* 64 byte page write mode using*/ /* last 6 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CONFIG_RTC_PCF8563 1 /* enable Philips PCF8563 RTC */ #define CFG_I2C_RTC_ADDR 0x51 /* Philips PCF8563 RTC address */ diff --git a/include/configs/mcu25.h b/include/configs/mcu25.h index 9a83f083a8..80011eb044 100644 --- a/include/configs/mcu25.h +++ b/include/configs/mcu25.h @@ -162,7 +162,6 @@ #define CFG_I2C_EEPROM_ADDR_OVERFLOW 0x07 #define CFG_EEPROM_PAGE_WRITE_BITS 4 #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 -#define CFG_EEPROM_PAGE_WRITE_ENABLE #undef CFG_I2C_MULTI_EEPROMS diff --git a/include/configs/motionpro.h b/include/configs/motionpro.h index 73a03a8ee5..cae49de1a2 100644 --- a/include/configs/motionpro.h +++ b/include/configs/motionpro.h @@ -308,7 +308,6 @@ * EEPROM configuration */ #define CFG_I2C_EEPROM_ADDR_LEN 1 -#define CFG_EEPROM_PAGE_WRITE_ENABLE 1 /* DTT driver needs this */ #define CFG_EEPROM_PAGE_WRITE_BITS 1 /* 2 bytes per write cycle */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 5 /* 2ms/cycle + 3ms extra */ #define CFG_I2C_MULTI_EEPROMS 1 /* 2 EEPROMs (addr:50,52) */ diff --git a/include/configs/muas3001.h b/include/configs/muas3001.h index c661829792..1e91b62168 100644 --- a/include/configs/muas3001.h +++ b/include/configs/muas3001.h @@ -241,7 +241,6 @@ #define CFG_I2C_SPEED 100000 /* I2C speed and slave address */ #define CFG_I2C_SLAVE 0x7F -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CFG_EEPROM_PAGE_WRITE_BITS 3 /* I2C SYSMON (LM75, AD7414 is almost compatible) */ #define CONFIG_DTT_LM75 1 /* ON Semi's LM75 */ diff --git a/include/configs/mucmc52.h b/include/configs/mucmc52.h index 8971f0b6c8..517b3b7e4c 100644 --- a/include/configs/mucmc52.h +++ b/include/configs/mucmc52.h @@ -136,8 +136,6 @@ #define CFG_I2C_EEPROM_ADDR_LEN 1 #define CFG_EEPROM_PAGE_WRITE_BITS 4 #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 -/* for LM81 */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /* * RTC configuration diff --git a/include/configs/ocotea.h b/include/configs/ocotea.h index 6a8665e4e2..d9b277c0e4 100644 --- a/include/configs/ocotea.h +++ b/include/configs/ocotea.h @@ -157,7 +157,6 @@ #define CFG_I2C_MULTI_EEPROMS #define CFG_I2C_EEPROM_ADDR (0xa8>>1) #define CFG_I2C_EEPROM_ADDR_LEN 1 -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CFG_EEPROM_PAGE_WRITE_BITS 3 #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 diff --git a/include/configs/p3p440.h b/include/configs/p3p440.h index 5cef3ea691..da3ce5456a 100644 --- a/include/configs/p3p440.h +++ b/include/configs/p3p440.h @@ -112,7 +112,6 @@ /* 8 byte page write mode using */ /* last 3 bits of the address */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 40 /* and takes up to 40 msec */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /*----------------------------------------------------------------------- * Default configuration (environment varibles...) diff --git a/include/configs/pcs440ep.h b/include/configs/pcs440ep.h index 62f13f2959..66075d2824 100644 --- a/include/configs/pcs440ep.h +++ b/include/configs/pcs440ep.h @@ -143,7 +143,6 @@ #define CFG_I2C_EEPROM_ADDR (0xa4>>1) #define CFG_I2C_EEPROM_ADDR_LEN 1 -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CFG_EEPROM_PAGE_WRITE_BITS 3 #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 diff --git a/include/configs/sequoia.h b/include/configs/sequoia.h index d39a894d2a..35331e8ae7 100644 --- a/include/configs/sequoia.h +++ b/include/configs/sequoia.h @@ -225,7 +225,6 @@ #define CFG_I2C_MULTI_EEPROMS #define CFG_I2C_EEPROM_ADDR (0xa8>>1) #define CFG_I2C_EEPROM_ADDR_LEN 1 -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CFG_EEPROM_PAGE_WRITE_BITS 3 #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 diff --git a/include/configs/socrates.h b/include/configs/socrates.h index bbb9d18b5b..c4255f14e7 100644 --- a/include/configs/socrates.h +++ b/include/configs/socrates.h @@ -263,7 +263,6 @@ #define CFG_DTT_MAX_TEMP 125 #define CFG_DTT_LOW_TEMP -55 #define CFG_DTT_HYSTERESIS 3 -#define CFG_EEPROM_PAGE_WRITE_ENABLE /* necessary for the LM75 chip */ #define CFG_EEPROM_PAGE_WRITE_BITS 4 /* diff --git a/include/configs/stxssa.h b/include/configs/stxssa.h index 5926943d9a..c49538e19c 100644 --- a/include/configs/stxssa.h +++ b/include/configs/stxssa.h @@ -216,7 +216,6 @@ #define CFG_I2C_EEPROM_ADDR 0x51 /* 1010001x */ #define CFG_I2C_EEPROM_ADDR_LEN 2 #define CFG_EEPROM_PAGE_WRITE_BITS 5 /* =32 Bytes per write */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 20 /* diff --git a/include/configs/taishan.h b/include/configs/taishan.h index 08ec14c7fa..2422ae788d 100644 --- a/include/configs/taishan.h +++ b/include/configs/taishan.h @@ -139,7 +139,6 @@ #undef CFG_I2C_MULTI_EEPROMS #define CFG_I2C_EEPROM_ADDR 0x50 #define CFG_I2C_EEPROM_ADDR_LEN 1 -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CFG_EEPROM_PAGE_WRITE_BITS 3 #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 diff --git a/include/configs/uc101.h b/include/configs/uc101.h index c709033f49..e8daae33b9 100644 --- a/include/configs/uc101.h +++ b/include/configs/uc101.h @@ -138,8 +138,6 @@ #define CFG_I2C_EEPROM_ADDR_LEN 1 #define CFG_EEPROM_PAGE_WRITE_BITS 4 #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 -/* for LM81 */ -#define CFG_EEPROM_PAGE_WRITE_ENABLE /* * RTC configuration diff --git a/include/configs/walnut.h b/include/configs/walnut.h index 9676cd633e..d3d079a8a1 100644 --- a/include/configs/walnut.h +++ b/include/configs/walnut.h @@ -98,7 +98,6 @@ #define CFG_I2C_MULTI_EEPROMS #define CFG_I2C_EEPROM_ADDR (0xa8>>1) #define CFG_I2C_EEPROM_ADDR_LEN 1 -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CFG_EEPROM_PAGE_WRITE_BITS 3 #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 diff --git a/include/configs/yosemite.h b/include/configs/yosemite.h index afdce82379..06389f3804 100644 --- a/include/configs/yosemite.h +++ b/include/configs/yosemite.h @@ -143,7 +143,6 @@ #define CFG_I2C_MULTI_EEPROMS #define CFG_I2C_EEPROM_ADDR (0xa8>>1) #define CFG_I2C_EEPROM_ADDR_LEN 1 -#define CFG_EEPROM_PAGE_WRITE_ENABLE #define CFG_EEPROM_PAGE_WRITE_BITS 3 #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 diff --git a/include/configs/zeus.h b/include/configs/zeus.h index d4270954d1..abf6bd3023 100644 --- a/include/configs/zeus.h +++ b/include/configs/zeus.h @@ -175,7 +175,6 @@ /* mask of address bits that overflow into the "EEPROM chip address" */ #define CFG_I2C_EEPROM_ADDR_OVERFLOW 0x07 -#define CFG_EEPROM_PAGE_WRITE_ENABLE 1 /* write eeprom in pages */ #define CFG_EEPROM_PAGE_WRITE_BITS 3 /* 8 byte write page size */ #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */