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 | 8933b918cd6bce2db5a6a5a51513b62672f13069 (patch) | |
tree | 6bd79c5e27a84096f2b209d0e108c9a89f88581d /target/linux/generic/patches-3.8/470-mtd_m25p80_add_pm25lv_flash_support.patch | |
parent | 7809d73fd2b78c65aad0a1e18b06c3a4c0c15a8d (diff) | |
download | upstream-8933b918cd6bce2db5a6a5a51513b62672f13069.tar.gz upstream-8933b918cd6bce2db5a6a5a51513b62672f13069.tar.bz2 upstream-8933b918cd6bce2db5a6a5a51513b62672f13069.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
SVN-Revision: 35320
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.patch | 2 |
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 36d9caac7b..7af5e4bd3f 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; |