Exemplo n.º 1
0
	.write_enable = spi_general_write_enable,
	.entry_4addr  = spi_n25q256a_entry_4addr,
	.bus_prepare  = spi_general_bus_prepare,
};
/*****************************************************************************/

struct spi_info hisfc350_spi_info_table[] =
{

	{
		"EN25QH256", {0x1C, 0x70, 0x19}, 3, (_64K * 512), _64K, 4,
		{
			&READ_STD(0, INFINITE, 50),
			&READ_FAST(1, INFINITE, 50),
			&READ_DUAL(1, INFINITE, 54),
			&READ_DUAL_ADDR(1, INFINITE, 54),
			0
		},

		{
			&WRITE_STD(0 , 256, 75),
			0
		},

		{
			&ERASE_SECTOR_64K(0, _64K, 75),
			0
		},

		&spi_driver_general,
	},
Exemplo n.º 2
0
		{&WRITE_STD(0, 256, 108), 0},
		{&ERASE_SECTOR(0, SPI_IF_ERASE_SECTOR, 108), 0}},

	{
		"MX25L12845E", {0xc2, 0x20, 0x18}, 3, _16M,   _64K, 3,
		{&READ_STD(0, INFINITE, 50), &READ_FAST(1, INFINITE, 108), 0},
		{&WRITE_STD(0, 256, 108), 0},
		{&ERASE_SECTOR(0, SPI_IF_ERASE_SECTOR, 108), 0}},
	*/

	{
		"MX25L25635E", {0xc2, 0x20, 0x19}, 3, _32M, _64K, 4,
		{
			&READ_STD(0, INFINITE, 40/*50*/),
			&READ_FAST(1, INFINITE, 64/*80*/),
			&READ_DUAL_ADDR(1, INFINITE, 56/*70*/),
			&READ_QUAD_ADDR(2, INFINITE, 56/*70*/),
			0
		},
		{&WRITE_STD(0, 256, 64/*80*/), 0},
		{&ERASE_SECTOR(0, SPI_IF_ERASE_SECTOR, 64/*80*/), 0}
	},

	{
		"mx25l1655d",  {0xc2, 0x26, 0x15}, 3, _2M,    _64K, 3,
		{&READ_STD(0, INFINITE, 0), 0},
		{&WRITE_STD(0, 256, 0), 0},
		{&ERASE_SECTOR(0, SPI_IF_ERASE_SECTOR, 0), 0}
	},
	{
		"mx25l12855e", {0xc2, 0x26, 0x18}, 3, _16M,   _64K, 3,