From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Date: Tue, 16 Oct 2018 11:22:43 +0200 Subject: [U-Boot] [PATCH v4 04/13] net: ftgmac100: use setbits_le32() in the reset method In-Reply-To: <20181016092252.11664-1-clg@kaod.org> References: <20181016092252.11664-1-clg@kaod.org> Message-ID: <20181016092252.11664-5-clg@kaod.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de Signed-off-by: C=C3=A9dric Le Goater Reviewed-by: Joel Stanley Acked-by: Joe Hershberger --- drivers/net/ftgmac100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ftgmac100.c b/drivers/net/ftgmac100.c index 67a7c73503c5..78cd9df62986 100644 --- a/drivers/net/ftgmac100.c +++ b/drivers/net/ftgmac100.c @@ -331,7 +331,7 @@ static void ftgmac100_reset(struct ftgmac100_data *priv) =20 debug("%s()\n", __func__); =20 - writel(FTGMAC100_MACCR_SW_RST, &ftgmac100->maccr); + setbits_le32(&ftgmac100->maccr, FTGMAC100_MACCR_SW_RST); =20 while (readl(&ftgmac100->maccr) & FTGMAC100_MACCR_SW_RST) ; --=20 2.17.2