aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mbus.h
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-03-21 17:59:19 +0100
committerJason Cooper <jason@lakedaemon.net>2013-04-15 14:06:39 +0000
commit95b80e0a9ab3c1c8b41af5f2863801708f8f7288 (patch)
treee64757a5964eb9b745e9357581476a80d01ab3ee /include/linux/mbus.h
parent5d1190ea69cd158835518d4132b3d98774073092 (diff)
arm: mach-mv78xx0: convert to use the mvebu-mbus driver
This commit convers the mach-mv78xx0 sub-architecture to use the mvebu-mbus driver. We simply have to call mvebu_mbus_init() in the ->init_early() function, and modify the PCIe code so that it uses the new functions provided by mvebu-mbus to create the needed PCIe windows. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'include/linux/mbus.h')
-rw-r--r--include/linux/mbus.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mbus.h b/include/linux/mbus.h
index 462eb9791012..dba482e31a13 100644
--- a/include/linux/mbus.h
+++ b/include/linux/mbus.h
@@ -43,6 +43,9 @@ struct mbus_dram_target_info
*/
#define MVEBU_MBUS_NO_REMAP (0xffffffff)
+/* Maximum size of a mbus window name */
+#define MVEBU_MBUS_MAX_WINNAME_SZ 32
+
/*
* The Marvell mbus is to be found only on SOCs from the Orion family
* at the moment. Provide a dummy stub for other architectures.