diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-06-02 19:49:28 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-06-02 19:49:28 +0000 |
commit | 93e8eb8171803d3c4c790e37ca6f6f23a2cff563 (patch) | |
tree | 0cd12d5dcfabdc8212f758bb9724f64ddcf97bd6 /target/linux/generic-2.6/patches-2.6.26/009-revert_intel_flash_breakage.patch | |
parent | f9518d9a74d4a418e32a48365dde1fc6b1b14387 (diff) | |
download | upstream-93e8eb8171803d3c4c790e37ca6f6f23a2cff563.tar.gz upstream-93e8eb8171803d3c4c790e37ca6f6f23a2cff563.tar.bz2 upstream-93e8eb8171803d3c4c790e37ca6f6f23a2cff563.zip |
refresh generic 2.6.26 patches
SVN-Revision: 11336
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.26/009-revert_intel_flash_breakage.patch')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.26/009-revert_intel_flash_breakage.patch | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.26/009-revert_intel_flash_breakage.patch b/target/linux/generic-2.6/patches-2.6.26/009-revert_intel_flash_breakage.patch index d2c1dc5d4b..21c2bde58c 100644 --- a/target/linux/generic-2.6/patches-2.6.26/009-revert_intel_flash_breakage.patch +++ b/target/linux/generic-2.6/patches-2.6.26/009-revert_intel_flash_breakage.patch @@ -1,6 +1,6 @@ --- a/drivers/mtd/chips/cfi_cmdset_0001.c +++ b/drivers/mtd/chips/cfi_cmdset_0001.c -@@ -1008,7 +1008,7 @@ +@@ -1010,7 +1010,7 @@ static int __xipram xip_wait_for_operation( struct map_info *map, struct flchip *chip, @@ -9,7 +9,7 @@ { struct cfi_private *cfi = map->fldrv_priv; struct cfi_pri_intelext *cfip = cfi->cmdset_priv; -@@ -1017,7 +1017,7 @@ +@@ -1019,7 +1019,7 @@ flstate_t oldstate, newstate; start = xip_currtime(); @@ -18,7 +18,7 @@ if (usec == 0) usec = 500000; done = 0; -@@ -1127,8 +1127,8 @@ +@@ -1129,8 +1129,8 @@ #define XIP_INVAL_CACHED_RANGE(map, from, size) \ INVALIDATE_CACHED_RANGE(map, from, size) @@ -29,7 +29,7 @@ #else -@@ -1140,65 +1140,65 @@ +@@ -1142,65 +1142,65 @@ static int inval_cache_and_wait_for_operation( struct map_info *map, struct flchip *chip, unsigned long cmd_adr, unsigned long inval_adr, int inval_len, @@ -130,7 +130,7 @@ /* Done and happy. */ chip->state = FL_STATUS; return 0; -@@ -1207,7 +1207,8 @@ +@@ -1209,7 +1209,8 @@ #endif #define WAIT_TIMEOUT(map, chip, adr, udelay) \ @@ -140,7 +140,7 @@ static int do_point_onechip (struct map_info *map, struct flchip *chip, loff_t adr, size_t len) -@@ -1438,7 +1439,7 @@ +@@ -1443,7 +1444,7 @@ ret = INVAL_CACHE_AND_WAIT(map, chip, adr, adr, map_bankwidth(map), @@ -149,7 +149,7 @@ if (ret) { xip_enable(map, chip, adr); printk(KERN_ERR "%s: word write error (status timeout)\n", map->name); -@@ -1678,7 +1679,7 @@ +@@ -1683,7 +1684,7 @@ ret = INVAL_CACHE_AND_WAIT(map, chip, cmd_adr, initial_adr, initial_len, @@ -158,7 +158,7 @@ if (ret) { map_write(map, CMD(0x70), cmd_adr); chip->state = FL_STATUS; -@@ -1813,7 +1814,7 @@ +@@ -1818,7 +1819,7 @@ ret = INVAL_CACHE_AND_WAIT(map, chip, adr, adr, len, |