Blackfin: bf526-ezbrd: set SPI flash resources to SST device

The BF526-EZBRD has a SST SPI flash on it, not a ST Micro.

Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Graf Yang 2009-06-15 08:23:41 +00:00 committed by Mike Frysinger
parent 0de4adfb8c
commit dc2c46bb70

View File

@ -237,10 +237,10 @@ static struct flash_platform_data bfin_spi_flash_data = {
.name = "m25p80", .name = "m25p80",
.parts = bfin_spi_flash_partitions, .parts = bfin_spi_flash_partitions,
.nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
.type = "m25p16", .type = "sst25wf040",
}; };
/* SPI flash chip (m25p64) */ /* SPI flash chip (sst25wf040) */
static struct bfin5xx_spi_chip spi_flash_chip_info = { static struct bfin5xx_spi_chip spi_flash_chip_info = {
.enable_dma = 0, /* use dma transfer with this chip*/ .enable_dma = 0, /* use dma transfer with this chip*/
.bits_per_word = 8, .bits_per_word = 8,