diff options
author | Shivamurthy Shastri <sshivamurthy@micron.com> | 2020-07-07 22:04:12 +0200 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2020-07-20 22:28:54 +0530 |
commit | 1f4836b0c93fe704f7cf6ec0b30b541e29ec4eb1 (patch) | |
tree | 1eb4525f35743757789b3818de1a84de11d4675d /drivers/mtd/nand | |
parent | 720fcb27e0be500a718fffd9c1910f8ed94e7745 (diff) | |
download | u-boot-1f4836b0c93fe704f7cf6ec0b30b541e29ec4eb1.zip u-boot-1f4836b0c93fe704f7cf6ec0b30b541e29ec4eb1.tar.gz u-boot-1f4836b0c93fe704f7cf6ec0b30b541e29ec4eb1.tar.bz2 |
mtd: spinand: micron: Add M70A series Micron SPI NAND devices
Add device table for M70A series Micron SPI NAND devices.
Signed-off-by: Shivamurthy Shastri <sshivamurthy@micron.com>
Acked-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r-- | drivers/mtd/nand/spi/micron.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/mtd/nand/spi/micron.c b/drivers/mtd/nand/spi/micron.c index 508088b..fe91349 100644 --- a/drivers/mtd/nand/spi/micron.c +++ b/drivers/mtd/nand/spi/micron.c @@ -137,6 +137,26 @@ static const struct spinand_info micron_spinand_table[] = { 0, SPINAND_ECCINFO(µn_8_ooblayout, micron_8_ecc_get_status)), + /* M70A 4Gb 3.3V */ + SPINAND_INFO("MT29F4G01ABAFD", 0x34, + NAND_MEMORG(1, 4096, 256, 64, 2048, 1, 1, 1), + NAND_ECCREQ(8, 512), + SPINAND_INFO_OP_VARIANTS(&read_cache_variants, + &write_cache_variants, + &update_cache_variants), + SPINAND_HAS_CR_FEAT_BIT, + SPINAND_ECCINFO(µn_8_ooblayout, + micron_8_ecc_get_status)), + /* M70A 4Gb 1.8V */ + SPINAND_INFO("MT29F4G01ABBFD", 0x35, + NAND_MEMORG(1, 4096, 256, 64, 2048, 1, 1, 1), + NAND_ECCREQ(8, 512), + SPINAND_INFO_OP_VARIANTS(&read_cache_variants, + &write_cache_variants, + &update_cache_variants), + SPINAND_HAS_CR_FEAT_BIT, + SPINAND_ECCINFO(µn_8_ooblayout, + micron_8_ecc_get_status)), }; static int micron_spinand_detect(struct spinand_device *spinand) |