brcm63xx: ensure dummy byte is set for mapped spi flash with fast read
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-3.18 / 372_dont_register_pflash_when_available_in_dtb.patch
index 88efc2360bc52f9bdf697df235c4a5072a787c69..25384ebb68d3381d19504211df7b33462bfef79a 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/dev-flash.c
 +++ b/arch/mips/bcm63xx/dev-flash.c
-@@ -22,6 +22,8 @@
+@@ -23,6 +23,8 @@
  #include <bcm63xx_regs.h>
  #include <bcm63xx_io.h>
  
@@ -9,7 +9,7 @@
  static int flash_type;
  
  static struct mtd_partition mtd_partitions[] = {
-@@ -164,6 +166,9 @@ int __init bcm63xx_flash_register(void)
+@@ -178,6 +180,9 @@ int __init bcm63xx_flash_register(void)
  
        switch (flash_type) {
        case BCM63XX_FLASH_TYPE_PARALLEL: