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

From: Robert Jarzmik
Date: Sat Feb 20 2016 - 15:54:30 EST


Arnd Bergmann <arnd@xxxxxxxx> 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