[U-Boot] [PATCH v5 1/6] cgtqmx6eval: Add SPI NOR flash support

Jagan Teki jteki at openedev.com
Tue Nov 3 17:56:58 CET 2015


On 3 November 2015 at 22:12, Otavio Salvador
<otavio.salvador at ossystems.com.br> wrote:
> On Tue, Nov 3, 2015 at 2:37 PM, Jagan Teki <jteki at openedev.com> wrote:
>> On 30 October 2015 at 16:04, Otavio Salvador <otavio at ossystems.com.br> wrote:
>>> Add SPI NOR support:
>>>
>>> => sf probe
>>> SF: Detected SST25VF032B with page size 256 Bytes, erase size 4 KiB, total 4 MiB
>>>
>>> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> ...
>>> +/* SPI NOR */
>>> +#define CONFIG_CMD_SF
>>> +#define CONFIG_SPI_FLASH
>>> +#define CONFIG_SPI_FLASH_STMICRO
>>> +#define CONFIG_SPI_FLASH_SST
>>> +#define CONFIG_MXC_SPI
>>
>> Please try to move this to driver model, all these "spinor setup"
>> stuff will go easily on probe call. Ping me anytime for any help.
>
> I can work on this but I want to merge this working version before
> doing any changes.

Thanks, I really see this to happen many of board init stuff have to migrate.

thanks!
-- 
Jagan | openedev.


More information about the U-Boot mailing list