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 ARM: kirkwood: move new dtbs to common Makefile 2012-09-22 14:24:00 -07:00
board-dnskw.c ARM: Kirkwood: Convert dnskw to pinctrl 2012-11-24 02:57:56 +00:00
board-dockstar.c Merge branch 'orion/cleanup' into orion/dt 2012-11-26 01:26:49 -08:00
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 Merge branch 'orion/cleanup' into orion/dt 2012-11-26 01:26:49 -08:00
board-guruplug.c ARM: kirkwood: make use of DT mvsdio on guruplug board 2013-03-30 20:47:23 +00:00
board-ib62x0.c ARM: Kirkwood: Cleanup unneeded include files 2013-01-12 21:50:10 +00:00
board-iconnect.c Merge branch 'orion/cleanup' into orion/dt 2012-11-26 01:26:49 -08:00
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 ARM: Kirkwood: Convert km_kirkwood to pinctrl 2012-11-24 02:58:48 +00:00
board-lsxl.c ARM: arm-soc: Board updates for 3.8 2012-12-12 12:14:06 -08:00
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 ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
db88f6281-bp-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
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 ARM: Kirkwood: Fix sparse warnings. 2012-11-19 03:53:46 +00:00
lacie_v2-common.c ARM: Kirkwood: Fix sparse warnings. 2012-11-19 03:53:46 +00:00
lacie_v2-common.h [ARM] Kirkwood: fix timer initialization for LaCie boards 2010-10-21 14:13:58 -04:00
mpp.c ARM: Kirkwood: checkpatch cleanups 2012-11-19 03:53:54 +00:00
mpp.h ARM: orion: Fix Orion5x GPIO regression from MPP cleanup 2012-02-09 16:16:31 -08:00
mv88f6281gtw_ge-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
netspace_v2-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
netxbig_v2-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
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 ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
rd88f6281-setup.c ARM: Kirkwood: fix unused mvsdio gpio pins 2013-03-28 16:56:31 +00:00
sheevaplug-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
t5325-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
ts41x-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
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 ARM: Kirkwood: Fix sparse warnings. 2012-11-19 03:53:46 +00:00
tsx1x-common.h ARM: 6265/1: kirkwood: move qnap_tsx1x_register_flash() to .init.text 2010-07-26 10:33:08 +01:00