On Thu, Apr 26, 2018 at 1:45 PM, Gajjar Akash wrote:
> Hi Jagan,
>
>
>> +#if CONFIG_IS_ENABLED(OF_CONTROL)
>> static int davinci_ofdata_to_platadata(struct udevice *bus)
>> {
>> - struct davinci_spi_slave *ds = dev_get_priv(bus);
>> - const void *blob =
Hi Jagan,
> +#if CONFIG_IS_ENABLED(OF_CONTROL)
> static int davinci_ofdata_to_platadata(struct udevice *bus)
> {
> - struct davinci_spi_slave *ds = dev_get_priv(bus);
> - const void *blob = gd->fdt_blob;
> - int node = dev_of_offset(bus);
> + struct davinci_spi_platdata
From: Jagan Teki
davinci_spi now support dt along with platform data,
respective boards need to switch into dm for the same.
Signed-off-by: Jagan Teki
---
drivers/spi/Kconfig| 12 +-
drivers/spi/davinci_spi.c
3 matches
Mail list logo