[U-Boot] [PATCH 1/4] spi: cadence_qspi: Ensure spi_calibration is run when sclk change

Jagan Teki jteki at openedev.com
Tue Sep 8 14:25:54 CEST 2015


On 8 September 2015 at 16:38, Marek Vasut <marex at denx.de> wrote:
> On Tuesday, September 08, 2015 at 03:17:49 AM, Chin Liang See wrote:
>> Ensuring spi_calibration is run when there is a change of sclk
>> frequency. This will ensure the qspi flash access works for high
>> sclk frequency
>>
>> Signed-off-by: Chin Liang See <clsee at altera.com>
>> Cc: Dinh Nguyen <dinguyen at opensource.altera.com>
>> Cc: Dinh Nguyen <dinh.linux at gmail.com>
>> Cc: Marek Vasut <marex at denx.de>
>> Cc: Stefan Roese <sr at denx.de>
>> Cc: Vikas Manocha <vikas.manocha at st.com>
>> Cc: Jagannadh Teki <jteki at openedev.com>
>> Cc: Pavel Machek <pavel at denx.de>
>
> Acked-by: Marek Vasut <marex at denx.de>
>
> Jagan, please apply for -next or I'll pick it up. Which do you prefer ?

You can pick, no issues. once 2/4, 3/4 ready.

>
> [...]
>
>> diff --git a/drivers/spi/cadence_qspi.h b/drivers/spi/cadence_qspi.h
>> index 98e57aa..2912e36 100644
>> --- a/drivers/spi/cadence_qspi.h
>> +++ b/drivers/spi/cadence_qspi.h
>> @@ -38,6 +38,7 @@ struct cadence_spi_priv {
>>       int             qspi_is_init;
>>       unsigned int    qspi_calibrated_hz;
>>       unsigned int    qspi_calibrated_cs;
>
> Idea for future patch: we should get rid of these qspi_ prefixes, they are
> really useless.
>
>> +     unsigned int    previous_hz;
>>  };
>>
>>  /* Functions call declaration */
>

thanks!
-- 
Jagan | openedev.


More information about the U-Boot mailing list