aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.3/404-bcm963xx_flashmap.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2012-11-24 14:19:09 +0000
committerJonas Gorski <jogo@openwrt.org>2012-11-24 14:19:09 +0000
commit1baeede9398688bcd895cc730f6f74fd60eee442 (patch)
tree390b61df85cfe3a3f076a3c7244d2bb6217117c2 /target/linux/brcm63xx/patches-3.3/404-bcm963xx_flashmap.patch
parent2a01fa43a5364b6f60125f889505d8dd458dcc96 (diff)
downloadupstream-1baeede9398688bcd895cc730f6f74fd60eee442.tar.gz
upstream-1baeede9398688bcd895cc730f6f74fd60eee442.tar.bz2
upstream-1baeede9398688bcd895cc730f6f74fd60eee442.zip
bcm63xx: fix spi transfer handling
* Accept transfers without bits_per_word set. * Work around the inability of the hardware of keeping CS asserted. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 34320
Diffstat (limited to 'target/linux/brcm63xx/patches-3.3/404-bcm963xx_flashmap.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.3/404-bcm963xx_flashmap.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/brcm63xx/patches-3.3/404-bcm963xx_flashmap.patch b/target/linux/brcm63xx/patches-3.3/404-bcm963xx_flashmap.patch
index 8338962e5b..8f91623c8a 100644
--- a/target/linux/brcm63xx/patches-3.3/404-bcm963xx_flashmap.patch
+++ b/target/linux/brcm63xx/patches-3.3/404-bcm963xx_flashmap.patch
@@ -23,7 +23,7 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
.width = 2,
--- a/drivers/mtd/redboot.c
+++ b/drivers/mtd/redboot.c
-@@ -75,6 +75,7 @@ static int parse_redboot_partitions(stru
+@@ -72,6 +72,7 @@ static int parse_redboot_partitions(stru
int nulllen = 0;
int numslots;
unsigned long offset;
@@ -31,7 +31,7 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
#ifdef CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED
static char nullstring[] = "unallocated";
#endif
-@@ -181,6 +182,16 @@ static int parse_redboot_partitions(stru
+@@ -178,6 +179,16 @@ static int parse_redboot_partitions(stru
goto out;
}
@@ -48,7 +48,7 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
for (i = 0; i < numslots; i++) {
struct fis_list *new_fl, **prev;
-@@ -201,10 +212,10 @@ static int parse_redboot_partitions(stru
+@@ -198,10 +209,10 @@ static int parse_redboot_partitions(stru
goto out;
}
new_fl->img = &buf[i];