From: Kevin Cernekee Date: Tue, 21 Oct 2014 04:27:57 +0000 (-0700) Subject: MIPS: Allow MIPS_CPU_SCACHE to be used with different line sizes X-Git-Tag: omap-for-v3.20/drop-legacy-3517~119^2~110 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7ef1eaddbf4bd50bfee92d9dfbecadc61467bbf;p=pandora-kernel.git MIPS: Allow MIPS_CPU_SCACHE to be used with different line sizes CONFIG_MIPS_CPU_SCACHE determines whether to build sc-mips.c. However, it is currently hardwired to use an L1_SHIFT of 6 (64 bytes). Move the L1_SHIFT selection into the CPU or SoC section so that other SoCs can select different values. Signed-off-by: Kevin Cernekee Cc: f.fainelli@gmail.com Cc: mbizon@freebox.fr Cc: jogo@openwrt.org Cc: jfraser@broadcom.com Cc: linux-mips@linux-mips.org Cc: devicetree@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/8162/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed