[U-Boot] [PATCH v3] dm: spi: Read default speed and mode values from DT

Jagan Teki jagannadh.teki at gmail.com
Mon May 9 16:45:34 CEST 2016


On 13 April 2016 at 15:40, Vignesh R <vigneshr at ti.com> wrote:
> In case of DT boot, don't read default speed and mode for SPI from
> CONFIG_*, instead read from DT node. This will make sure that boards
> with multiple SPI/QSPI controllers can be probed at different
> bus frequencies and SPI modes.
>
> Signed-off-by: Vignesh R <vigneshr at ti.com>
> ---
>
> v3: Update commit message to mention SPI mode changes
>
> v2: Initialize speed, mode to 0 instead of -1
>
>  cmd/sf.c                 | 2 ++

I think env_sf.c also need to update, pls- do change that as well.

-- 
Jagan.


More information about the U-Boot mailing list