]> git.sur5r.net Git - u-boot/commit
spi: mxc_spi: support driver model
authorPeng Fan <peng.fan@nxp.com>
Wed, 9 Aug 2017 05:09:33 +0000 (13:09 +0800)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 25 Sep 2017 07:17:59 +0000 (12:47 +0530)
commit994266bdff7903279b8e43ddbf220b04a4e1411f
tree7f400266c2dce32f24dcb298d319ef2bc4c644c7
parent1f6049e2501b5c35c61435dbc05ba96743202674
spi: mxc_spi: support driver model

Add driver model support for mxc spi driver.
Most functions are restructured to be reused by DM and non-DM.
Tested on mx6slevk/mx6qsabresd board.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
drivers/spi/mxc_spi.c