Browse Source

Merge git://git.denx.de/u-boot-spi

Tom Rini 7 năm trước cách đây
mục cha
commit
b55c89ce02
2 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 0
      drivers/mtd/spi/spi_flash_ids.c
  2. 0 1
      include/spi.h

+ 1 - 0
drivers/mtd/spi/spi_flash_ids.c

@@ -67,6 +67,7 @@ const struct spi_flash_info spi_flash_ids[] = {
 	{"gd25lq32",	   INFO(0xc86016, 0x0, 64 * 1024,    64, SECT_4K) },
 #endif
 #ifdef CONFIG_SPI_FLASH_ISSI		/* ISSI */
+	{"is25lq040b",	   INFO(0x9d4013, 0x0, 64 * 1024,    8, 0)  },
 	{"is25lp032",	   INFO(0x9d6016, 0x0, 64 * 1024,    64, 0) },
 	{"is25lp064",	   INFO(0x9d6017, 0x0, 64 * 1024,   128, 0) },
 	{"is25lp128",	   INFO(0x9d6018, 0x0, 64 * 1024,   256, 0) },

+ 0 - 1
include/spi.h

@@ -104,7 +104,6 @@ struct spi_slave {
 	unsigned int wordlen;
 	unsigned int max_write_size;
 	void *memory_map;
-	u8 option;
 
 	u8 flags;
 #define SPI_XFER_BEGIN		BIT(0)	/* Assert CS before transfer */