From patchwork Sun Mar 11 16:00:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Monakov X-Patchwork-Id: 10274825 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 0BE486055C for ; Sun, 11 Mar 2018 16:02:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EFA3228CB7 for ; Sun, 11 Mar 2018 16:02:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E478028CC4; Sun, 11 Mar 2018 16:02:15 +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_SIGNED, DKIM_VALID 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 71D3928CB7 for ; Sun, 11 Mar 2018 16:02:15 +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=TWh0EH3xhqfK6YEVqnCEd5kJwyu9++iNf46GmWWUcbE=; b=CO4+8loHmRGEglb//d3xaLRYcA C2uA05WZ7tiFm9D/reviYWBOMQvjbx6I+GvN0qq9givjU+qB8V0iBWlR0W/1kTqbMfJ02HG1kDepv bWy9pf3YDcNktqGR97ilAhuibMOFl63wGvPxoMNujyE8qZ3QaOjO+c5x2ohMY0AdNM6pTYVzMPKHJ 0MH0KKaA/eo6NTXU6+zG1EN3IAIqlI4xxbhh57mj3cjRoutszXUn9g6QP+n6iAljr+QcrxIOekhdi Akgqjmpk+xvVGo/e+NEslWKfg/hcy4zjWT/vKqrU6b8uY+RX1+gQwXu6H3NePuEhU5vWBFL/0Ci/8 0dbnz3lA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ev3QG-0001sh-IE; Sun, 11 Mar 2018 16:02:08 +0000 Received: from bran.ispras.ru ([83.149.199.196] helo=smtp.ispras.ru) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ev3PC-00012k-OG for linux-arm-kernel@lists.infradead.org; Sun, 11 Mar 2018 16:01:07 +0000 Received: from monopod.intra.ispras.ru (monopod.intra.ispras.ru [10.10.3.121]) by smtp.ispras.ru (Postfix) with ESMTP id C9FD2224EB; Sun, 11 Mar 2018 19:00:47 +0300 (MSK) From: Alexander Monakov To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/8] ARM: berlin: extend BG2CD Kconfig entry Date: Sun, 11 Mar 2018 19:00:01 +0300 Message-Id: <20180311160008.22928-2-amonakov@ispras.ru> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180311160008.22928-1-amonakov@ispras.ru> References: <20180311160008.22928-1-amonakov@ispras.ru> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180311_090103_332491_4791ED63 X-CRM114-Status: UNSURE ( 6.81 ) 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: Antoine Tenart , Jisheng Zhang , Alexander Monakov , Sebastian Hesselbarth 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 BG2CD SoC uses r3p0 Cortex-A9 MPCore single-CPU cluster. Autoselect pertinent errata, the SCU and the global timer, and allow use of the local timer on uniprocessor kernels. Signed-off-by: Alexander Monakov --- arch/arm/mach-berlin/Kconfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-berlin/Kconfig b/arch/arm/mach-berlin/Kconfig index 63ab1d368625..d07ed4cd5fd7 100644 --- a/arch/arm/mach-berlin/Kconfig +++ b/arch/arm/mach-berlin/Kconfig @@ -23,9 +23,14 @@ config MACH_BERLIN_BG2 config MACH_BERLIN_BG2CD bool "Marvell Armada 1500-mini (BG2CD)" + select ARM_ERRATA_754322 + select ARM_ERRATA_775420 + select ARM_GLOBAL_TIMER select CACHE_L2X0 - select HAVE_ARM_TWD if SMP + select HAVE_ARM_SCU + select HAVE_ARM_TWD select PINCTRL_BERLIN_BG2CD + select PL310_ERRATA_769419 config MACH_BERLIN_BG2Q bool "Marvell Armada 1500 Pro (BG2-Q)"