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:
@@ -145,7 +145,6 @@ static struct spi_board_info timberdale_spi_8bit_board_info[] = {
|
||||
|
||||
static struct xspi_platform_data timberdale_xspi_platform_data = {
|
||||
.num_chipselect = 3,
|
||||
.little_endian = true,
|
||||
/* bits per word and devices will be filled in runtime depending
|
||||
* on the HW config
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user