summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-bcm2835/mbox.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@wwwdotorg.org>2015-02-16 12:16:14 -0700
committerTom Rini <trini@ti.com>2015-02-21 08:27:48 -0500
commitdb75356f14646a4bca7b712f2128435e97f55c17 (patch)
treed1a0f66497e2ad50fe336665f561ad5778bb028f /arch/arm/include/asm/arch-bcm2835/mbox.h
parenta033171b2ece1f3575ab7277e7b862e7f611b3f6 (diff)
downloadu-boot-imx-db75356f14646a4bca7b712f2128435e97f55c17.zip
u-boot-imx-db75356f14646a4bca7b712f2128435e97f55c17.tar.gz
u-boot-imx-db75356f14646a4bca7b712f2128435e97f55c17.tar.bz2
bcm2836 SoC support (used in Raspberry Pi 2 model B)
The bcm2835 and bcm2836 are essentially identical, except: - The CPU is an ARM1176 v.s. a quad-core Cortex-A7. - The physical address of many IO controllers has moved. Rather than introducing a whole new bcm2836 value for $(SOC) or $(ARCH), update the existing bcm2835 code to handle the minor differences, and plumb it into the ARMv7 CPU architecture. Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Diffstat (limited to 'arch/arm/include/asm/arch-bcm2835/mbox.h')
-rw-r--r--arch/arm/include/asm/arch-bcm2835/mbox.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-bcm2835/mbox.h b/arch/arm/include/asm/arch-bcm2835/mbox.h
index 88d2ec1..c4bbaca 100644
--- a/arch/arm/include/asm/arch-bcm2835/mbox.h
+++ b/arch/arm/include/asm/arch-bcm2835/mbox.h
@@ -1,5 +1,5 @@
/*
- * (C) Copyright 2012 Stephen Warren
+ * (C) Copyright 2012,2015 Stephen Warren
*
* SPDX-License-Identifier: GPL-2.0+
*/
@@ -38,7 +38,11 @@
/* Raw mailbox HW */
+#ifdef CONFIG_BCM2836
+#define BCM2835_MBOX_PHYSADDR 0x3f00b880
+#else
#define BCM2835_MBOX_PHYSADDR 0x2000b880
+#endif
struct bcm2835_mbox_regs {
u32 read;