linux/arch/arm/mach-kirkwood
Andrew Lunn e89b405809 ARM: Kirkwood: TS219: Fix crash by double PCIe instantiation
When creating the DT based boards-ts219.c the none DT ts219-setup.c
was used as a template. This includes a lateinit() call to initialize
the PCIe bus. The code makes use of machine_is_ts219() which is never
true on DT, so a FIXME was added and the code left as is. This was
unproblematic until b73690c8f8b5d: "ARM: Kirkwood: Support basic
hotplug for PCI-E" which changes the way the PCIe bus is
initialized. The non-DT ts219-setup.c now crashes during boot.  The
lateinit() call in the DT boards-ts219.c is being called,
machine_is_ts219() is true and so the PCIe is initialized a second
time.

This patch removes the useless, and now clearly dangerous, code from
boards-ts219.c, making ts219-setup.c work again.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Cc: <stable@vger.kernel.org> # v3.9.x
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
2013-05-28 14:50:06 +00:00
..
include/mach arm: mach-kirkwood: convert to use mvebu-mbus driver 2013-04-15 14:06:22 +00:00
Kconfig ARM: Kirkwood: update Network Space Mini v2 description 2013-04-10 18:16:25 +00:00
Makefile ARM: arm-soc platform updates for 3.10, part 3 2013-05-07 11:02:18 -07:00
Makefile.boot
board-dnskw.c
board-dockstar.c
board-dreamplug.c arm: kirkwood: dreamplug: use Device Tree to probe SDIO 2013-02-28 18:57:10 +01:00
board-dt.c ARM: arm-soc platform updates for 3.10, part 3 2013-05-07 11:02:18 -07:00
board-goflexnet.c
board-guruplug.c ARM: kirkwood: make use of DT mvsdio on guruplug board 2013-03-30 20:47:23 +00:00
board-ib62x0.c
board-iconnect.c
board-iomega_ix2_200.c Fix GE0/GE1 init on ix2-200 as GE0 has no PHY 2013-04-10 16:50:58 +00:00
board-km_kirkwood.c
board-lsxl.c
board-mplcec4.c arm: kirkwood: mplcec4: use Device Tree to probe SDIO 2013-02-28 18:57:11 +01:00
board-ns2.c ARM: Kirkwood: DT board setup for CloudBox 2013-04-10 18:16:06 +00:00
board-nsa310.c arm-soc: mvebu platform changes 2013-02-28 20:09:24 -08:00
board-openblocks_a6.c ARM: Kirkwood: Convert openblocks A6 board to pinctrl 2013-02-28 18:57:11 +01:00
board-readynas.c ARM: kirkwood: Add support for NETGEAR ReadyNAS Duo v2 using DT 2013-03-28 18:32:40 +00:00
board-ts219.c ARM: Kirkwood: TS219: Fix crash by double PCIe instantiation 2013-05-28 14:50:06 +00:00
board-usi_topkick.c ARM: kirkwood: topkick: init mvsdio via DT 2013-02-28 18:57:16 +01:00
common.c ARM: Orion: Remove redundant init_dma_coherent_pool_size() 2013-05-13 19:32:14 +00:00
common.h ARM: arm-soc platform updates for 3.10, part 3 2013-05-07 11:02:18 -07:00
d2net_v2-setup.c
db88f6281-bp-setup.c
dockstar-setup.c Merge branch 'timer/cleanup' into late/mvebu2 2013-02-28 18:54:15 +01:00
guruplug-setup.c ARM: Kirkwood: fix unused mvsdio gpio pins 2013-03-28 16:56:31 +00:00
irq.c
lacie_v2-common.c
lacie_v2-common.h
mpp.c
mpp.h
mv88f6281gtw_ge-setup.c
netspace_v2-setup.c
netxbig_v2-setup.c
openrd-setup.c ARM: Kirkwood: fix unused mvsdio gpio pins 2013-03-28 16:56:31 +00:00
pcie.c arm: mach-kirkwood: convert to use mvebu-mbus driver 2013-04-15 14:06:22 +00:00
rd88f6192-nas-setup.c
rd88f6281-setup.c ARM: Kirkwood: fix unused mvsdio gpio pins 2013-03-28 16:56:31 +00:00
sheevaplug-setup.c
t5325-setup.c
ts41x-setup.c
ts219-setup.c Kirkwood: Enable PCIe port 1 on QNAP TS-11x/TS-21x 2013-05-13 15:57:29 +00:00
tsx1x-common.c
tsx1x-common.h