linux/arch/mips/ath79
Gabor Juhos 59a8c10b25 MIPS: ath79: Use ath79_get_sys_clk_rate to get basic clock rates
Instead of accessing the rate field of the static
clock devices directly, use the recently introduced
helper function to get the rate of the basic clocks.

The static ath79_{ahb,cpu,ddr,ref}_clk variables
will be removed by a subsequent patch. The actual
change is in preparation of that.

Also move the clock frequency printing code into
the plat_time_init function. We are getting the
cpu clock rate there already so we can save an
extra call of the helper.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5782/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2013-09-03 23:22:17 +02:00
..
clock.c MIPS: ath79: Use ath79_get_sys_clk_rate to get basic clock rates 2013-09-03 23:22:17 +02:00
common.c
common.h MIPS: ath79: Use a helper function to get system clock rates 2013-09-03 23:22:17 +02:00
dev-common.c MIPS: ath79: Use a helper function to get system clock rates 2013-09-03 23:22:17 +02:00
dev-common.h
dev-gpio-buttons.c
dev-gpio-buttons.h
dev-leds-gpio.c
dev-leds-gpio.h
dev-spi.c
dev-spi.h
dev-usb.c
dev-usb.h
dev-wmac.c
dev-wmac.h
early_printk.c
gpio.c
irq.c
Kconfig
mach-ap81.c
mach-ap121.c
mach-ap136.c MIPS: ath79: Fix argument for the ap136_pc_init function 2013-06-21 18:07:02 +02:00
mach-db120.c
mach-pb44.c
mach-ubnt-xm.c
machtypes.h
Makefile
pci.c
pci.h
Platform
prom.c
setup.c MIPS: ath79: Use ath79_get_sys_clk_rate to get basic clock rates 2013-09-03 23:22:17 +02:00