Skip to content
Snippets Groups Projects
Commit 3ef3fbbf authored by Hans Verkuil's avatar Hans Verkuil Committed by Tom Rini
Browse files

ARM: arch-meson: fix writel arguments order


Using writel causes a "Synchronous Abort". Invert the arguments.

Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
parent 90d75d2e
No related branches found
No related tags found
No related merge requests found
......@@ -38,8 +38,8 @@ void meson_gx_eth_init(phy_interface_t mode, unsigned int flags)
/* Use GXL RMII Internal PHY */
if (IS_ENABLED(CONFIG_MESON_GXL) &&
(flags & MESON_GXL_USE_INTERNAL_RMII_PHY)) {
writel(GXBB_ETH_REG_2, 0x10110181);
writel(GXBB_ETH_REG_3, 0xe40908ff);
writel(0x10110181, GXBB_ETH_REG_2);
writel(0xe40908ff, GXBB_ETH_REG_3);
}
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment