spi: Add support for SPL_OF_PLATDATA to mxs_spi.c driver
authorLukasz Majewski <lukma@denx.de>
Thu, 5 Sep 2019 07:54:58 +0000 (09:54 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:36:36 +0000 (16:36 +0200)
commitec0c81f8edb81de9ab7ad50150ee634d36cbcf9c
treec6d350d88d3136c40931dfcac80de6c869230b2b
parentc2050e10e11b7226f01aa18d49b9d4a2322723ca
spi: Add support for SPL_OF_PLATDATA to mxs_spi.c driver

After this patch the mxs_spi.c DM/DTS driver can be used at early SPL to
read payload from SPI-NOR memories.

It was necessary to adjust its name to 'fsl_imx_2{38}_spi' to match
requirements for SPL_OF_PLATDATA usage.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
drivers/spi/mxs_spi.c