summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mvebu/include
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-07-01 10:44:51 (GMT)
committerLuka Perkov <luka.perkov@sartura.hr>2015-08-17 16:48:46 (GMT)
commit5b72dbfc23e4f9a62cfe787816c5b5e75a0aa597 (patch)
treee07ea9225e244c110ae268c3606c108706eb36db /arch/arm/mach-mvebu/include
parent8ed20d65010d46fd58121ea9ee9c913abc3d8e13 (diff)
downloadu-boot-5b72dbfc23e4f9a62cfe787816c5b5e75a0aa597.tar.xz
arm: mvebu: Setup the MBUS bridge registers
With this patch, the MBUS bridge registers (base and size) are configured upon each call to mbus_dt_setup_win(). This is needed, since the board code can also call this function in later boot stages. As done in the maxbcm board. This is needed to fix a problem with the secondary CPU's not booting in Linux on AXP. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Peter Morrow <peter@senient.com> Cc: Luka Perkov <luka.perkov@sartura.hr>
Diffstat (limited to 'arch/arm/mach-mvebu/include')
-rw-r--r--arch/arm/mach-mvebu/include/mach/soc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/include/mach/soc.h b/arch/arm/mach-mvebu/include/mach/soc.h
index 125b5f2..71254c5 100644
--- a/arch/arm/mach-mvebu/include/mach/soc.h
+++ b/arch/arm/mach-mvebu/include/mach/soc.h
@@ -66,6 +66,9 @@
#define MVEBU_SATA0_BASE (MVEBU_REGISTER(0xa8000))
#define MVEBU_SDIO_BASE (MVEBU_REGISTER(0xd8000))
+#define MBUS_BRIDGE_WIN_CTRL_REG (MVEBU_REGISTER(0x20250))
+#define MBUS_BRIDGE_WIN_BASE_REG (MVEBU_REGISTER(0x20254))
+
#define SDRAM_MAX_CS 4
#define SDRAM_ADDR_MASK 0xFF000000