From: Daniel Schwierzeck Date: Sun, 31 Jul 2016 14:27:33 +0200 Subject: [U-Boot] [PATCH 2/3] net: emaclite: use __raw_readl/writel instead of weird define In-Reply-To: <1469618709-27153-3-git-send-email-Zubair.Kakakhel@imgtec.com> References: <1469618709-27153-1-git-send-email-Zubair.Kakakhel@imgtec.com> <1469618709-27153-3-git-send-email-Zubair.Kakakhel@imgtec.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am 27.07.2016 um 13:25 schrieb Zubair Lutfullah Kakakhel: > out_be32 and in_be32 are actually #defined to little endian > writel/readl in arch/microblaze. > > Just use __raw_writel/readl instead. That is also what is used > in the Linux kernel driver for this IP block > > Tested on MIPSfpga. Can tftp a kernel. > > Signed-off-by: Zubair Lutfullah Kakakhel > Reviewed-by: Paul Burton > --- > drivers/net/xilinx_emaclite.c | 86 ++++++++++++++++++++++--------------------- > 1 file changed, 45 insertions(+), 41 deletions(-) > applied to u-boot-mips/next, thanks -- - Daniel -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: OpenPGP digital signature URL: