Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2016-01-26 Thread Zhiqiang Hou
Hi Jagan, Up to now, I didn't find the 4-Byte addressing mode support. Do you know if anybody have schedule to add it? if no, could you please apply this patch, due to as I have said when do the warm boot up, the SPI flash will be kept in 4-Byte addressing mode that kernel driver set, while t

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-19 Thread Hou Zhiqiang
Hello Jagannadha and Siva, Do you have any idea for if there should be a shift upon the flash size? If yes, why there isn't one when initializing the BAR read/write commands? > -Original Message- > From: Hou Zhiqiang-B48286 > Sent: 2015年8月14日 18:02 > To: 'Siva Durga Prasad Paladugu'; u-bo

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-17 Thread Jagan Teki
ists.denx.de; Hou Zhiqiang; York Sun >> Subject: Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address >> mode >> >> On 17 August 2015 at 14:26, Siva Durga Prasad Paladugu >> wrote: >> > Hi Jagan, >> > >> >> -Original Messa

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-17 Thread Siva Durga Prasad Paladugu
t; >> To: Siva Durga Prasad Paladugu > >> Cc: Hou Zhiqiang; Stefan Roese; nofooter; York Sun; > >> u-boot@lists.denx.de > >> Subject: Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte > >> address mode > >> > >> Hi Siva, > >

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-17 Thread Jagan Teki
an Roese; nofooter; York Sun; u-boot@lists.denx.de >> Subject: Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address >> mode >> >> Hi Siva, >> >> On 13 August 2015 at 18:18, Siva Durga Prasad Paladugu >> wrote: >> >> >> >>

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-17 Thread Siva Durga Prasad Paladugu
Hi Jagan, > -Original Message- > From: Jagan Teki [mailto:jt...@openedev.com] > Sent: Monday, August 17, 2015 1:43 PM > To: Siva Durga Prasad Paladugu > Cc: Hou Zhiqiang; Stefan Roese; nofooter; York Sun; u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH V6] sf: Turn S

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-17 Thread Jagan Teki
Hi Siva, On 13 August 2015 at 18:18, Siva Durga Prasad Paladugu wrote: >> >> >> Hi Zhejiang/Jagan, >> >> >> >> >> >> I think it would be good to extend this further to support 4-byte >> >> >> addressing in u-boot also. >> >> >> This would be based on the driver, We can get the data that >> >> >>

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-17 Thread Jagan Teki
On 13 August 2015 at 17:23, Stefan Roese wrote: > Jagan, > > On 13.08.2015 13:45, Jagan Teki wrote: Please correct me if I'm wrong, but AFAIU this BAR thing (CONFIG_SPI_FLASH_BAR) doesn't support to address e.g. a 64MiB SPI flash contiguously. Only 16MiB areas. So for example i

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-14 Thread Hou Zhiqiang
Hi Jagannadha, See Siva's comments inline and For the DUAL spi flash memories, do you have any comment? > -Original Message- > From: Siva Durga Prasad Paladugu [mailto:siva.durga.palad...@xilinx.com] > Sent: 2015年8月14日 12:55 > To: Hou Zhiqiang-B48286; u-boot@lists.denx.de; jt...@openedev

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-13 Thread Siva Durga Prasad Paladugu
Hi Zhiqiang, > -Original Message- > From: Zhiqiang Hou [mailto:b48...@freescale.com] > Sent: Wednesday, August 12, 2015 11:48 AM > To: u-boot@lists.denx.de; jt...@openedev.com > Cc: york...@freescale.com; mingkai...@freescale.com; Siva Durga Prasad > Paladugu; Hou Zhiqiang > Subject: [PATC

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-13 Thread Siva Durga Prasad Paladugu
20:48 > > To: Jagan Teki > > Cc: Stefan Roese; Hou Zhiqiang-B48286; u-boot@lists.denx.de; nofooter; > > Sun York-R58495 > > Subject: RE: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte > > address mode > > > > B.R > Zhiqiang This email and any

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-13 Thread Hou Zhiqiang
t; Sun York-R58495 > Subject: RE: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte > address mode > B.R Zhiqiang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-13 Thread Siva Durga Prasad Paladugu
t; >> To: Hou Zhiqiang; Siva Durga Prasad Paladugu; u-boot@lists.denx.de; > >> jt...@openedev.com > >> Cc: nofooter; York Sun > >> Subject: Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte > >> address mode > >>

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-13 Thread Stefan Roese
Jagan, On 13.08.2015 13:45, Jagan Teki wrote: Please correct me if I'm wrong, but AFAIU this BAR thing (CONFIG_SPI_FLASH_BAR) doesn't support to address e.g. a 64MiB SPI flash contiguously. Only 16MiB areas. So for example its not possible to put UBI/UBIFS in such a big partition. Stefan, No,

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-13 Thread Jagan Teki
.@openedev.com >> Cc: nofooter; York Sun >> Subject: Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address >> mode >> >> On 13.08.2015 12:50, Hou Zhiqiang wrote: >> >> -Original Message- >> >> From: Siva Durga Prasad Paladug

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-13 Thread Siva Durga Prasad Paladugu
> -Original Message- > From: Stefan Roese [mailto:s...@denx.de] > Sent: Thursday, August 13, 2015 4:51 PM > To: Hou Zhiqiang; Siva Durga Prasad Paladugu; u-boot@lists.denx.de; > jt...@openedev.com > Cc: nofooter; York Sun > Subject: Re: [U-Boot] [PATCH V6] sf: Turn

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-13 Thread Stefan Roese
On 13.08.2015 12:50, Hou Zhiqiang wrote: -Original Message- From: Siva Durga Prasad Paladugu [mailto:siva.durga.palad...@xilinx.com] Sent: 2015年8月13日 17:18 To: Hou Zhiqiang-B48286; u-boot@lists.denx.de; jt...@openedev.com Cc: Sun York-R58495; Hu Mingkai-B21284; nofooter Subject: RE: [PATC

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-13 Thread Hou Zhiqiang
> -Original Message- > From: Siva Durga Prasad Paladugu [mailto:siva.durga.palad...@xilinx.com] > Sent: 2015年8月13日 17:18 > To: Hou Zhiqiang-B48286; u-boot@lists.denx.de; jt...@openedev.com > Cc: Sun York-R58495; Hu Mingkai-B21284; nofooter > Subject: RE: [PATCH V6] sf: Turn SPI flash chip

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-13 Thread Siva Durga Prasad Paladugu
Hi Zhejiang/Jagan, I think it would be good to extend this further to support 4-byte addressing in u-boot also. This would be based on the driver, We can get the data that whether the controller supports 4-byte or not from the driver level(through slave struct) and enable 4 byte addressing here

[U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-11 Thread Zhiqiang Hou
From: Hou Zhiqiang For more than 16MiB SPI flash chips, there are 3-Byte and 4-Byte address mode, and only the 3-Byte address mode is supported in U-Boot so far. So, reset the SPI flash to 3-Byte address mode in probe to ensure the SPI flash work correctly, because it may has been set to 4-Byte a