[U-Boot] [PATCH v2] sf: update sst25wf040b flash params
Jagan Teki
jteki at openedev.com
Mon Jun 29 21:53:07 CEST 2015
On 29 June 2015 at 15:06, Wang Haikun <Haikun.Wang at freescale.com> wrote:
> On 6/29/2015 5:26 PM, Jagan Teki wrote:
>> On 29 June 2015 at 14:45, Haikun Wang <haikun.wang at freescale.com> wrote:
>>> From: Haikun Wang <Haikun.Wang at freescale.com>
>>>
>>> sst25wf040b doesn't support Auto Address Increment Programming command.
>>> Remove SST_WR flag.
>>>
>>> Signed-off-by: Haikun Wang <B53464 at freescale.com>
>>> ---
>>> Changes in V2:
>>> - Remove extra line
>>>
>>> drivers/mtd/spi/sf_params.c | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/drivers/mtd/spi/sf_params.c b/drivers/mtd/spi/sf_params.c
>>> index c12e8c6..4a4a3af 100644
>>> --- a/drivers/mtd/spi/sf_params.c
>>> +++ b/drivers/mtd/spi/sf_params.c
>>> @@ -100,7 +100,7 @@ const struct spi_flash_params spi_flash_params_table[] = {
>>> {"SST25WF010", 0xbf2502, 0x0, 64 * 1024, 2, RD_NORM, SECT_4K | SST_WR},
>>> {"SST25WF020", 0xbf2503, 0x0, 64 * 1024, 4, RD_NORM, SECT_4K | SST_WR},
>>> {"SST25WF040", 0xbf2504, 0x0, 64 * 1024, 8, RD_NORM, SECT_4K | SST_WR},
>>> - {"SST25WF040B", 0x621613, 0x0, 64 * 1024, 8, RD_NORM, SECT_4K | SST_WR},
>>> + {"SST25WF040B", 0x621613, 0x0, 64 * 1024, 8, RD_NORM, SECT_4K},
>>
>> Tested-by: ?
>>
>>> {"SST25WF080", 0xbf2505, 0x0, 64 * 1024, 16, RD_NORM, SECT_4K | SST_WR},
>>> #endif
>>> #ifdef CONFIG_SPI_FLASH_WINBOND /* WINBOND */
>>> --
>>> 2.1.0.27.g96db324
>>>
>>
>> thanks!
>>
> Verified on LS2085AQDS board.
>
> Tested-by: Haikun Wang <haikun.wang at freescale.com>
Applied to u-boot-spi/master
thanks!
--
Jagan | openedev.
More information about the U-Boot
mailing list