]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit63e598c562fe23f9acb7b1ebf04df8f69a586334
treef0425aa961e2becc0e4454eba8d04832be6eda74
parent5e318702515d2a5b92f11cfec46cae5129e51181
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