From c0c865ee36c0a4f9aece62cec364f9b66851a5fd Mon Sep 17 00:00:00 2001 From: kfx Date: Wed, 11 Jul 2012 15:52:07 +0800 Subject: [PATCH] rk2928: add board_clock_init --- arch/arm/mach-rk2928/board-rk2928-fpga.c | 4 ++++ arch/arm/mach-rk2928/common.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-rk2928/board-rk2928-fpga.c b/arch/arm/mach-rk2928/board-rk2928-fpga.c index 029d3accc9d2..74e21a4631ad 100644 --- a/arch/arm/mach-rk2928/board-rk2928-fpga.c +++ b/arch/arm/mach-rk2928/board-rk2928-fpga.c @@ -88,6 +88,10 @@ void __init rk30_clock_init(void) clkdev_add(lk); } } +void __init board_clock_init(void) +{ + rk30_clock_init(); +} int clk_enable(struct clk *clk) { diff --git a/arch/arm/mach-rk2928/common.c b/arch/arm/mach-rk2928/common.c index 277ee537f753..170cc3cf715c 100644 --- a/arch/arm/mach-rk2928/common.c +++ b/arch/arm/mach-rk2928/common.c @@ -130,7 +130,7 @@ void __init rk2928_map_io(void) rk29_setup_early_printk(); rk2928_cpu_axi_init(); rk29_sram_init(); -// board_clock_init(); + board_clock_init(); rk2928_l2_cache_init(); // ddr_init(DDR_TYPE, DDR_FREQ); // clk_disable_unused(); -- 2.34.1