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

2015-11-19 Thread Jagan Teki
On 19 November 2015 at 20:12, Fabio Estevam wrote: > On Thu, Nov 19, 2015 at 6:27 AM, Jagan Teki wrote: > >> Since it's u-boot, size is main constraint ie the main reason to use >> ifdef and also this initialization code must be part of driver probe >> instead of board file, once the driver moved

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

2015-11-19 Thread Fabio Estevam
On Thu, Nov 19, 2015 at 6:27 AM, Jagan Teki wrote: > Since it's u-boot, size is main constraint ie the main reason to use > ifdef and also this initialization code must be part of driver probe > instead of board file, once the driver moved to dm then will move this > as well so to indicate that t

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

2015-11-19 Thread Jagan Teki
Hi Fabio, On 19 November 2015 at 02:50, Fabio Estevam wrote: > Hi Jagan, > > On Tue, Nov 17, 2015 at 4:07 AM, Jagan Teki wrote: >> On 14 November 2015 at 00:19, Otavio Salvador >> wrote: >>> Add SPI NOR support: >>> >>> => sf probe >>> SF: Detected SST25VF032B with page size 256 Bytes, erase s

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

2015-11-18 Thread Fabio Estevam
Hi Jagan, On Tue, Nov 17, 2015 at 4:07 AM, Jagan Teki wrote: > On 14 November 2015 at 00:19, Otavio Salvador 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 > > I have a

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

2015-11-17 Thread Jagan Teki
On 17 November 2015 at 16:00, Otavio Salvador wrote: > On Tue, Nov 17, 2015 at 4:07 AM, Jagan Teki wrote: >> On 14 November 2015 at 00:19, Otavio Salvador >> wrote: >>> Add SPI NOR support: >>> >>> => sf probe >>> SF: Detected SST25VF032B with page size 256 Bytes, erase size 4 KiB, total >>> 4

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

2015-11-17 Thread Otavio Salvador
On Tue, Nov 17, 2015 at 4:07 AM, Jagan Teki wrote: > On 14 November 2015 at 00:19, Otavio Salvador 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 > > I have asked to mov

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

2015-11-16 Thread Jagan Teki
On 14 November 2015 at 00:19, Otavio Salvador 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 I have asked to move the spi_nor int stuff on #ifdef CONFIG_SPI_MXC in previous pat

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

2015-11-13 Thread Otavio Salvador
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 --- Changes in v5: None Changes in v4: None board/congatec/cgtqmx6eval/cgtqmx6eval.c | 23 +++ include/configs/cgtqmx6eval.h