You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
xilinx_spi: Switch to iomem functions and support little endian.
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 instance x86. Acked-by: Grant Likely <grant.likely@secretlab.ca> Tested-by: John Linn <John.Linn@xilinx.com> Signed-off-by: Richard Röjfors <richard.rojfors@mocean-labs.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
committed by
Grant Likely
parent
d5af91a1fa
commit
86fc593599
+1
-1
@@ -244,7 +244,7 @@ config SPI_TXX9
|
||||
|
||||
config SPI_XILINX
|
||||
tristate "Xilinx SPI controller"
|
||||
depends on EXPERIMENTAL
|
||||
depends on HAS_IOMEM && EXPERIMENTAL
|
||||
select SPI_BITBANG
|
||||
select SPI_XILINX_OF if (XILINX_VIRTEX || MICROBLAZE)
|
||||
help
|
||||
|
||||
Reference in New Issue
Block a user