summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-lager-reference.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-12-11 15:13:52 +0100
committerSimon Horman <horms+renesas@verge.net.au>2013-12-19 19:08:25 +0900
commit0ef3cde4d906041a497bfc585568a45ae84b4a8f (patch)
treea38a63d43925db41c9bf5551a7d1a3265282a1b3 /arch/arm/mach-shmobile/board-lager-reference.c
parent9a3beb04ec32cab91a8e562ae068433387b84547 (diff)
ARM: shmobile: lager-reference: Enable multiplaform kernel support
Enable multiplaform ARM architecture support for the Lager reference board. Common clock framework initialization will be handled by the rcar_gen2_init_timer() call, we just need to remove the legacy clock code initialization. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/board-lager-reference.c')
-rw-r--r--arch/arm/mach-shmobile/board-lager-reference.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/board-lager-reference.c b/arch/arm/mach-shmobile/board-lager-reference.c
index 51a3bcc704e..fc43f7ce657 100644
--- a/arch/arm/mach-shmobile/board-lager-reference.c
+++ b/arch/arm/mach-shmobile/board-lager-reference.c
@@ -27,7 +27,9 @@
static void __init lager_add_standard_devices(void)
{
+#ifndef CONFIG_COMMON_CLK
r8a7790_clock_init();
+#endif
r8a7790_add_dt_devices();
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
}