summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorAllen Xu <b45815@freescale.com>2014-02-26 15:47:19 -0600
committerAllen Xu <b45815@freescale.com>2014-02-27 18:25:38 -0600
commit80d3c72eca70fe959c1bf368c0ee152e3a762636 (patch)
treeb70747e0afd34e0452303cd45258865232122ab1 /drivers/mtd
parent9a2163184a827c6520316055ce29e0a9d33c9206 (diff)
downloadu-boot-imx-80d3c72eca70fe959c1bf368c0ee152e3a762636.zip
u-boot-imx-80d3c72eca70fe959c1bf368c0ee152e3a762636.tar.gz
u-boot-imx-80d3c72eca70fe959c1bf368c0ee152e3a762636.tar.bz2
ENGR00301262-2 qspi: add Freescale QuadSPI support
enabled qspi read/write/erase functions and passed 3 byte mode tests. Acked-by: Shawn Guo Signed-off-by: Huang Shijie <b32955@freescale.com> Signed-off-by: Allen Xu <b45815@freescale.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/spi/stmicro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/spi/stmicro.c b/drivers/mtd/spi/stmicro.c
index 2a9972b..3b39737 100644
--- a/drivers/mtd/spi/stmicro.c
+++ b/drivers/mtd/spi/stmicro.c
@@ -131,7 +131,7 @@ static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = {
{
.id = 0xba19,
.pages_per_sector = 256,
- .nr_sectors = 512,
+ .nr_sectors = 256,
.name = "N25Q256",
},
{