Changeset 43031


Ignore:
Timestamp:
2014-10-22T16:34:43+02:00 (3 years ago)
Author:
rmilecki
Message:

bcm53xx: backport forgotten spi-nor change

Signed-off-by: Rafał Miłecki <zajec5@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/bcm53xx/patches-3.14/002-mtd-spi-nor-from-3.18.patch

    r43030 r43031  
    105105                mtd->erasesize = info->sector_size; 
    106106        } 
     107--- a/drivers/mtd/spi-nor/Kconfig 
     108+++ b/drivers/mtd/spi-nor/Kconfig 
     109@@ -7,6 +7,20 @@ menuconfig MTD_SPI_NOR 
     110  
     111 if MTD_SPI_NOR 
     112  
     113+config MTD_SPI_NOR_USE_4K_SECTORS 
     114+       bool "Use small 4096 B erase sectors" 
     115+       default y 
     116+       help 
     117+         Many flash memories support erasing small (4096 B) sectors. Depending 
     118+         on the usage this feature may provide performance gain in comparison 
     119+         to erasing whole blocks (32/64 KiB). 
     120+         Changing a small part of the flash's contents is usually faster with 
     121+         small sectors. On the other hand erasing should be faster when using 
     122+         64 KiB block instead of 16 × 4 KiB sectors. 
     123+ 
     124+         Please note that some tools/drivers/filesystems may not work with 
     125+         4096 B erase size (e.g. UBIFS requires 15 KiB as a minimum). 
     126+ 
     127 config SPI_FSL_QUADSPI 
     128        tristate "Freescale Quad SPI controller" 
     129        depends on ARCH_MXC 
Note: See TracChangeset for help on using the changeset viewer.