]> 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)
commitd5edeeb0c39f76aea3819ba5d70e717bf51ecc5e
treef0425aa961e2becc0e4454eba8d04832be6eda74
parentb95caffce4de240be7558c2ca2aa0546f5369384
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