Searched refs:add_dataflash (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/drivers/mtd/spi/ |
H A D | sf_dataflash.c | 417 static int add_dataflash(struct udevice *dev, char *name, int nr_pages, in add_dataflash() function 609 status = add_dataflash(dev, info->name, info->nr_pages, in spi_dataflash_probe() 635 status = add_dataflash(dev, "AT45DB011B", 512, 264, 9, 0); in spi_dataflash_probe() 638 status = add_dataflash(dev, "AT45DB021B", 1024, 264, 9, 0); in spi_dataflash_probe() 641 status = add_dataflash(dev, "AT45DB041x", 2048, 264, 9, 0); in spi_dataflash_probe() 644 status = add_dataflash(dev, "AT45DB081B", 4096, 264, 9, 0); in spi_dataflash_probe() 647 status = add_dataflash(dev, "AT45DB161x", 4096, 528, 10, 0); in spi_dataflash_probe() 650 status = add_dataflash(dev, "AT45DB321x", 8192, 528, 10, 0); in spi_dataflash_probe() 654 status = add_dataflash(dev, "AT45DB642x", 8192, 1056, 11, 0); in spi_dataflash_probe()
|
/openbmc/linux/drivers/mtd/devices/ |
H A D | mtd_dataflash.c | 678 static inline int add_dataflash(struct spi_device *spi, char *name, in add_dataflash() function 884 status = add_dataflash(spi, "AT45DB011B", 512, 264, 9); in dataflash_probe() 887 status = add_dataflash(spi, "AT45DB021B", 1024, 264, 9); in dataflash_probe() 890 status = add_dataflash(spi, "AT45DB041x", 2048, 264, 9); in dataflash_probe() 893 status = add_dataflash(spi, "AT45DB081B", 4096, 264, 9); in dataflash_probe() 896 status = add_dataflash(spi, "AT45DB161x", 4096, 528, 10); in dataflash_probe() 899 status = add_dataflash(spi, "AT45DB321x", 8192, 528, 10); in dataflash_probe() 903 status = add_dataflash(spi, "AT45DB642x", 8192, 1056, 11); in dataflash_probe()
|