summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.8/470-mtd_m25p80_add_pm25lv_flash_support.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-26 16:26:13 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-26 16:26:13 +0000
commitedf06589cc0ad9474b6c17aa84af90a932eaca13 (patch)
tree24d7f96936770d3e3ee904982008bfcf174acc7e /target/linux/generic/patches-3.8/470-mtd_m25p80_add_pm25lv_flash_support.patch
parent0a3970a70de5376f9a7ddef0c0b68acf9eb8caab (diff)
kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips
in combination with kernel symbol export stripping this significantly reduces the kernel image size git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35320 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-3.8/470-mtd_m25p80_add_pm25lv_flash_support.patch')
-rw-r--r--target/linux/generic/patches-3.8/470-mtd_m25p80_add_pm25lv_flash_support.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/patches-3.8/470-mtd_m25p80_add_pm25lv_flash_support.patch b/target/linux/generic/patches-3.8/470-mtd_m25p80_add_pm25lv_flash_support.patch
index 36d9caac7..7af5e4bd3 100644
--- a/target/linux/generic/patches-3.8/470-mtd_m25p80_add_pm25lv_flash_support.patch
+++ b/target/linux/generic/patches-3.8/470-mtd_m25p80_add_pm25lv_flash_support.patch
@@ -27,7 +27,7 @@
/* Spansion -- single (large) sector size only, at least
* for the chips listed here (without boot sectors).
*/
-@@ -909,6 +915,9 @@ static int m25p_probe(struct spi_device
+@@ -909,6 +915,9 @@ static int m25p_probe(struct spi_device
if (info->flags & SECT_4K) {
flash->erase_opcode = OPCODE_BE_4K;
flash->mtd.erasesize = 4096;