summaryrefslogtreecommitdiff
path: root/arch/arm/mach-davinci/board-sffsdr.c
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2018-01-19 21:20:22 -0600
committerSekhar Nori <nsekhar@ti.com>2018-02-19 16:25:15 +0530
commit96c081735d5197d9d4fa0b6ce84cffa3bb197474 (patch)
tree54606e24a0afc246be11cb3f80f0560c2ccbe323 /arch/arm/mach-davinci/board-sffsdr.c
parent4b785cc55e85e8be065a38ce9df29a2c32c7956a (diff)
ARM: davinci: move davinci_clk_init() to init_time
This moves the call of davinci_clk_init() from map_io to init_time for all boards. This is the proper place to init clocks. This is also done in preparation for moving to the common clock framework. dm646x is a special case because we need to handle different ref_clk rates depending on which board is being used. The clock init in this case is modified to set the rate before registering the clocks instead of using davinci_set_refclk_rate() to recalculate the entire clock tree after all of the clocks are registered. Also, the cpu_clks field is removed from struct davinci_soc_info since it is no longer needed. Signed-off-by: David Lechner <david@lechnology.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/board-sffsdr.c')
-rw-r--r--arch/arm/mach-davinci/board-sffsdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/board-sffsdr.c b/arch/arm/mach-davinci/board-sffsdr.c
index 1f02d4ec6144..2922da9d1684 100644
--- a/arch/arm/mach-davinci/board-sffsdr.c
+++ b/arch/arm/mach-davinci/board-sffsdr.c
@@ -150,7 +150,7 @@ MACHINE_START(SFFSDR, "Lyrtech SFFSDR")
.atag_offset = 0x100,
.map_io = davinci_sffsdr_map_io,
.init_irq = davinci_irq_init,
- .init_time = davinci_timer_init,
+ .init_time = dm644x_init_time,
.init_machine = davinci_sffsdr_init,
.init_late = davinci_init_late,
.dma_zone_size = SZ_128M,