MIPS: Alchemy: preset loops_per_jiffy based on CPU clock
This was lost during the rewrite of clock framework support. Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com> Cc: Linux-MIPS <linux-mips@linux-mips.org> Patchwork: https://patchwork.linux-mips.org/patch/9149/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:

committed by
Ralf Baechle

parent
51f105d307
commit
45a848f7fa
@@ -35,9 +35,12 @@
|
||||
|
||||
extern void __init board_setup(void);
|
||||
extern void set_cpuspec(void);
|
||||
extern void __init alchemy_set_lpj(void);
|
||||
|
||||
void __init plat_mem_setup(void)
|
||||
{
|
||||
alchemy_set_lpj();
|
||||
|
||||
if (au1xxx_cpu_needs_config_od())
|
||||
/* Various early Au1xx0 errata corrected by this */
|
||||
set_c0_config(1 << 19); /* Set Config[OD] */
|
||||
|
Reference in New Issue
Block a user