提交 e8885cb6 编写于 作者: I Imre Kaloz 提交者: 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: NImre Kaloz <kaloz@openwrt.org>
Signed-off-by: NNicolas Pitre <nicolas.pitre@linaro.org>
上级 bcacff29
...@@ -24,7 +24,7 @@ static unsigned int __init orion5x_variant(void) ...@@ -24,7 +24,7 @@ static unsigned int __init orion5x_variant(void)
orion5x_pcie_id(&dev, &rev); orion5x_pcie_id(&dev, &rev);
if (dev == MV88F5181_DEV_ID && rev >= MV88F5181L_REV_A0) if (dev == MV88F5181_DEV_ID)
return MPP_F5181_MASK; return MPP_F5181_MASK;
if (dev == MV88F5182_DEV_ID) if (dev == MV88F5182_DEV_ID)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册