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:
Michal Simek 2013-06-04 16:02:36 +02:00 committed by Mark Brown
parent d683b96b07
commit 082339bc63
3 changed files with 21 additions and 10 deletions

View file

@ -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;