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

Vignesh R vigneshr at ti.com
Tue May 10 08:29:01 CEST 2016



On 05/09/2016 08:15 PM, Jagan Teki wrote:
> 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.

Ok, will post a v4

-- 
Regards
Vignesh


More information about the U-Boot mailing list