summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-orion5x/board-dt.c
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-04-22 23:26:40 +0200
committerJason Cooper <jason@lakedaemon.net>2014-04-26 19:45:25 +0000
commitfbf04d814d0a57b0eead41efd70b3fbe903201d9 (patch)
tree5d9f29a3592580dd967b84e932b58425e7900ef6 /arch/arm/mach-orion5x/board-dt.c
parent94b0bd366e36379c994bdaa84f18355702212eb4 (diff)
ARM: orion5x: convert Maxtor Shared Storage II to the Device Tree
This commit converts the Maxtor Shared Storage II Orion5x platform to the Device Tree. The only remaining things not converted are PCI and the special power off method. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Link: https://lkml.kernel.org/r/1398202002-28530-37-git-send-email-thomas.petazzoni@free-electrons.com Cc: Sylver Bruneau <sylver.bruneau@googlemail.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-orion5x/board-dt.c')
-rw-r--r--arch/arm/mach-orion5x/board-dt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-orion5x/board-dt.c b/arch/arm/mach-orion5x/board-dt.c
index 78d2e528f98..35d418faf8f 100644
--- a/arch/arm/mach-orion5x/board-dt.c
+++ b/arch/arm/mach-orion5x/board-dt.c
@@ -61,6 +61,9 @@ static void __init orion5x_dt_init(void)
cpu_idle_poll_ctrl(true);
}
+ if (of_machine_is_compatible("maxtor,shared-storage-2"))
+ mss2_init();
+
of_platform_populate(NULL, of_default_bus_match_table,
orion5x_auxdata_lookup, NULL);
}