diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-03-21 20:59:19 +0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-04-15 18:06:39 +0400 |
commit | 95b80e0a9ab3c1c8b41af5f2863801708f8f7288 (patch) | |
tree | e64757a5964eb9b745e9357581476a80d01ab3ee /include/linux/mbus.h | |
parent | 5d1190ea69cd158835518d4132b3d98774073092 (diff) | |
download | linux-95b80e0a9ab3c1c8b41af5f2863801708f8f7288.tar.xz |
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.h | 3 |
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. |