Thread (28 messages) flat view 28 messages, 6 authors, 2012-09-05
STALE5106d REVIEWED: 3 (3M)

Revision v1 of 6 in this series; 1 review trailer.

Revisions (6)
  1. v1 [diff vs current]
  2. v1 current
  3. v1 [diff vs current]
  4. v1 [diff vs current]
  5. v1 [diff vs current]
  6. v3 [diff vs current]

[PATCH 1/6] ARM: move ARCH config definitions into mach dirs

From: H Hartley Sweeten <hidden>
Date: 2012-08-29 23:14:08

On Wednesday, August 29, 2012 3:50 PM, Rob Herring wrote:
In preparation for mulit-platform support, convert all platforms' ARCH_
definition to a hidden option and create a new choice option.

Signed-off-by: Rob Herring <redacted>
---
 arch/arm/Kconfig                 |  650 ++++++++------------------------------
<snip>
arch/arm/mach-ep93xx/Kconfig     |   11 +
<snip>
quoted hunk ↗ jump to hunk
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
<snip>
-config ARCH_EP93XX
+config ARCH_EP93XX_CHOICE
 	bool "EP93xx-based"
-	select CPU_ARM920T
-	select ARM_AMBA
-	select ARM_VIC
-	select CLKDEV_LOOKUP
-	select ARCH_REQUIRE_GPIOLIB
-	select ARCH_HAS_HOLES_MEMORYMODEL
-	select ARCH_USES_GETTIMEOFFSET
-	select NEED_MACH_MEMORY_H
+	select ARCH_EP93XX
 	help
 	  This enables support for the Cirrus EP93xx series of CPUs.
<snip>
quoted hunk ↗ jump to hunk
diff --git a/arch/arm/mach-ep93xx/Kconfig b/arch/arm/mach-ep93xx/Kconfig
index fe3c1fa..4cf770c 100644
--- a/arch/arm/mach-ep93xx/Kconfig
+++ b/arch/arm/mach-ep93xx/Kconfig
@@ -1,3 +1,14 @@
+config ARCH_EP93XX
+	bool
+	select ARCH_REQUIRE_GPIOLIB
+	select ARCH_HAS_HOLES_MEMORYMODEL
+	select ARCH_USES_GETTIMEOFFSET
+	select ARM_AMBA
+	select ARM_VIC
+	select CLKDEV_LOOKUP
+	select CPU_ARM920T
+	select NEED_MACH_MEMORY_H
+
 if ARCH_EP93XX
 >
 menu "Cirrus EP93xx Implementation Options"
Curious... Why did you rearrange the select's? There "almost"
alphabetic now, but not quite...

But, FWIW, for the EP93xx part:

Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>

Thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help