]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: kirkwood: Get drvdata in .ofdata_to_platdata
authorJagan Teki <jagan@amarulasolutions.com>
Thu, 15 Mar 2018 11:33:22 +0000 (17:03 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 3 Aug 2018 05:39:53 +0000 (11:09 +0530)
commitf5ff46f6e5f88e1ee276963105d328a1bda6269a
tree1a62ce322718f2cab69acb6732761a174be23cdb
parent04d57b1d588aeda00f308028aad6239467f24923
spi: kirkwood: Get drvdata in .ofdata_to_platdata

Get the is_errata_50mhz_ac in .ofdata_to_platdata, and
reuse it in .set_mode this can eventually initialized
dt code at once and adding room to add platdata.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/kirkwood_spi.c