WSL2-Linux-Kernel/arch/mips/ar7
Florian Fainelli 0bc6791707 MIPS: AR7: Fix loops per jiffies on TNETD7200 devices
TNETD7200 run their CPU clock faster than the default CPU clock we assume.
In order to have the correct loops per jiffies settings, initialize clocks right
before setting mips_hpt_frequency. As a side effect, we can no longer use
msleep in clocks.c which requires other parts of the kernel to be initialized,
so replace these with mdelay.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1749/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2010-12-16 18:10:56 +00:00
..
Makefile MIPS: Introduce support for Platform definitions 2010-08-05 13:25:45 +01:00
Platform MIPS: Introduce support for Platform definitions 2010-08-05 13:25:45 +01:00
clock.c MIPS: AR7: Fix loops per jiffies on TNETD7200 devices 2010-12-16 18:10:56 +00:00
gpio.c MIPS: AR7: Add support for Titan (TNETV10xx) SoC variant 2010-10-29 19:08:46 +01:00
irq.c MIPS: Add missing #inclusions of <linux/irq.h> 2010-10-07 14:08:54 +01:00
memory.c MIPS: AR7: Whitespace hacking 2010-02-27 12:53:21 +01:00
platform.c MIPS: AR7: Add support for Titan (TNETV10xx) SoC variant 2010-10-29 19:08:46 +01:00
prom.c MIPS: AR7: Initialize GPIO earlier 2010-10-29 19:08:46 +01:00
setup.c MIPS: AR7: Add support for Titan (TNETV10xx) SoC variant 2010-10-29 19:08:46 +01:00
time.c MIPS: AR7: Fix loops per jiffies on TNETD7200 devices 2010-12-16 18:10:56 +00:00