ARM: arch-meson: fix writel arguments order
Using writel causes a "Synchronous Abort". Invert the arguments. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
parent
90d75d2efc
commit
3ef3fbbf9b
@ -38,8 +38,8 @@ void meson_gx_eth_init(phy_interface_t mode, unsigned int flags)
|
|||||||
/* Use GXL RMII Internal PHY */
|
/* Use GXL RMII Internal PHY */
|
||||||
if (IS_ENABLED(CONFIG_MESON_GXL) &&
|
if (IS_ENABLED(CONFIG_MESON_GXL) &&
|
||||||
(flags & MESON_GXL_USE_INTERNAL_RMII_PHY)) {
|
(flags & MESON_GXL_USE_INTERNAL_RMII_PHY)) {
|
||||||
writel(GXBB_ETH_REG_2, 0x10110181);
|
writel(0x10110181, GXBB_ETH_REG_2);
|
||||||
writel(GXBB_ETH_REG_3, 0xe40908ff);
|
writel(0xe40908ff, GXBB_ETH_REG_3);
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user