All of lore.kernel.org
 help / color / mirror / Atom feed
From: jonathan.austin@arm.com (Jonathan Austin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] ARM: Kconfig: Do not force selection of ARCH_VEXPRESS by ARCH_MULTI_V7
Date: Fri, 07 Dec 2012 14:48:54 +0000	[thread overview]
Message-ID: <50C201D6.7060408@arm.com> (raw)
In-Reply-To: <1353431918-9326-1-git-send-email-festevam@gmail.com>

On 20/11/12 17:18, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> When building a kernel using imx_v6_v7_defconfig, it is not possible to unselect
> ARCH_VEXPRESS due to the fact that it is automatically selected by ARCH_MULTI_V7.
> 
> This is not good when someone wants to create a minimal kernel build, so let
> multi_v7_defconfig select ARCH_VEXPRESS instead.

This patch solves one aspect of a problem previously discussed for !MMU [1], but
we still have the dependency of ARCH_MULTI_V7 for ARCH_VEXPRESS. ARCH_MULTI_V7
doesn't make very much sense without an MMU because we need to hardcode things
like PHYS_OFFSET and the vectors.

Looking back though the log, I can't see quite why we need this dependency. With
Fabio's patch that selects ARCH_VEXPRESS in the defconfig, is it still required?

How do people feel about something like the patch below, to allow NOMMU things
to use Versatile Express without MULTI_V7?

Jonny
[1]http://lists.infradead.org/pipermail/linux-arm-kernel/2012-November/129976.html

-----8<-----------
diff --git a/arch/arm/mach-vexpress/Kconfig b/arch/arm/mach-vexpress/Kconfig
index c952960..7d3fff4 100644
--- a/arch/arm/mach-vexpress/Kconfig
+++ b/arch/arm/mach-vexpress/Kconfig
@@ -1,5 +1,5 @@
 config ARCH_VEXPRESS
-       bool "ARM Ltd. Versatile Express family" if ARCH_MULTI_V7
+       bool "ARM Ltd. Versatile Express family" if (ARCH_MULTI_V7 || !MMU)
        select ARCH_WANT_OPTIONAL_GPIOLIB
        select ARM_AMBA
        select ARM_GIC

  parent reply	other threads:[~2012-12-07 14:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-20 17:18 [PATCH v2] ARM: Kconfig: Do not force selection of ARCH_VEXPRESS by ARCH_MULTI_V7 Fabio Estevam
2012-12-07 10:07 ` Fabio Estevam
2012-12-07 13:25   ` Rob Herring
2013-01-02 22:03     ` Fabio Estevam
2012-12-07 14:48 ` Jonathan Austin [this message]
2013-01-02 22:59 ` Russell King - ARM Linux
2013-01-02 23:03   ` Fabio Estevam
2013-01-02 23:15     ` Russell King - ARM Linux

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=50C201D6.7060408@arm.com \
    --to=jonathan.austin@arm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.