Re: [PATCH v2 2/4] xilinx_spi: Switch to iomem functions and support little endian.

2009-11-12 Thread Grant Likely
On Thu, Nov 12, 2009 at 7:26 AM, Richard Röjfors wrote: > This patch changes the out_(be)(8|16|32) and in_(be)(8|16|32) calls to 32 > bits ioread/iowrite. > > The read and write function are attached to the internal struct as callbacks, > callback > is selected depending on endianess. > > This w

[PATCH v2 2/4] xilinx_spi: Switch to iomem functions and support little endian.

2009-11-12 Thread Richard Röjfors
This patch changes the out_(be)(8|16|32) and in_(be)(8|16|32) calls to 32 bits ioread/iowrite. The read and write function are attached to the internal struct as callbacks, callback is selected depending on endianess. This will also build on platforms not supporting the in/out calls for instanc