diff options
author | Konstantin Porotchkin <kostap@marvell.com> | 2018-08-29 11:56:14 +0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2018-09-19 09:02:34 +0200 |
commit | b0d7c106c9703498f12bb1254b02574c803874a0 (patch) | |
tree | 25c5bf6b3281ef0d98d121b3bab07fe8abdb70e4 /drivers/mtd/nand | |
parent | ac56a3b30cc74f2c9dd667705e756ff5f5aeda0f (diff) | |
download | u-boot-b0d7c106c9703498f12bb1254b02574c803874a0.tar.gz u-boot-b0d7c106c9703498f12bb1254b02574c803874a0.tar.xz u-boot-b0d7c106c9703498f12bb1254b02574c803874a0.zip |
mtd: nand: pxa3xx: add support for Toshiba flash
Add timings and device ID for Toshiba TC58NVG1S3HTA00 flash
Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Reviewed-by: Igal Liberman <igall@marvell.com>
Cc: Stefan Roese <sr@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r-- | drivers/mtd/nand/pxa3xx_nand.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c index 5a84924f7a..0d6e0c7543 100644 --- a/drivers/mtd/nand/pxa3xx_nand.c +++ b/drivers/mtd/nand/pxa3xx_nand.c @@ -252,10 +252,12 @@ struct pxa3xx_nand_info { }; static struct pxa3xx_nand_timing timing[] = { + /*ch cs wh wp rh rp r whr ar */ { 40, 80, 60, 100, 80, 100, 90000, 400, 40, }, { 10, 0, 20, 40, 30, 40, 11123, 110, 10, }, { 10, 25, 15, 25, 15, 30, 25000, 60, 10, }, { 10, 35, 15, 25, 15, 25, 25000, 60, 10, }, + { 5, 20, 10, 12, 10, 12, 25000, 60, 10, }, }; static struct pxa3xx_nand_flash builtin_flash_types[] = { @@ -267,6 +269,7 @@ static struct pxa3xx_nand_flash builtin_flash_types[] = { { 0xdc2c, 8, 8, &timing[2] }, { 0xcc2c, 16, 16, &timing[2] }, { 0xba20, 16, 16, &timing[3] }, + { 0xda98, 8, 8, &timing[4] }, }; #ifdef CONFIG_SYS_NAND_USE_FLASH_BBT |