diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-03-21 12:59:19 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-04-15 10:06:39 -0400 |
commit | 95b80e0a9ab3c1c8b41af5f2863801708f8f7288 (patch) | |
tree | e64757a5964eb9b745e9357581476a80d01ab3ee /include/linux/mbus.h | |
parent | 5d1190ea69cd158835518d4132b3d98774073092 (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.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 | |||
43 | */ | 43 | */ |
44 | #define MVEBU_MBUS_NO_REMAP (0xffffffff) | 44 | #define MVEBU_MBUS_NO_REMAP (0xffffffff) |
45 | 45 | ||
46 | /* Maximum size of a mbus window name */ | ||
47 | #define MVEBU_MBUS_MAX_WINNAME_SZ 32 | ||
48 | |||
46 | /* | 49 | /* |
47 | * The Marvell mbus is to be found only on SOCs from the Orion family | 50 | * The Marvell mbus is to be found only on SOCs from the Orion family |
48 | * at the moment. Provide a dummy stub for other architectures. | 51 | * at the moment. Provide a dummy stub for other architectures. |