summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2011-07-18 22:05:12 +0200
committerNicolas Pitre <nico@fluxnic.net>2011-07-18 16:17:41 -0400
commite8885cb68dbdaa0a292bf1defc98addd0aed9b04 (patch)
tree716e38bddff10099ce9d723b2646ffc47e6848f8 /arch/arm
parentbcacff291c96c163da9341b764f0ccdeb97b38ad (diff)
downloadblackbird-op-linux-e8885cb68dbdaa0a292bf1defc98addd0aed9b04.tar.gz
blackbird-op-linux-e8885cb68dbdaa0a292bf1defc98addd0aed9b04.zip
ARM: orion5x: fixup 5181 MPP mask check
During the refactoring of the Orion MPP code, the detection for the 5181l as been used to select the 5181 MPP mask, which is wrong. Select the 5181 mask for all 5181 variants. Signed-off-by: Imre Kaloz <kaloz@openwrt.org> Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-orion5x/mpp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-orion5x/mpp.c b/arch/arm/mach-orion5x/mpp.c
index f12c41b98d46..b6ddd7a5db6a 100644
--- a/arch/arm/mach-orion5x/mpp.c
+++ b/arch/arm/mach-orion5x/mpp.c
@@ -24,7 +24,7 @@ static unsigned int __init orion5x_variant(void)
orion5x_pcie_id(&dev, &rev);
- if (dev == MV88F5181_DEV_ID && rev >= MV88F5181L_REV_A0)
+ if (dev == MV88F5181_DEV_ID)
return MPP_F5181_MASK;
if (dev == MV88F5182_DEV_ID)
OpenPOWER on IntegriCloud