projects
/
openwrt
/
staging
/
noltari.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
brcm63xx: ensure dummy byte is set for mapped spi flash with fast read
[openwrt/staging/noltari.git]
/
target
/
linux
/
brcm63xx
/
patches-4.1
/
372_dont_register_pflash_when_available_in_dtb.patch
diff --git
a/target/linux/brcm63xx/patches-4.1/372_dont_register_pflash_when_available_in_dtb.patch
b/target/linux/brcm63xx/patches-4.1/372_dont_register_pflash_when_available_in_dtb.patch
index 88efc2360bc52f9bdf697df235c4a5072a787c69..25384ebb68d3381d19504211df7b33462bfef79a 100644
(file)
--- a/
target/linux/brcm63xx/patches-4.1/372_dont_register_pflash_when_available_in_dtb.patch
+++ b/
target/linux/brcm63xx/patches-4.1/372_dont_register_pflash_when_available_in_dtb.patch
@@
-1,6
+1,6
@@
--- a/arch/mips/bcm63xx/dev-flash.c
+++ b/arch/mips/bcm63xx/dev-flash.c
--- a/arch/mips/bcm63xx/dev-flash.c
+++ b/arch/mips/bcm63xx/dev-flash.c
-@@ -2
2,6 +22
,8 @@
+@@ -2
3,6 +23
,8 @@
#include <bcm63xx_regs.h>
#include <bcm63xx_io.h>
#include <bcm63xx_regs.h>
#include <bcm63xx_io.h>
@@
-9,7
+9,7
@@
static int flash_type;
static struct mtd_partition mtd_partitions[] = {
static int flash_type;
static struct mtd_partition mtd_partitions[] = {
-@@ -1
64,6 +166
,9 @@ int __init bcm63xx_flash_register(void)
+@@ -1
78,6 +180
,9 @@ int __init bcm63xx_flash_register(void)
switch (flash_type) {
case BCM63XX_FLASH_TYPE_PARALLEL:
switch (flash_type) {
case BCM63XX_FLASH_TYPE_PARALLEL: