linux-mips
[Top] [All Lists]

[PATCH v2 3/3] MIPS: BCM63XX: select correct MIPS_L1_CACHE_SHIFT value

To: linux-mips@linux-mips.org
Subject: [PATCH v2 3/3] MIPS: BCM63XX: select correct MIPS_L1_CACHE_SHIFT value
From: Florian Fainelli <florian@openwrt.org>
Date: Sun, 12 Jan 2014 13:29:32 -0800
Cc: ralf@linux-mips.org, blogic@openwrt.org, jogo@openwrt.org, mbizon@freebox.fr, cernekee@gmail.com, dgcbueu@gmail.com, Florian Fainelli <florian@openwrt.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=mV0/RMf9i1csG2CS39VxOLlxm/dVp9GoP1362c3wAdA=; b=PHG+j5Rhshn8++HRCh2E9jBSzxTN+RdVCw7zeJpZGk+GAxvEXIAOwse0opNga/xYlu u3y38QRttIg9arMQgPV6grnf0Ed9lLV2k/+thBrUPcJL3XIJ5e9t7orIFWLsR1osh2LK Tc8i3tnArE7g5B1Uhk2JT/vUbUehVCUJFN7kqRVZWn3ILrGdIJgoB3DFkBCwRgXUJjeN DvA7Vozsf+4ACfjNCCazLGcxEPHU87ui9kSXvNQVBcfu6i15efgdn8cRlR+cNPLvwy+J g0yVgW3Ag/mT/WneZJxcX6m2PM0KsVy/+HE03tCkR5icusj8jXCjuY93b0P1j9Udiy+6 NPhw==
In-reply-to: <1389562172-13242-1-git-send-email-florian@openwrt.org>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1389562172-13242-1-git-send-email-florian@openwrt.org>
Sender: linux-mips-bounce@linux-mips.org
Broadcom BCM63xx DSL SoCs have a L1-cache line size of 16 bytes (shift
value of 4) instead of the currently configured 32 bytes L1-cache line
size.

Reported-by: Daniel Gonzalez <dgcbueu@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
Changes since v1:
- rebased

 arch/mips/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 68969d9..beb3766 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -139,6 +139,7 @@ config BCM63XX
        select SWAP_IO_SPACE
        select ARCH_REQUIRE_GPIOLIB
        select HAVE_CLK
+       select MIPS_L1_CACHE_SHIFT_4
        help
         Support for BCM63XX based boards
 
-- 
1.8.3.2


<Prev in Thread] Current Thread [Next in Thread>