MIPS: Lantiq: Fix interface clock and PCI control register offset
authorJohn Crispin <blogic@openwrt.org>
Sun, 22 Jul 2012 06:55:57 +0000 (08:55 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 1 Aug 2012 15:57:04 +0000 (17:57 +0200)
commite29b72f5e129b4dd4b77dc01dba340006bb103f8
treef0425aa961e2becc0e4454eba8d04832be6eda74
parent2e3ee613480563a6d5c01b57d342e65cc58c06df
MIPS: Lantiq: Fix interface clock and PCI control register offset

The XRX200 based SoC have a different register offset for the interface
clock and PCI control registers. This patch detects the SoC and sets the
register offset at runtime. This make PCI work on the VR9 SoC.

Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/4113/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/lantiq/xway/sysctrl.c