From patchwork Wed Aug 10 07:08:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 73597 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp259865qga; Wed, 10 Aug 2016 00:12:31 -0700 (PDT) X-Received: by 10.28.107.144 with SMTP id a16mr1631863wmi.75.1470813151080; Wed, 10 Aug 2016 00:12:31 -0700 (PDT) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id f1si6715397wmi.89.2016.08.10.00.12.30; Wed, 10 Aug 2016 00:12:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 561764BA7F; Wed, 10 Aug 2016 09:12:12 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m5k9-H2QzFRv; Wed, 10 Aug 2016 09:12:07 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 189B14B98B; Wed, 10 Aug 2016 09:11:52 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 826F9A751C for ; Wed, 10 Aug 2016 09:07:41 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IAOIGp79n4su for ; Wed, 10 Aug 2016 09:07:41 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from conuserg-11.nifty.com (conuserg-11.nifty.com [210.131.2.78]) by theia.denx.de (Postfix) with ESMTPS id 13E7E4BA7F for ; Wed, 10 Aug 2016 09:07:21 +0200 (CEST) Received: from beagle.diag.org (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id u7A76xSw005792; Wed, 10 Aug 2016 16:07:04 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com u7A76xSw005792 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1470812825; bh=EwqFKzry0vf6WZV6G2qxAAvd6s/S3dmUNbZysxpOOrI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wAONjQjNn3IHv0a4f1FTX7BFCXen4K1xvpdt9LeXFu1U7btAEqritNoXkAudaJvcG gGSbUxETZvZZDflEHU9absuKE4TG8PFtgBophtA5le34OptpaZd9VDN331E3vlUyT1 6X1YxW6EgogH+7TUcFun34df2dU2y5arWoltQpmGeTZsXHZ2HAcgYh+pOOKaYSBhzM NzfBgauiofAr5NaCngYRRmanpDamHmBOlx9kd9TryjK2M69PDCpBjnRiy68/0iKZS0 AVRYA+KSXmSEKck/kc7q6qNSWpCVQqPPOHH4yzdaIhnZFAYajjhpffAczY+G4hfHbj tbG3Sn0L3yqxw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Wed, 10 Aug 2016 16:08:46 +0900 Message-Id: <1470812929-21178-12-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1470812929-21178-1-git-send-email-yamada.masahiro@socionext.com> References: <1470812929-21178-1-git-send-email-yamada.masahiro@socionext.com> Subject: [U-Boot] [PATCH 11/14] ARM: uniphier: fix CONFIG_SYS_CACHELINE_SIZE when outer cache is on X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The UniPhier outer cache (L2 cache on ARMv7 SoCs) has 128 byte line length and its tags are also managed per 128 byte line. Signed-off-by: Masahiro Yamada --- include/configs/uniphier.h | 4 ++++ 1 file changed, 4 insertions(+) -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h index 2606e53..9ee125f 100644 --- a/include/configs/uniphier.h +++ b/include/configs/uniphier.h @@ -25,7 +25,11 @@ /* #define CONFIG_SYS_ICACHE_OFF */ /* #define CONFIG_SYS_DCACHE_OFF */ +#ifdef CONFIG_CACHE_UNIPHIER +#define CONFIG_SYS_CACHELINE_SIZE 128 +#else #define CONFIG_SYS_CACHELINE_SIZE 32 +#endif #define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO