[U-Boot] [PATCH v5 1/6] cgtqmx6eval: Add SPI NOR flash support
Otavio Salvador
otavio.salvador at ossystems.com.br
Tue Nov 3 17:42:29 CET 2015
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.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
More information about the U-Boot
mailing list