Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K flag

2017-09-13 Thread Suresh Gupta
t; From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Suresh > Gupta > Sent: Monday, June 12, 2017 7:33 PM > To: Jagan Teki > Cc: u-boot@lists.denx.de; Jagan Teki ; Yao Yuan > > Subject: Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K > flag &g

Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K flag

2017-06-12 Thread Suresh Gupta
> -Original Message- > From: Suresh Gupta > Sent: Monday, June 12, 2017 2:18 PM > To: 'Jagan Teki' > Cc: Jagan Teki ; york sun ; > u-boot@lists.denx.de; Jagan Teki ; Yao Yuan > > Subject: RE: [U-Boot] [PATCH] sf: Fix s25fs512s er

Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K flag

2017-06-12 Thread Suresh Gupta
> -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Monday, June 12, 2017 11:37 AM > To: Suresh Gupta > Cc: Jagan Teki ; york sun ; > u-boot@lists.denx.de; Jagan Teki ; Yao Yuan > > Subject: Re: [U-Boot] [PATCH] sf: Fix s25fs51

Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K flag

2017-06-11 Thread Jagan Teki
Hi Suresh, On Thu, Jun 8, 2017 at 1:00 PM, Suresh Gupta wrote: > >> > >> > So best way is to disable hybrid mode and configure flash in Uniform >> > Sector Architecture >> >> OK, then send patches to Linux and U-Boot will review and take other >> suggestions too. >> > > Thanks Jagan, > I will se

Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K flag

2017-06-08 Thread Suresh Gupta
> > > > So best way is to disable hybrid mode and configure flash in Uniform > > Sector Architecture > > OK, then send patches to Linux and U-Boot will review and take other > suggestions too. > Thanks Jagan, I will send U-boot patches (after testing) by early next week. My next point :) to d

Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K flag

2017-06-07 Thread Jagan Teki
b...@lists.denx.de; Jagan Teki ; Yao Yuan >> >> Subject: Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K >> flag >> >> Hi Suresh, >> >> This what I understood based on my previous datasheet read __attached__ >> >> In spansion S25FS-S f

Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K flag

2017-06-07 Thread Suresh Gupta
> -Original Message- > From: Jagan Teki [mailto:ja...@amarulasolutions.com] > Sent: Wednesday, June 07, 2017 12:33 PM > To: Suresh Gupta > Cc: york sun ; Jagan Teki ; u- > b...@lists.denx.de; Jagan Teki ; Yao Yuan > > Subject: Re: [U-Boot] [PATCH] sf: Fix

Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K flag

2017-05-14 Thread Suresh Gupta
> -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Friday, May 12, 2017 11:23 PM > To: Suresh Gupta ; Jagan Teki > > Cc: u-boot@lists.denx.de; Jagan Teki ; Yao Yuan > > Subject: Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove S

Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K flag

2017-05-12 Thread York Sun
On 04/27/2017 10:26 PM, Suresh Gupta wrote: -Original Message- From: York Sun [mailto:york@nxp.com] Sent: Thursday, April 27, 2017 10:18 PM To: Suresh Gupta ; Jagan Teki Cc: u-boot@lists.denx.de; Jagan Teki ; Yao Yuan Subject: Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase size

Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K flag

2017-04-27 Thread Suresh Gupta
> -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Thursday, April 27, 2017 10:18 PM > To: Suresh Gupta ; Jagan Teki > > Cc: u-boot@lists.denx.de; Jagan Teki ; Yao Yuan > > Subject: Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remov

Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K flag

2017-04-27 Thread York Sun
On 04/26/2017 10:17 PM, Suresh Gupta wrote: Suresh, Did you test your patch after removing CONFIG_SPI_FLASH_BAR? Why doesn't this flash support BAR commands? How did it work before broken? York, the flash s25fs512s support 32 bit address to handle >16M memory access. With and without

Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K flag

2017-04-26 Thread Suresh Gupta
> -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Thursday, April 27, 2017 4:35 AM > To: Suresh Gupta ; Jagan Teki > > Cc: u-boot@lists.denx.de; Jagan Teki ; Yao Yuan > > Subject: Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remov

Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K flag

2017-04-26 Thread York Sun
On 04/26/2017 12:47 AM, Suresh Gupta wrote: -Original Message- From: Jagan Teki [mailto:jagannadh.t...@gmail.com] Sent: Wednesday, April 26, 2017 1:01 PM To: Suresh Gupta Cc: u-boot@lists.denx.de; Jagan Teki ; york sun ; Yao Yuan Subject: Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase

Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K flag

2017-04-26 Thread Suresh Gupta
> -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Wednesday, April 26, 2017 1:01 PM > To: Suresh Gupta > Cc: u-boot@lists.denx.de; Jagan Teki ; york sun > ; Yao Yuan > Subject: Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and

Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K flag

2017-04-26 Thread Jagan Teki
On Tue, Apr 25, 2017 at 2:51 PM, Suresh Gupta wrote: > As per data sheet, S25FS512S support Uniform sector option > or erase size of 256 kbytes and Page Programming buffer of > 256 or 512 Bytes. So, flag SECT_4K have no significance > for this flash. > > Signed-off-by: Suresh Gupta > --- > drive

[U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K flag

2017-04-25 Thread Suresh Gupta
As per data sheet, S25FS512S support Uniform sector option or erase size of 256 kbytes and Page Programming buffer of 256 or 512 Bytes. So, flag SECT_4K have no significance for this flash. Signed-off-by: Suresh Gupta --- drivers/mtd/spi/spi_flash_ids.c | 2 +- 1 file changed, 1 insertion(+), 1