]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: sun4i: Support fifo_depth via drvdata
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 27 Feb 2019 14:32:09 +0000 (20:02 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 4 Mar 2019 12:38:56 +0000 (18:08 +0530)
commit178fbd243daeb0a3137e46bdc3b63d8df049e982
tree5c02b3f6148c239a473407c23ed0c0c1327a046f
parent8d9bf46847cd66989d944060d9ad4b37bb2bc460
spi: sun4i: Support fifo_depth via drvdata

Support fifo_depth via drvdata instead of macro definition, this would
eventually reduce another macro definition for new SPI controller fifo
depth support addition.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
drivers/spi/sun4i_spi.c