summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-12-02 18:37:41 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-12-02 18:37:41 +0000
commitec885796c05a362f8059ba2239fabbf20fb7ba53 (patch)
tree5b7c26aa3ca2f72c1e39f86d4ed190b35f2f0fcf
parent5d253542d7a229523cdcd6462027c34106f4606d (diff)
downloadmtk-20170518-ec885796c05a362f8059ba2239fabbf20fb7ba53.zip
mtk-20170518-ec885796c05a362f8059ba2239fabbf20fb7ba53.tar.gz
mtk-20170518-ec885796c05a362f8059ba2239fabbf20fb7ba53.tar.bz2
kernel 3.6+: switch to a crc32 implementation that is more suitable for small caches. reduces kernel image size by ~22 KiB on mips
SVN-Revision: 34461
-rw-r--r--target/linux/generic/config-3.64
-rw-r--r--target/linux/generic/config-3.74
2 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/generic/config-3.6 b/target/linux/generic/config-3.6
index 7af4f6e..aee940f 100644
--- a/target/linux/generic/config-3.6
+++ b/target/linux/generic/config-3.6
@@ -442,10 +442,10 @@ CONFIG_CRASHLOG=y
# CONFIG_CRC16 is not set
CONFIG_CRC32=y
# CONFIG_CRC32_BIT is not set
-# CONFIG_CRC32_SARWATE is not set
+CONFIG_CRC32_SARWATE=y
# CONFIG_CRC32_SELFTEST is not set
# CONFIG_CRC32_SLICEBY4 is not set
-CONFIG_CRC32_SLICEBY8=y
+# CONFIG_CRC32_SLICEBY8 is not set
# CONFIG_CRC7 is not set
# CONFIG_CRC8 is not set
# CONFIG_CRC_CCITT is not set
diff --git a/target/linux/generic/config-3.7 b/target/linux/generic/config-3.7
index 86686aa..3146b92 100644
--- a/target/linux/generic/config-3.7
+++ b/target/linux/generic/config-3.7
@@ -448,10 +448,10 @@ CONFIG_CRASHLOG=y
# CONFIG_CRC16 is not set
CONFIG_CRC32=y
# CONFIG_CRC32_BIT is not set
-# CONFIG_CRC32_SARWATE is not set
+CONFIG_CRC32_SARWATE=y
# CONFIG_CRC32_SELFTEST is not set
# CONFIG_CRC32_SLICEBY4 is not set
-CONFIG_CRC32_SLICEBY8=y
+# CONFIG_CRC32_SLICEBY8 is not set
# CONFIG_CRC7 is not set
# CONFIG_CRC8 is not set
# CONFIG_CRC_CCITT is not set