From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: npcm: add CONFIG_ARCH_MULTI_V7 dependency
Date: Mon, 12 Mar 2018 14:37:32 +0100 [thread overview]
Message-ID: <CAK8P3a2=0ZUqyhmKVa4u_VvOg4rtd6vUWdpRojfsoP3OSvGyeQ@mail.gmail.com> (raw)
In-Reply-To: <CAP6Zq1jEAg2OrmnHzJdk9UBjPkDctu5oGHYyJ+QLBzN+E31sPw@mail.gmail.com>
On Mon, Mar 12, 2018 at 2:28 PM, Tomer Maimon <tmaimon77@gmail.com> wrote:
> Hi Brendan,
>
> According to the last mail I have with Arnd can you modify the Kconfig
> as follow:
>
> +menuconfig ARCH_NPCM
> + bool "Nuvoton NPCM Architecture"
> + depends on ARCH_MULTI_V7
> + select PINCTRL
> +
> +if ARCH_NPCM
> +
> +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 ARM_GIC
> + 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_794072
> + select PL310_ERRATA_588369
> + select PL310_ERRATA_727915
> + select MFD_SYSCON
> + help
> + General support for NPCM7xx BMC (Poleg).
> +
> + Nuvoton NPCM7xx BMC based on the Cortex A9.
> +
> +endif
One more change is needed to avoid a link error without CONFIG_SMP:
diff --git a/arch/arm/mach-npcm/Makefile b/arch/arm/mach-npcm/Makefile
index c7a1316d27c1..34d51f9f207c 100644
--- a/arch/arm/mach-npcm/Makefile
+++ b/arch/arm/mach-npcm/Makefile
@@ -1,3 +1,4 @@
AFLAGS_headsmp.o += -march=armv7-a
-obj-$(CONFIG_ARCH_NPCM750) += npcm7xx.o platsmp.o headsmp.o
+obj-$(CONFIG_ARCH_NPCM750) += npcm7xx.o
+obj-$(CONFIG_SMP) += platsmp.o headsmp.o
Can one of you send me a pull request or the full patch series on top
of the version I have in arm-soc?
Arnd
next prev parent reply other threads:[~2018-03-12 13:37 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-07 16:24 [PATCH 1/2] ARM: npcm: add CONFIG_ARCH_MULTI_V7 dependency Arnd Bergmann
2018-03-07 16:24 ` [PATCH 2/2] ARM: npcm: drop extraneous 'select' statements Arnd Bergmann
2018-03-08 2:12 ` Joel Stanley
2018-03-08 10:46 ` Avi Fishman
2018-03-08 10:51 ` Arnd Bergmann
2018-03-12 10:16 ` Tomer Maimon
2018-03-12 11:43 ` Tomer Maimon
2018-03-12 12:43 ` Arnd Bergmann
2018-03-09 2:08 ` [PATCH 1/2] ARM: npcm: add CONFIG_ARCH_MULTI_V7 dependency Brendan Higgins
2018-03-12 13:28 ` Tomer Maimon
2018-03-12 13:37 ` Arnd Bergmann [this message]
2018-03-12 15:15 ` Tomer Maimon
2018-03-13 13:35 ` Tomer Maimon
2018-03-13 16:23 ` 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='CAK8P3a2=0ZUqyhmKVa4u_VvOg4rtd6vUWdpRojfsoP3OSvGyeQ@mail.gmail.com' \
--to=arnd@arndb.de \
--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).