From patchwork Thu Mar 15 23:10:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomer Maimon X-Patchwork-Id: 10285925 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0986E60291 for ; Thu, 15 Mar 2018 23:16:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EB9F228C90 for ; Thu, 15 Mar 2018 23:16:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E084528C93; Thu, 15 Mar 2018 23:16:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5C37C28C90 for ; Thu, 15 Mar 2018 23:16:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=LWAzwr0K1AlxBYtDPuP/2p2y5s2yEPBFEPdG0u1Z6Fo=; b=LqPn06amMeuBljq/UlRkXHlqPQ sSvStKMxcRL4hHQHpw6Yi0w+mxabaU4w/QCTxNnvAfCBSUZ0mnkVUhlh94yjsPTvxs724y0W3rWR0 i8yi2rlMR7QEYulqd6w08MQrmeR4rDFFrLakrPW87uEEHnXTBITXs5uCbew6wE0q85bwZPsh+ax6i dKpJU9y1uUNTQlpr8/c+bwfuzmtE5izf1yP7ssoRmzdFF33cxmnS9swYyvkIYVkl3hqkrLMTNuS+g BqXsUUQCYj37b3gtICUgDmnOv0l2BgWuaVzlZ0J/1pj6wZJpUn3KcKe9WRhWy1ijqgzotLru8q1xK +mIYjkhA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1ewc71-000800-Hm; Thu, 15 Mar 2018 23:16:43 +0000 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27] helo=herzl.nuvoton.co.il) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ewc6y-0007y4-6J for linux-arm-kernel@lists.infradead.org; Thu, 15 Mar 2018 23:16:42 +0000 Received: from talu34.nuvoton.co.il (ntil-fw [212.199.177.25]) by herzl.nuvoton.co.il (8.13.8/8.13.8) with ESMTP id w2FMprS3027467; Fri, 16 Mar 2018 00:51:53 +0200 Received: by talu34.nuvoton.co.il (Postfix, from userid 10070) id B4D595AA86; Fri, 16 Mar 2018 01:10:16 +0200 (IST) From: Tomer Maimon To: arnd@arndb.de, venture@google.com, yuenn@google.co, brendanhiggins@google.com, avifishman70@gmail.com, joel@jms.id.au Subject: [PATCH v1 2/2] arm: npcm: Enable L2 Cache in NPCM7xx Date: Fri, 16 Mar 2018 01:10:12 +0200 Message-Id: <1521155412-29229-3-git-send-email-tmaimon77@gmail.com> X-Mailer: git-send-email 1.8.3.4 In-Reply-To: <1521155412-29229-1-git-send-email-tmaimon77@gmail.com> References: <1521155412-29229-1-git-send-email-tmaimon77@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180315_161640_648503_B2213B40 X-CRM114-Status: UNSURE ( 6.85 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Tomer Maimon MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Enable L2 Cache in Nuvoton NPCM7xx BMC. Signed-off-by: Tomer Maimon --- arch/arm/mach-npcm/npcm7xx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-npcm/npcm7xx.c b/arch/arm/mach-npcm/npcm7xx.c index 5f7cd88103ef..c5f77d854c4f 100644 --- a/arch/arm/mach-npcm/npcm7xx.c +++ b/arch/arm/mach-npcm/npcm7xx.c @@ -17,4 +17,6 @@ static const char *const npcm7xx_dt_match[] = { DT_MACHINE_START(NPCM7XX_DT, "NPCM7XX Chip family") .atag_offset = 0x100, .dt_compat = npcm7xx_dt_match, + .l2c_aux_val = 0x0, + .l2c_aux_mask = ~0x0, MACHINE_END