From: sebastian.hesselbarth@gmail.com (Sebastian Hesselbarth)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 5/5] ARM: dove: switch to DT probed mbus address windows
Date: Mon, 29 Jul 2013 14:31:54 +0200 [thread overview]
Message-ID: <1375101114-28858-6-git-send-email-sebastian.hesselbarth@gmail.com> (raw)
In-Reply-To: <1375101114-28858-1-git-send-email-sebastian.hesselbarth@gmail.com>
With proper mbus ranges and all internal nodes moved over, we can now
switch from static address window allocation to DT probed allocation.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
---
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
---
arch/arm/mach-dove/board-dt.c | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/arch/arm/mach-dove/board-dt.c b/arch/arm/mach-dove/board-dt.c
index 49f72a8..1efbe1d 100644
--- a/arch/arm/mach-dove/board-dt.c
+++ b/arch/arm/mach-dove/board-dt.c
@@ -51,13 +51,6 @@ static void __init dove_dt_time_init(void)
clocksource_of_init();
}
-static void __init dove_dt_init_early(void)
-{
- mvebu_mbus_init("marvell,dove-mbus",
- BRIDGE_WINS_BASE, BRIDGE_WINS_SZ,
- DOVE_MC_WINS_BASE, DOVE_MC_WINS_SZ);
-}
-
static void __init dove_dt_init(void)
{
pr_info("Dove 88AP510 SoC\n");
@@ -65,7 +58,7 @@ static void __init dove_dt_init(void)
#ifdef CONFIG_CACHE_TAUROS2
tauros2_init(0);
#endif
- dove_setup_cpu_wins();
+ BUG_ON(mvebu_mbus_dt_init());
/* Setup clocks for legacy devices */
dove_legacy_clk_init();
@@ -83,7 +76,6 @@ static const char * const dove_dt_board_compat[] = {
DT_MACHINE_START(DOVE_DT, "Marvell Dove (Flattened Device Tree)")
.map_io = dove_map_io,
- .init_early = dove_dt_init_early,
.init_time = dove_dt_time_init,
.init_machine = dove_dt_init,
.restart = dove_restart,
--
1.7.10.4
next prev parent reply other threads:[~2013-07-29 12:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-29 12:31 [PATCH 0/5] ARM: dove: switch to DT MBus Sebastian Hesselbarth
2013-07-29 12:31 ` [PATCH 1/5] ARM: dove: use preprocessor on device tree files Sebastian Hesselbarth
2013-07-29 12:31 ` [PATCH 2/5] ARM: dove: add MBUS_ID macro to Dove DT Sebastian Hesselbarth
2013-07-29 12:31 ` [PATCH 3/5] ARM: dove: add MBus DT node Sebastian Hesselbarth
2013-07-29 12:36 ` Sebastian Hesselbarth
2013-07-29 13:52 ` Ezequiel Garcia
2013-07-29 14:23 ` Sebastian Hesselbarth
2013-07-29 14:51 ` Ezequiel Garcia
2013-07-29 12:31 ` [PATCH 4/5] ARM: dove: relocate internal registers device nodes Sebastian Hesselbarth
2013-07-29 14:41 ` Ezequiel Garcia
2013-07-29 12:31 ` Sebastian Hesselbarth [this message]
2013-07-29 14:32 ` [PATCH 0/5] ARM: dove: switch to DT MBus Ezequiel Garcia
2013-08-06 17:06 ` Jason Cooper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1375101114-28858-6-git-send-email-sebastian.hesselbarth@gmail.com \
--to=sebastian.hesselbarth@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).