diff options
author | John Crispin <blogic@openwrt.org> | 2010-08-06 15:49:42 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2010-08-06 15:49:42 +0000 |
commit | d7a87e6551a6bb78d3f892e187f9f90e4287d1c4 (patch) | |
tree | 60b055fcb96e047becbeb0bc2c643591a1e9b628 /target/linux/ifxmips/patches-2.6.33 | |
parent | b5598e8bd468c78077cac6f941b488c42811acc9 (diff) | |
download | master-187ad058-d7a87e6551a6bb78d3f892e187f9f90e4287d1c4.tar.gz master-187ad058-d7a87e6551a6bb78d3f892e187f9f90e4287d1c4.tar.bz2 master-187ad058-d7a87e6551a6bb78d3f892e187f9f90e4287d1c4.zip |
[ifxmips]
* remove references to gpio_dev
* make vmmc driver register its own memory and dont rely on arch code to do so
* makes any Danube board with a CFI commandset 2 NOR flash chip functional again
* fixes filenames of downloaded firmwares
thanks, Ithamar R. Adema
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22515 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ifxmips/patches-2.6.33')
-rw-r--r-- | target/linux/ifxmips/patches-2.6.33/200-cfi-swap.patch | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/target/linux/ifxmips/patches-2.6.33/200-cfi-swap.patch b/target/linux/ifxmips/patches-2.6.33/200-cfi-swap.patch index e43a1d204d..4f40db7bce 100644 --- a/target/linux/ifxmips/patches-2.6.33/200-cfi-swap.patch +++ b/target/linux/ifxmips/patches-2.6.33/200-cfi-swap.patch @@ -25,7 +25,20 @@ case FL_WRITING: --- a/drivers/mtd/chips/cfi_cmdset_0002.c +++ b/drivers/mtd/chips/cfi_cmdset_0002.c -@@ -1068,7 +1068,9 @@ static int __xipram do_write_oneword(str +@@ -39,7 +39,11 @@ + #include <linux/mtd/xip.h> + + #define AMD_BOOTLOC_BUG +-#define FORCE_WORD_WRITE 0 ++#ifdef CONFIG_IFXMIPS ++# define FORCE_WORD_WRITE 1 ++#else ++# define FORCE_WORD_WRITE 0 ++#endif + + #define MAX_WORD_RETRIES 3 + +@@ -1096,7 +1096,9 @@ static int __xipram do_write_oneword(str int retry_cnt = 0; adr += chip->start; |