Commit e8885cb6 authored by Imre Kaloz's avatar Imre Kaloz Committed by Nicolas Pitre

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: default avatarImre Kaloz <kaloz@openwrt.org>
Signed-off-by: default avatarNicolas Pitre <nicolas.pitre@linaro.org>
parent bcacff29
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment