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

Joe Hershberger joe.hershberger at gmail.com
Fri Jul 29 16:20:03 CEST 2016


On Wed, Jul 27, 2016 at 6:25 AM, Zubair Lutfullah Kakakhel
<Zubair.Kakakhel at imgtec.com> wrote:
> 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>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list