Hi Aaronwu,
One more thing missing ,I find a tiny bug in uboot-2013R1 , file:drivers/mtd/spi/spansion.c
in definition :
static const struct spansion_spi_flash_params spansion_spi_flash_table[] = {
.....
{ | |
.idcode1 = 0x0220, | |
.idcode2 = 0x4d01, //here it should be 0x4d00 , then it can detect the s25fl512s spi flash | |
.pages_per_sector = 256, | |
.nr_sectors = 1024, | |
.name = "S25FL512S_64K", |
},
}
Thanks!