[ARM] Kirkwood: restrict the scope of the PCIe reset workaround
authorNicolas Pitre <nico@fluxnic.net>
Thu, 21 Oct 2010 19:48:33 +0000 (15:48 -0400)
committerNicolas Pitre <nico@fluxnic.net>
Thu, 21 Oct 2010 19:52:03 +0000 (15:52 -0400)
commit3924996bab2845bdf9a9d16ff7c20445de1ab55d
tree8d70c64909df1a8d29f7405eea63ccf4adf5385d
parentd3491820e8a65c4a51c8e2a165c6a13f864101ba
[ARM] Kirkwood: restrict the scope of the PCIe reset workaround

Commit 21f0ba90a447 "orion/kirkwood: reset PCIe unit on boot" made the
reset of the PCIe unit unconditional.  While this may fix problems on some
targets, this also causes problems on other targets.

Saeed Bishara <saeed@marvell.com> said about the original problem: "We
couln't pinpoint the root cause of this issue, actually we failed to
reproduce that issue."

So let's restrict the reset of the PCIe unit only to the target where
the original problem was observed.

Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
arch/arm/mach-kirkwood/ts41x-setup.c
arch/arm/plat-orion/include/plat/pcie.h
arch/arm/plat-orion/pcie.c