summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-bcm283x/Kconfig
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2015-12-19 19:34:04 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2016-01-07 12:35:25 +0100
commit3a0f397e9c381ab9071754b6dbb44cb1cd39f55a (patch)
tree207655d9f8a50d47c472b5243a905b14a1e0c6f6 /arch/arm/mach-bcm283x/Kconfig
parent7e613c84cf01349f572e7a6a5e3b8f6633822ff7 (diff)
downloadbarebox-3a0f397e9c381ab9071754b6dbb44cb1cd39f55a.tar.gz
barebox-3a0f397e9c381ab9071754b6dbb44cb1cd39f55a.tar.xz
arm: bcm283x: add rpi2 support
This patch adds Raspberry Pi 2 support in barebox. The features should be the same like the current RPi status in barebox. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-bcm283x/Kconfig')
-rw-r--r--arch/arm/mach-bcm283x/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-bcm283x/Kconfig b/arch/arm/mach-bcm283x/Kconfig
index f4a7e67438..e861268627 100644
--- a/arch/arm/mach-bcm283x/Kconfig
+++ b/arch/arm/mach-bcm283x/Kconfig
@@ -4,12 +4,21 @@ config ARCH_TEXT_BASE
hex
default 0x04000000
+config MACH_RPI_COMMON
+ bool
+
choice
prompt "Broadcom Board type"
config MACH_RPI
bool "RaspberryPi (BCM2835/ARM1176JZF-S)"
depends on ARCH_BCM2835
+ select MACH_RPI_COMMON
+
+config MACH_RPI2
+ bool "RaspberryPi 2 (BCM2836/CORTEX-A7)"
+ depends on ARCH_BCM2836
+ select MACH_RPI_COMMON
endchoice