]> git.baikalelectronics.ru Git - uboot.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)
commit31b3008e76148544344e90507846b26f342d7bed
tree9dc38ac1e866d5facaae1a609be87da073b8c07e
parent97a407b5c0e0b730f499fe3b90977cf08f4d8a37
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