[U-Boot] [PATCH 1/3] sf: add missing Atmel at25df321 spi flash support
Bo Shen
voice.shen at atmel.com
Fri Oct 11 03:24:03 CEST 2013
Hi Jagan,
On 10/10/2013 22:14, Jagan Teki wrote:
> Thanks for this.
>
> On Thu, Oct 10, 2013 at 10:37 AM, Bo Shen <voice.shen at atmel.com> wrote:
>> As the spi flash transfer to multiple parts, it is forgot to add
>> Atmel AT25DF321 spi flash support, which broken several Atmel EK
>> boards which this chip. So, add it
>>
>> Signed-off-by: Bo Shen <voice.shen at atmel.com>
>> ---
>> drivers/mtd/spi/sf_probe.c | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_probe.c
>> index 4251b1b..6e19d79 100644
>> --- a/drivers/mtd/spi/sf_probe.c
>> +++ b/drivers/mtd/spi/sf_probe.c
>> @@ -46,6 +46,7 @@ static const struct spi_flash_params spi_flash_params_table[] = {
>> {"AT45DB161D", 0x1f2600, 0x0, 64 * 1024, 32, SECT_4K},
>> {"AT45DB321D", 0x1f2700, 0x0, 64 * 1024, 64, SECT_4K},
>> {"AT45DB641D", 0x1f2800, 0x0, 64 * 1024, 128, SECT_4K},
>> + {"AT25DF321", 0x1f4701, 0x0, 64 * 1024, 64, SECT_4K},
>> #endif
>> #ifdef CONFIG_SPI_FLASH_EON /* EON */
>> {"EN25Q32B", 0x1c3016, 0x0, 64 * 1024, 64, 0},
>
> Did you tested Atmel flash with new probe support?
Yes, tested with AT25DF321 (the missing one). It works well.
For AT45 series, not tested yet, as in mainline, for AT45 series, they
are using dataflash driver. I am planning to move AT45 series using SF,
but too busy and this just in work queue.
Best Regards,
Bo Shen
More information about the U-Boot
mailing list