From: linus.walleij@linaro.org (Linus Walleij)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/4] ARM: realview: imply Device Tree config
Date: Thu, 25 Feb 2016 14:15:10 +0100 [thread overview]
Message-ID: <1456406111-18579-4-git-send-email-linus.walleij@linaro.org> (raw)
In-Reply-To: <1456406111-18579-1-git-send-email-linus.walleij@linaro.org>
This cuts the RealView DT Kconfig to be the same as
CONFIG_ARCH_REALVIEW and rids one Kconfig option.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
arch/arm/mach-realview/Kconfig | 23 ++++++++---------------
arch/arm/mach-realview/Makefile | 2 +-
2 files changed, 9 insertions(+), 16 deletions(-)
diff --git a/arch/arm/mach-realview/Kconfig b/arch/arm/mach-realview/Kconfig
index cfb4c573638f..1706adc5513a 100644
--- a/arch/arm/mach-realview/Kconfig
+++ b/arch/arm/mach-realview/Kconfig
@@ -1,22 +1,12 @@
menuconfig ARCH_REALVIEW
bool "ARM Ltd. RealView family" if ARCH_MULTI_V5 || ARCH_MULTI_V6 || ARCH_MULTI_V7
select ARM_AMBA
- select ARM_TIMER_SP804
- select COMMON_CLK_VERSATILE
- select GPIO_PL061 if GPIOLIB
- select ICST
- select PLAT_VERSATILE
- select PLAT_VERSATILE_SCHED_CLOCK
- help
- This enables support for ARM Ltd RealView boards.
-
-if ARCH_REALVIEW
-
-config REALVIEW_DT
- bool "Support RealView(R) Device Tree based boot"
select ARM_GIC
+ select ARM_TIMER_SP804
select CLK_SP810
+ select COMMON_CLK_VERSATILE
select CPU_ARM926T if ARCH_MULTI_V5
+ select GPIO_PL061 if GPIOLIB
select HAVE_ARM_SCU if SMP
select HAVE_ARM_TWD if SMP
select HAVE_PATA_PLATFORM
@@ -24,6 +14,8 @@ config REALVIEW_DT
select HAVE_TCM
select ICST
select MFD_SYSCON
+ select PLAT_VERSATILE
+ select PLAT_VERSATILE_SCHED_CLOCK
select POWER_RESET
select POWER_RESET_VERSATILE
select POWER_SUPPLY
@@ -32,8 +24,9 @@ config REALVIEW_DT
select USE_OF
select ZONE_DMA
help
- Include support for booting the ARM(R) RealView(R) evaluation
- boards using a device tree machine description.
+ This enables support for ARM Ltd RealView boards.
+
+if ARCH_REALVIEW
config REALVIEW_HIGH_PHYS_OFFSET
bool "High physical base address for the RealView platform"
diff --git a/arch/arm/mach-realview/Makefile b/arch/arm/mach-realview/Makefile
index 97dab53daaf1..75826b2be82e 100644
--- a/arch/arm/mach-realview/Makefile
+++ b/arch/arm/mach-realview/Makefile
@@ -4,6 +4,6 @@
ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \
-I$(srctree)/arch/arm/plat-versatile/include
-obj-$(CONFIG_REALVIEW_DT) += realview-dt.o
+obj-$(CONFIG_ARCH_REALVIEW) += realview-dt.o
obj-$(CONFIG_SMP) += platsmp-dt.o
obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
--
2.4.3
next prev parent reply other threads:[~2016-02-25 13:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-25 13:15 [PATCH 0/4] RealView boardfile endgame Linus Walleij
2016-02-25 13:15 ` [PATCH 2/4] ARM: realview: reduce the RealView Kconfig Linus Walleij
2016-02-25 13:15 ` Linus Walleij [this message]
2016-02-25 14:23 ` [PATCH 3/4] ARM: realview: imply Device Tree config Arnd Bergmann
2016-02-25 14:58 ` Linus Walleij
2016-02-25 13:15 ` [PATCH 4/4] ARM: realview: cut board options from defconfig Linus Walleij
2016-02-25 14:29 ` [PATCH 0/4] RealView boardfile endgame Arnd Bergmann
2016-02-25 15:29 ` Linus Walleij
2016-02-25 16:10 ` 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=1456406111-18579-4-git-send-email-linus.walleij@linaro.org \
--to=linus.walleij@linaro.org \
--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).