Received: by 10.213.65.68 with SMTP id h4csp48397imn; Thu, 15 Mar 2018 16:19:35 -0700 (PDT) X-Google-Smtp-Source: AG47ELtcCkJ/lixpmwJy+1SLJ7VPa4rQLMz0RBNrbrJ/Q7gY51uin6aJrmjGSxkVDeB01dQcECRd X-Received: by 10.99.124.25 with SMTP id x25mr8231186pgc.46.1521155975572; Thu, 15 Mar 2018 16:19:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521155975; cv=none; d=google.com; s=arc-20160816; b=O/vg+EMSh5FDVEj5QQzhGdYcZfTnoxINaWlb8mKWE+rW1ZmlAE5y4OeJ/McZnFI77O 1pgr2ttA26BHOlkH/OgTVOOobKEyGWFGF/qlzOqrmacA59Cck46qOqGR6/BQKUI+o616 886NwphR+g4K44gLzWvCzGsgLAo/f6zdWRbHZyA1HF3CzzNkMT85v6S30xPn08iSNgTP VozBLOG/RZ2cgD4CysFgAQaKTm7oR9jZtDVjOD0PUTuKL9FVIk1ZhTdIUQnjH1FwN5+Y MMj2e9H83bQUaOiEOAuLH10vV/buL/N6LY/yTZ/PoIer/sSkfZ2E0OMjpn59hxYesEyf XMqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=sjQPxuAEN08Xn6+4juQjjNGjpnunnfhFgcDIcFP4Bno=; b=VHL59bnYaJvvde8AwaH2mU53qaStxxaWgPy1y4OyZfd34Qi3S6ZGhWduyXGDJfqRjH uMZlp5sTYxr0H+SrpCPqyioaRSrAGmZotHjayjylfw+m1UvC2mXgCaH0L4Bb782GBJYJ m38OsIo49X1zeIbDFiKZeUtYXl8Kx8gyK7e+QARKd7LDbw4HZFmf3tAfuB9Q2eUcULuS yH2xupy8p0q1zxjUvoUQYpHtKpLdzwc6ipyvH1ihn6z54YS4PIiWp3lum6GvrzkBjKAf /SSzRh1bw45tne+9semZk99VapXo74Gj2ICGYz467+D/zn8OrFu4+pIFSQ33eVxryrzp kkUQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c193si4484718pfc.356.2018.03.15.16.19.19; Thu, 15 Mar 2018 16:19:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932992AbeCOXQ6 (ORCPT + 99 others); Thu, 15 Mar 2018 19:16:58 -0400 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:57992 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932766AbeCOXQ4 (ORCPT ); Thu, 15 Mar 2018 19:16:56 -0400 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 w2FMprxg027462; Fri, 16 Mar 2018 00:51:53 +0200 Received: by talu34.nuvoton.co.il (Postfix, from userid 10070) id 0338A5AA87; Fri, 16 Mar 2018 01:10:15 +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 Cc: openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Tomer Maimon Subject: [PATCH v1 1/2] arm: npcm: modify configuration for the NPCM7xx BMC. Date: Fri, 16 Mar 2018 01:10:11 +0200 Message-Id: <1521155412-29229-2-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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Modify configuration and MakeFile for the Nuvoton NPCM and NPCM7xx BMC. Signed-off-by: Tomer Maimon --- arch/arm/mach-npcm/Kconfig | 40 +++++++++++----------------------------- arch/arm/mach-npcm/Makefile | 4 +++- 2 files changed, 14 insertions(+), 30 deletions(-) diff --git a/arch/arm/mach-npcm/Kconfig b/arch/arm/mach-npcm/Kconfig index 6ff9df2636be..684c9c9a32bd 100644 --- a/arch/arm/mach-npcm/Kconfig +++ b/arch/arm/mach-npcm/Kconfig @@ -1,48 +1,30 @@ menuconfig ARCH_NPCM bool "Nuvoton NPCM Architecture" - select ARCH_REQUIRE_GPIOLIB - select USE_OF + depends on ARCH_MULTI_V7 select PINCTRL - select PINCTRL_NPCM7XX if ARCH_NPCM -comment "NPCM7XX CPU type" - -config ARCH_NPCM750 - depends on ARCH_NPCM && ARCH_MULTI_V7 - bool "Support for NPCM750 BMC CPU (Poleg)" +config ARCH_NPCM7XX + bool "Support for NPCM7xx BMC (Poleg)" + depends on ARCH_MULTI_V7 + select PINCTRL_NPCM7XX + select NPCM7XX_TIMER + select ARCH_REQUIRE_GPIOLIB select CACHE_L2X0 - select CPU_V7 select ARM_GIC - select HAVE_SMP - select SMP - select SMP_ON_UP - select HAVE_ARM_SCU select HAVE_ARM_TWD if SMP + select HAVE_ARM_SCU if SMP + select ARM_ERRATA_764369 if SMP select ARM_ERRATA_720789 select ARM_ERRATA_754322 - select ARM_ERRATA_764369 select ARM_ERRATA_794072 select PL310_ERRATA_588369 select PL310_ERRATA_727915 - select USB_EHCI_ROOT_HUB_TT - select USB_ARCH_HAS_HCD - select USB_ARCH_HAS_EHCI - select USB_EHCI_HCD - select USB_ARCH_HAS_OHCI - select USB_OHCI_HCD - select USB - select FIQ - select CPU_USE_DOMAINS - select GENERIC_CLOCKEVENTS - select CLKDEV_LOOKUP - select COMMON_CLK if OF - select NPCM750_TIMER select MFD_SYSCON help - Support for NPCM750 BMC CPU (Poleg). + General support for NPCM7xx BMC (Poleg). - Nuvoton NPCM750 BMC based on the Cortex A9. + Nuvoton NPCM7xx BMC based on the Cortex A9. endif diff --git a/arch/arm/mach-npcm/Makefile b/arch/arm/mach-npcm/Makefile index c7a1316d27c1..0839e8926a84 100644 --- a/arch/arm/mach-npcm/Makefile +++ b/arch/arm/mach-npcm/Makefile @@ -1,3 +1,5 @@ AFLAGS_headsmp.o += -march=armv7-a -obj-$(CONFIG_ARCH_NPCM750) += npcm7xx.o platsmp.o headsmp.o +obj-$(CONFIG_ARCH_NPCM7XX) += npcm7xx.o +obj-$(CONFIG_SMP) += platsmp.o headsmp.o + -- 2.14.1