]> Git Repo - J-u-boot.git/blobdiff - drivers/mtd/spi/spi-nor-tiny.c
mtd: spi-nor-core: Add a ->setup() hook
[J-u-boot.git] / drivers / mtd / spi / spi-nor-tiny.c
index b0aa97d3244640a47dc2ad2fad6e4d637ecd7c0c..70061f1a617e0484710b22ba6db9d1f23d5c0fdf 100644 (file)
@@ -555,28 +555,6 @@ static int spansion_read_cr_quad_enable(struct spi_nor *nor)
 }
 #endif /* CONFIG_SPI_FLASH_SPANSION */
 
-struct spi_nor_read_command {
-       u8                      num_mode_clocks;
-       u8                      num_wait_states;
-       u8                      opcode;
-       enum spi_nor_protocol   proto;
-};
-
-enum spi_nor_read_command_index {
-       SNOR_CMD_READ,
-       SNOR_CMD_READ_FAST,
-
-       /* Quad SPI */
-       SNOR_CMD_READ_1_1_4,
-
-       SNOR_CMD_READ_MAX
-};
-
-struct spi_nor_flash_parameter {
-       struct spi_nor_hwcaps           hwcaps;
-       struct spi_nor_read_command     reads[SNOR_CMD_READ_MAX];
-};
-
 static void
 spi_nor_set_read_settings(struct spi_nor_read_command *read,
                          u8 num_mode_clocks,
This page took 0.026222 seconds and 4 git commands to generate.