mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
sf: ramtron: new spi fram driver
Supports most types that support Read-Id and the FM25H20. Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
committed by
Mike Frysinger
parent
0c0892be0d
commit
e0987e251f
@@ -145,11 +145,19 @@ static const struct {
|
||||
#endif
|
||||
#ifdef CONFIG_SPI_FLASH_WINBOND
|
||||
{ 0, 0xef, spi_flash_probe_winbond, },
|
||||
#endif
|
||||
#ifdef CONFIG_SPI_FRAM_RAMTRON
|
||||
{ 6, 0xc2, spi_fram_probe_ramtron, },
|
||||
# undef IDCODE_CONT_LEN
|
||||
# define IDCODE_CONT_LEN 6
|
||||
#endif
|
||||
/* Keep it sorted by best detection */
|
||||
#ifdef CONFIG_SPI_FLASH_STMICRO
|
||||
{ 0, 0xff, spi_flash_probe_stmicro, },
|
||||
#endif
|
||||
#ifdef CONFIG_SPI_FRAM_RAMTRON_NON_JEDEC
|
||||
{ 0, 0xff, spi_fram_probe_ramtron, },
|
||||
#endif
|
||||
};
|
||||
#define IDCODE_LEN (IDCODE_CONT_LEN + IDCODE_PART_LEN)
|
||||
|
||||
|
Reference in New Issue
Block a user