arm: convert Cygnus and NSP boards to Kconfig
authorSteve Rae <srae@broadcom.com>
Mon, 11 Aug 2014 20:58:26 +0000 (13:58 -0700)
committerTom Rini <trini@ti.com>
Sat, 30 Aug 2014 11:46:40 +0000 (07:46 -0400)
Convert the bcm958300k and the bcm958622hr boards from "boards.cfg" to Kconfig.

Signed-off-by: Steve Rae <srae@broadcom.com>
arch/arm/Kconfig
board/broadcom/bcm958300k/Kconfig [new file with mode: 0644]
board/broadcom/bcm958300k/MAINTAINERS [new file with mode: 0644]
board/broadcom/bcm958622hr/Kconfig [new file with mode: 0644]
board/broadcom/bcm958622hr/MAINTAINERS [new file with mode: 0644]
configs/bcm958300k_defconfig [new file with mode: 0644]
configs/bcm958622hr_defconfig [new file with mode: 0644]

index 4f26d289be703f13eacd06ebfed31629e667b28a..71757e783c5e54053f69648905a36ff39b83606b 100644 (file)
@@ -425,6 +425,12 @@ config TARGET_SAMA5D3XEK
 config TARGET_BCM28155_AP
        bool "Support bcm28155_ap"
 
+config TARGET_BCM958300K
+       bool "Support bcm958300k"
+
+config TARGET_BCM958622HR
+       bool "Support bcm958622hr"
+
 config TARGET_ARNDALE
        bool "Support arndale"
 
@@ -830,6 +836,8 @@ source "board/bluegiga/apx4devkit/Kconfig"
 source "board/bluewater/snapper9260/Kconfig"
 source "board/boundary/nitrogen6x/Kconfig"
 source "board/broadcom/bcm28155_ap/Kconfig"
+source "board/broadcom/bcm958300k/Kconfig"
+source "board/broadcom/bcm958622hr/Kconfig"
 source "board/buffalo/lsxl/Kconfig"
 source "board/calao/sbc35_a9g20/Kconfig"
 source "board/calao/tny_a9260/Kconfig"
diff --git a/board/broadcom/bcm958300k/Kconfig b/board/broadcom/bcm958300k/Kconfig
new file mode 100644 (file)
index 0000000..165cee7
--- /dev/null
@@ -0,0 +1,23 @@
+if TARGET_BCM958300K
+
+config SYS_CPU
+       string
+       default "armv7"
+
+config SYS_BOARD
+       string
+       default "bcm_ep"
+
+config SYS_VENDOR
+       string
+       default "broadcom"
+
+config SYS_SOC
+       string
+       default "bcmcygnus"
+
+config SYS_CONFIG_NAME
+       string
+       default "bcm_ep_board"
+
+endif
diff --git a/board/broadcom/bcm958300k/MAINTAINERS b/board/broadcom/bcm958300k/MAINTAINERS
new file mode 100644 (file)
index 0000000..f75ee6e
--- /dev/null
@@ -0,0 +1,6 @@
+Broadcom: Cygnus
+M:     Steve Rae <srae@broadcom.com>
+S:     Maintained
+F:     board/broadcom/bcm958300k/
+F:     include/configs/bcm_ep_board.h
+F:     configs/bcm958300k_defconfig
diff --git a/board/broadcom/bcm958622hr/Kconfig b/board/broadcom/bcm958622hr/Kconfig
new file mode 100644 (file)
index 0000000..6d09592
--- /dev/null
@@ -0,0 +1,23 @@
+if TARGET_BCM958622HR
+
+config SYS_CPU
+       string
+       default "armv7"
+
+config SYS_BOARD
+       string
+       default "bcm_ep"
+
+config SYS_VENDOR
+       string
+       default "broadcom"
+
+config SYS_SOC
+       string
+       default "bcmnsp"
+
+config SYS_CONFIG_NAME
+       string
+       default "bcm_ep_board"
+
+endif
diff --git a/board/broadcom/bcm958622hr/MAINTAINERS b/board/broadcom/bcm958622hr/MAINTAINERS
new file mode 100644 (file)
index 0000000..c34272f
--- /dev/null
@@ -0,0 +1,6 @@
+Broadcom: Northstar Plus
+M:     Steve Rae <srae@broadcom.com>
+S:     Maintained
+F:     board/broadcom/bcm958622hr/
+F:     include/configs/bcm_ep_board.h
+F:     configs/bcm958622hr_defconfig
diff --git a/configs/bcm958300k_defconfig b/configs/bcm958300k_defconfig
new file mode 100644 (file)
index 0000000..066739d
--- /dev/null
@@ -0,0 +1,3 @@
+CONFIG_SYS_EXTRA_OPTIONS="SYS_SDRAM_SIZE=0x20000000"
+CONFIG_ARM=y
+CONFIG_TARGET_BCM958300K=y
diff --git a/configs/bcm958622hr_defconfig b/configs/bcm958622hr_defconfig
new file mode 100644 (file)
index 0000000..8a45e51
--- /dev/null
@@ -0,0 +1,3 @@
+CONFIG_SYS_EXTRA_OPTIONS="SYS_SDRAM_SIZE=0x01000000"
+CONFIG_ARM=y
+CONFIG_TARGET_BCM958622HR=y