Kaynağa Gözat

plat-orion: introduce

Create arch/arm/plat-orion/, for peripherals shared between various
Marvell Orion SoCs.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Reviewed-by: Tzachi Perelstein <tzachi@marvell.com>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Lennert Buytenhek 17 yıl önce
ebeveyn
işleme
69b02f6a96
3 değiştirilmiş dosya ile 13 ekleme ve 0 silme
  1. 4 0
      arch/arm/Kconfig
  2. 1 0
      arch/arm/Makefile
  3. 8 0
      arch/arm/plat-orion/Makefile

+ 4 - 0
arch/arm/Kconfig

@@ -384,6 +384,7 @@ config ARCH_ORION
 	select GENERIC_GPIO
 	select GENERIC_GPIO
 	select GENERIC_TIME
 	select GENERIC_TIME
 	select GENERIC_CLOCKEVENTS
 	select GENERIC_CLOCKEVENTS
+	select PLAT_ORION
 	help
 	help
 	  Support for Marvell Orion System on Chip family.
 	  Support for Marvell Orion System on Chip family.
 
 
@@ -563,6 +564,9 @@ config ARCH_ACORN
 config PLAT_IOP
 config PLAT_IOP
 	bool
 	bool
 
 
+config PLAT_ORION
+	bool
+
 source arch/arm/mm/Kconfig
 source arch/arm/mm/Kconfig
 
 
 config IWMMXT
 config IWMMXT

+ 1 - 0
arch/arm/Makefile

@@ -185,6 +185,7 @@ core-$(CONFIG_VFP)		+= arch/arm/vfp/
 
 
 # If we have a common platform directory, then include it in the build.
 # If we have a common platform directory, then include it in the build.
 core-$(CONFIG_PLAT_IOP)		+= arch/arm/plat-iop/
 core-$(CONFIG_PLAT_IOP)		+= arch/arm/plat-iop/
+core-$(CONFIG_PLAT_ORION)		+= arch/arm/plat-orion/
 core-$(CONFIG_ARCH_OMAP)	+= arch/arm/plat-omap/
 core-$(CONFIG_ARCH_OMAP)	+= arch/arm/plat-omap/
 core-$(CONFIG_PLAT_S3C24XX)		+= arch/arm/plat-s3c24xx/
 core-$(CONFIG_PLAT_S3C24XX)		+= arch/arm/plat-s3c24xx/
 core-$(CONFIG_ARCH_MXC)		+= arch/arm/plat-mxc/
 core-$(CONFIG_ARCH_MXC)		+= arch/arm/plat-mxc/

+ 8 - 0
arch/arm/plat-orion/Makefile

@@ -0,0 +1,8 @@
+#
+# Makefile for the linux kernel.
+#
+
+obj-y	:=
+obj-m	:=
+obj-n	:=
+obj-	:=