mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
sf: probe: Add support for EN25Q* flash parts
Added EN25Q* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
This commit is contained in:
parent
53752c90e0
commit
0d7663fe7d
1 changed files with 4 additions and 1 deletions
|
@ -36,6 +36,10 @@ struct spi_flash_params {
|
|||
};
|
||||
|
||||
static const struct spi_flash_params spi_flash_params_table[] = {
|
||||
#ifdef CONFIG_SPI_FLASH_EON /* EON */
|
||||
{"EN25Q32B", 0x1c3016, 0x0, 64 * 1024, 64},
|
||||
{"EN25Q128B", 0x1c3018, 0x0, 64 * 1024, 256},
|
||||
#endif
|
||||
#ifdef CONFIG_SPI_FLASH_STMICRO /* STMICRO */
|
||||
{"M25P10", 0x202011, 0x0, 32 * 1024, 4},
|
||||
{"M25P20", 0x202012, 0x0, 64 * 1024, 4},
|
||||
|
@ -61,7 +65,6 @@ static const struct spi_flash_params spi_flash_params_table[] = {
|
|||
/*
|
||||
* TODO:
|
||||
* ATMEL
|
||||
* EON
|
||||
* GIGADEVICE
|
||||
* MACRONIX
|
||||
* RAMTRON
|
||||
|
|
Loading…
Reference in a new issue