summaryrefslogtreecommitdiff
path: root/target/linux/cns3xxx/files/arch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2012-12-23 18:53:38 +0000
committerImre Kaloz <kaloz@openwrt.org>2012-12-23 18:53:38 +0000
commit2c05915b2406c3f5a0acca92789cd307edfcd145 (patch)
treea5278a630c0a33e57c3f026a99a5997c503abfc8 /target/linux/cns3xxx/files/arch
parent970adc9eb9b1bf93c9e34ab6533f6e16f8d29967 (diff)
downloadmtk-20170518-2c05915b2406c3f5a0acca92789cd307edfcd145.zip
mtk-20170518-2c05915b2406c3f5a0acca92789cd307edfcd145.tar.gz
mtk-20170518-2c05915b2406c3f5a0acca92789cd307edfcd145.tar.bz2
add nol2x0 cmdline to disable l2x0 cache
L2 cache via L2X0 cache controller available on some ARM boards can provide a performance boost in some situations but decrease performance in others. This adds a kernel cmdline to disable L2X0 for cns3xxx based boards. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 34874
Diffstat (limited to 'target/linux/cns3xxx/files/arch')
-rw-r--r--target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c
index 19bc2ed..84a440b 100644
--- a/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c
+++ b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c
@@ -710,8 +710,6 @@ static struct gpio laguna_gpio_gw2380[] = {
*/
static void __init laguna_init(void)
{
- cns3xxx_l2x0_init();
-
platform_device_register(&laguna_watchdog);
platform_device_register(&laguna_i2c_controller);