From: tmaimon77@gmail.com (Tomer Maimon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v1 1/2] arm: npcm: modify configuration for the NPCM7xx BMC.
Date: Fri, 16 Mar 2018 01:10:11 +0200 [thread overview]
Message-ID: <1521155412-29229-2-git-send-email-tmaimon77@gmail.com> (raw)
In-Reply-To: <1521155412-29229-1-git-send-email-tmaimon77@gmail.com>
Modify configuration and MakeFile
for the Nuvoton NPCM and NPCM7xx BMC.
Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
---
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
next prev parent reply other threads:[~2018-03-15 23:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-15 23:10 [PATCH v1 0/2] arm: npcm: Modify NPCM7XX machine code Tomer Maimon
2018-03-15 23:10 ` Tomer Maimon [this message]
2018-03-16 5:56 ` [PATCH v1 1/2] arm: npcm: modify configuration for the NPCM7xx BMC Brendan Higgins
2018-04-05 12:51 ` Arnd Bergmann
2018-03-15 23:10 ` [PATCH v1 2/2] arm: npcm: Enable L2 Cache in NPCM7xx Tomer Maimon
2018-03-16 5:52 ` Brendan Higgins
[not found] ` <CAP6Zq1jvCvM+uG8kU_JAYzm9e3BG28AS80ANmn_0a0HmiVBm3A@mail.gmail.com>
2018-04-05 12:54 ` Arnd Bergmann
[not found] ` <CAP6Zq1j9i0Zdt3wPCGLLnPZJPGf8BaG9Nh1pLAsnwczqWHtthQ@mail.gmail.com>
2018-04-05 20:42 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1521155412-29229-2-git-send-email-tmaimon77@gmail.com \
--to=tmaimon77@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).