mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
spi: spi-xilinx: Add run run-time endian detection
Do not load endian value from platform data and rather autodetect it. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
parent
d683b96b07
commit
082339bc63
3 changed files with 21 additions and 10 deletions
|
@ -11,7 +11,6 @@
|
|||
*/
|
||||
struct xspi_platform_data {
|
||||
u16 num_chipselect;
|
||||
bool little_endian;
|
||||
u8 bits_per_word;
|
||||
struct spi_board_info *devices;
|
||||
u8 num_devices;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue