]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: omap3_spi: Read platform data in ofdata_to_platdata()
authorFaiz Abbas <faiz_abbas@ti.com>
Mon, 14 Sep 2020 06:41:16 +0000 (12:11 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 15 Sep 2020 13:21:53 +0000 (18:51 +0530)
commitafd4f15a39de0fa572792a3037545afbac386ee5
tree9dc38ac1e866d5facaae1a609be87da073b8c07e
parent41cf3cb39ddbb8a0b892781388e1054653d33ed1
spi: omap3_spi: Read platform data in ofdata_to_platdata()

Add an ofdata_to_platdata() callback to access dts in U-boot and
access all platform data in it. This prepares the driver for supporting
both device tree as well as static platform data structures in SPL.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
drivers/spi/omap3_spi.c