[U-Boot] [PATCH 2/3] net: emaclite: use __raw_readl/writel instead of weird define

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Sun Jul 31 14:27:33 CEST 2016



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 <Zubair.Kakakhel at imgtec.com>
> Reviewed-by: Paul Burton <paul.burton at imgtec.com>
> ---
>  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: <http://lists.denx.de/pipermail/u-boot/attachments/20160731/2934e927/attachment.sig>


More information about the U-Boot mailing list