diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2017-12-12 14:23:39 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-12-18 13:06:30 -0500 |
commit | 3ef3fbbf9bfb50e78c46823adc6a7989cc1eb129 (patch) | |
tree | 3e0b137813e2805b8b61677f4131ab1c2e737454 /arch/arm/mach-meson/eth.c | |
parent | 90d75d2efc376094b50d84de80e9cb8b3bcae032 (diff) |
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>
Diffstat (limited to 'arch/arm/mach-meson/eth.c')
-rw-r--r-- | arch/arm/mach-meson/eth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-meson/eth.c b/arch/arm/mach-meson/eth.c index 2debe93952..8c6577b06f 100644 --- a/arch/arm/mach-meson/eth.c +++ b/arch/arm/mach-meson/eth.c @@ -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; |