[ARM] Kirkwood: add support for newer SoC models
commitb2b3dc2fc41ef441610d0140f0f5ccacbd43f40c
authorRonen Shitrit <rshitrit@marvell.com>
Mon, 15 Sep 2008 07:40:35 +0000 (15 10:40 +0300)
committerNicolas Pitre <nico@cam.org>
Thu, 25 Sep 2008 20:27:21 +0000 (25 16:27 -0400)
tree70116ea6c823e5ac6a8b048ee6911257e722e5b7
parent79d4dd77f0d86e4315887edaa5dfabb0c2081ba7
[ARM] Kirkwood: add support for newer SoC models

Add support to the Kirkwood port for newer device models and silicon
revisions.  Instead of looking at the DEVICE_ID register, the device
version is now determined by looking at the PCI-Express device ID and
revision registers, as it is done for orion5x, and this information
is used to determine the TCLK frequency, again, as it is done for
orion5x.

Signed-off-by: Ronen Shitrit <rshitrit@marvell.com>
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
arch/arm/mach-kirkwood/common.c
arch/arm/mach-kirkwood/common.h
arch/arm/mach-kirkwood/include/mach/kirkwood.h
arch/arm/mach-kirkwood/pcie.c