[PATCH 3/7] usb: gadget: pxa25x_udc: use readl/writel for mmio

Robert Jarzmik robert.jarzmik at free.fr
Sat Feb 20 12:54:17 PST 2016


Arnd Bergmann <arnd at arndb.de> writes:

> Coming back to the specific pxa25x_udc case: using __raw_* accessors
> in the driver would possibly end up breaking the PXA25x machines in
> the (very unlikely) case that someone wants to make it work with
> big-endian kernels, assuming it does not have the same hardware
> byteswap logic as ixp4xx.

As far as I know, pxa25x machine implies the kernel is little endian. From an
hardware perspective, pxa25x doesn't support big endian (old ARM platform).

So I don't think considering BE for pxa25x is ... necessary.

Cheers.

-- 
Robert



More information about the linux-arm-kernel mailing list