On Tue, Nov 3, 2015 at 2:37 PM, Jagan Teki <jt...@openedev.com> wrote: > On 30 October 2015 at 16:04, Otavio Salvador <ota...@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 <ota...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot