ARM: PCI: versatile: Fix SMAP register offsets
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 22 Aug 2013 16:47:50 +0000 (17:47 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 26 Oct 2013 20:06:02 +0000 (21:06 +0100)
commite4f24883632f4d46d4b43ae37a76932343a69839
treed3987a9575b956e4286d1fa308f61506c2e37c77
parent45e61ad38c9493eec7ece2bfe09bde2433cdaa87
ARM: PCI: versatile: Fix SMAP register offsets

commit 99f2b130370b904ca5300079243fdbcafa2c708b upstream.

The SMAP register offsets in the versatile PCI controller code were
all off by four.  (This didn't have any observable bad effects
because on this board PHYS_OFFSET is zero, and (a) writing zero to
the flags register at offset 0x10 has no effect and (b) the reset
value of the SMAP register is zero anyway, so failing to write SMAP2
didn't matter.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/arm/mach-versatile/pci.c