diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-26 16:26:13 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-26 16:26:13 +0000 |
commit | 081d10c7392038050d3db11a7d628c371750b20c (patch) | |
tree | 24d7f96936770d3e3ee904982008bfcf174acc7e /target/linux/generic/patches-3.8/476-mtd-m25p80-allow-to-disable-small-sector-erase.patch | |
parent | baf6422f7bf114647183d0458b73a73697b45ed2 (diff) | |
download | master-187ad058-081d10c7392038050d3db11a7d628c371750b20c.tar.gz master-187ad058-081d10c7392038050d3db11a7d628c371750b20c.tar.bz2 master-187ad058-081d10c7392038050d3db11a7d628c371750b20c.zip |
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/476-mtd-m25p80-allow-to-disable-small-sector-erase.patch')
-rw-r--r-- | target/linux/generic/patches-3.8/476-mtd-m25p80-allow-to-disable-small-sector-erase.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/patches-3.8/476-mtd-m25p80-allow-to-disable-small-sector-erase.patch b/target/linux/generic/patches-3.8/476-mtd-m25p80-allow-to-disable-small-sector-erase.patch index ba1526ce52..83d6aa7e24 100644 --- a/target/linux/generic/patches-3.8/476-mtd-m25p80-allow-to-disable-small-sector-erase.patch +++ b/target/linux/generic/patches-3.8/476-mtd-m25p80-allow-to-disable-small-sector-erase.patch @@ -30,7 +30,7 @@ /****************************************************************************/ struct m25p { -@@ -913,7 +919,7 @@ static int m25p_probe(struct spi_device +@@ -913,7 +919,7 @@ static int m25p_probe(struct spi_device flash->mtd._write = m25p80_write; /* prefer "small sector" erase if possible */ |