diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2014-09-17 22:22:40 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-09-19 09:47:35 +0200 |
commit | 561dfebb4bf57f0d0b02d8fd3dffad01536f5c14 (patch) | |
tree | 149e1a8815ed19c8c2677ecb2c460b1ee582d8e4 /include | |
parent | f94a71cb514d6dc3a8395f2300c6a680ec6d7e82 (diff) | |
download | barebox-561dfebb4bf57f0d0b02d8fd3dffad01536f5c14.tar.gz barebox-561dfebb4bf57f0d0b02d8fd3dffad01536f5c14.tar.xz |
ARM: mvebu: Add machine compatible to mbus ranges
Multi-SoC support for MVEBU will add mbus ranges for all compiled
SoCs. To protect the mbus node of the SoC barebox is executed on
from others ranges, pass machine's compatible to mvebu_mbus_add_range
and check before applying the fixup.
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mbus.h b/include/linux/mbus.h index ac14982875..b90fabbfb7 100644 --- a/include/linux/mbus.h +++ b/include/linux/mbus.h @@ -58,6 +58,7 @@ int mvebu_mbus_add_window_by_id(unsigned int target, unsigned int attribute, phys_addr_t base, size_t size); int mvebu_mbus_del_window(phys_addr_t base, size_t size); -void mvebu_mbus_add_range(u8 target, u8 attr, u32 remap); +void mvebu_mbus_add_range(const char *compatible, + u8 target, u8 attr, u32 remap); #endif /* __LINUX_MBUS_H */ |