summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2015-04-20 22:11:19 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-04-27 08:09:35 +0200
commit60f947b494e53e5e85d73895ed0ff79428bdca6b (patch)
tree496f205187b7f96d8b445da6ff4f8dafadffd948 /include
parent5e585631599ff31c3de8c59f1ac28cff321be773 (diff)
downloadbarebox-60f947b494e53e5e85d73895ed0ff79428bdca6b.tar.gz
barebox-60f947b494e53e5e85d73895ed0ff79428bdca6b.tar.xz
bus: mvebu-mbus: Convert mbus platform driver to direct driver
Registering mbus driver as platform driver is a little late for some register accesses to work. We have to make sure boot-up mbus windows are disabled early, so call mbus driver directly from SoC init. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mbus.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mbus.h b/include/linux/mbus.h
index b90fabbfb7..bcc5949219 100644
--- a/include/linux/mbus.h
+++ b/include/linux/mbus.h
@@ -61,4 +61,6 @@ int mvebu_mbus_del_window(phys_addr_t base, size_t size);
void mvebu_mbus_add_range(const char *compatible,
u8 target, u8 attr, u32 remap);
+int mvebu_mbus_init(void);
+
#endif /* __LINUX_MBUS_H */