mtd: spi-nor: Add support for Fujitsu MB85RS1MT FRAM
authorRostislav Lisovy <lisovy@gmail.com>
Wed, 29 Oct 2014 09:10:47 +0000 (10:10 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 5 Nov 2014 21:04:38 +0000 (13:04 -0800)
Tested with this particular FRAM chip

Signed-off-by: Rostislav Lisovy <lisovy@merica.cz>
Acked-by: Marek Vasut <marex@denx.de>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/spi-nor/spi-nor.c

index c5325eb..3e98e2a 100644 (file)
@@ -496,6 +496,9 @@ static const struct spi_device_id spi_nor_ids[] = {
        { "mr25h256", CAT25_INFO( 32 * 1024, 1, 256, 2, SPI_NOR_NO_ERASE | SPI_NOR_NO_FR) },
        { "mr25h10",  CAT25_INFO(128 * 1024, 1, 256, 3, SPI_NOR_NO_ERASE | SPI_NOR_NO_FR) },
 
+       /* Fujitsu */
+       { "mb85rs1mt", INFO(0x047f27, 0, 128 * 1024, 1, SPI_NOR_NO_ERASE) },
+
        /* GigaDevice */
        { "gd25q32", INFO(0xc84016, 0, 64 * 1024,  64, SECT_4K) },
        { "gd25q64", INFO(0xc84017, 0, 64 * 1024, 128, SECT_4K) },