diff options
author | Tom Rini <trini@ti.com> | 2013-06-24 16:37:01 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-06-24 16:37:01 -0400 |
commit | f9c1456cf632175afb7d6b27f42f1aab8432be0f (patch) | |
tree | 8bac21548110dbfdc2d0e571b8cd36be7ccda20c /include | |
parent | 348e47f766ac228fb02d1af562b2e9a4c69355db (diff) | |
parent | b9e31be0f8adc1a55179ae3b45c9e274f4650007 (diff) | |
download | u-boot-imx-f9c1456cf632175afb7d6b27f42f1aab8432be0f.zip u-boot-imx-f9c1456cf632175afb7d6b27f42f1aab8432be0f.tar.gz u-boot-imx-f9c1456cf632175afb7d6b27f42f1aab8432be0f.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-spi
Diffstat (limited to 'include')
-rw-r--r-- | include/spi_flash.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/spi_flash.h b/include/spi_flash.h index 3b6a44e..e80785f 100644 --- a/include/spi_flash.h +++ b/include/spi_flash.h @@ -38,6 +38,16 @@ struct spi_flash { u32 page_size; /* Erase (sector) size */ u32 sector_size; +#ifdef CONFIG_SPI_FLASH_BAR + /* Bank read cmd */ + u8 bank_read_cmd; + /* Bank write cmd */ + u8 bank_write_cmd; + /* Current flash bank */ + u8 bank_curr; +#endif + /* Poll cmd - for flash erase/program */ + u8 poll_cmd; void *memory_map; /* Address of read-only SPI flash access */ int (*read)(struct spi_flash *flash, u32 offset, |