浏览代码

ARM: 5642/1: bcmring: add Makefile/Kconfig/Makefile.boot in mach-bcmring

add arch/arm/mach-bcmring directory

add Kconfig, Makefile, and Makefile.boot in mach-bcmring

Signed-off-by: Leo Chen <leochen@broadcom.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Leo Chen 16 年之前
父节点
当前提交
831f1f73a6
共有 3 个文件被更改,包括 35 次插入0 次删除
  1. 21 0
      arch/arm/mach-bcmring/Kconfig
  2. 8 0
      arch/arm/mach-bcmring/Makefile
  3. 6 0
      arch/arm/mach-bcmring/Makefile.boot

+ 21 - 0
arch/arm/mach-bcmring/Kconfig

@@ -0,0 +1,21 @@
+choice
+	prompt "Processor selection in BCMRING family of devices"
+	depends on ARCH_BCMRING
+	default ARCH_BCM11107
+
+config ARCH_FPGA11107
+	bool "FPGA11107"
+
+config ARCH_BCM11107
+	bool "BCM11107"
+endchoice
+
+menu "BCMRING Options"
+	depends on ARCH_BCMRING
+
+config BCM_ZRELADDR
+	hex "Compressed ZREL ADDR"
+
+endmenu
+
+# source "drivers/char/bcmring/Kconfig"

+ 8 - 0
arch/arm/mach-bcmring/Makefile

@@ -0,0 +1,8 @@
+#
+# Makefile for the linux kernel.
+#
+
+# Object file lists.
+
+obj-y := arch.o mm.o irq.o clock.o core.o timer.o dma.o
+obj-y += csp/

+ 6 - 0
arch/arm/mach-bcmring/Makefile.boot

@@ -0,0 +1,6 @@
+# Address where decompressor will be written and eventually executed.
+#
+# default to SDRAM
+zreladdr-y      := $(CONFIG_BCM_ZRELADDR)
+params_phys-y   := 0x00000800
+