MIPS: Alchemy: move calc_clock function.
Now that nothing in time.c depends on calc_clock, it can be moved to clocks.c where it belongs. While at it, give it a better non-generic name and call it as soon as possible in plat_mem_init. Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
committed by
Ralf Baechle
parent
0c694de12b
commit
2699cdfb76
@@ -135,6 +135,7 @@ extern void set_au1x00_speed(unsigned int new_freq);
|
||||
extern unsigned int get_au1x00_speed(void);
|
||||
extern void set_au1x00_uart_baud_base(unsigned long new_baud_base);
|
||||
extern unsigned long get_au1x00_uart_baud_base(void);
|
||||
extern unsigned long au1xxx_calc_clock(void);
|
||||
|
||||
/*
|
||||
* Every board describes its IRQ mapping with this table.
|
||||
|
||||
Reference in New Issue
Block a user