aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-bcm/board_bcm2835.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-12-31 17:00:24 +0100
committerArnd Bergmann <arnd@arndb.de>2015-12-31 17:37:12 +0100
commitfc2f669e7d0ea9559cbdc229ff97f9fff5f8de4f (patch)
treed8cd91c4ec187e70ae7318c041f3ba775d11af4b /arch/arm/mach-bcm/board_bcm2835.c
parent2bc75dbf14f8f3db56c1f546e65a90b5286614ad (diff)
parent5234c34e4cd7695647ccc1cabb50c3e7720dd3fb (diff)
downloadkernel_replicant_linux-fc2f669e7d0ea9559cbdc229ff97f9fff5f8de4f.tar.gz
kernel_replicant_linux-fc2f669e7d0ea9559cbdc229ff97f9fff5f8de4f.tar.bz2
kernel_replicant_linux-fc2f669e7d0ea9559cbdc229ff97f9fff5f8de4f.zip
Merge tag 'bcm2835-soc-next-2015-12-28' of http://github.com/anholt/linux into next/soc
Merge "BCM2835 SOC changes for 4.5" from Eric Anholt: This pull request includes the bcm2835 changes for 4.5 targeting the arm-soc next/soc branch. * tag 'bcm2835-soc-next-2015-12-28' of http://github.com/anholt/linux: ARM: bcm2835: Add Kconfig support for bcm2836 ARM: bcm2835: Add a compat string for bcm2836 machine probe dt-bindings: Add root properties for Raspberry Pi 2 Conflicts: arch/arm/mach-bcm/Kconfig
Diffstat (limited to 'arch/arm/mach-bcm/board_bcm2835.c')
-rw-r--r--arch/arm/mach-bcm/board_bcm2835.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-bcm/board_bcm2835.c b/arch/arm/mach-bcm/board_bcm2835.c
index 0f7b9eac3d15..834d67684e20 100644
--- a/arch/arm/mach-bcm/board_bcm2835.c
+++ b/arch/arm/mach-bcm/board_bcm2835.c
@@ -36,7 +36,12 @@ static void __init bcm2835_init(void)
}
static const char * const bcm2835_compat[] = {
+#ifdef CONFIG_ARCH_MULTI_V6
"brcm,bcm2835",
+#endif
+#ifdef CONFIG_ARCH_MULTI_V7
+ "brcm,bcm2836",
+#endif
NULL
};