]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mtd: nand: set max_bb_per_die and blocks_per_die for ONFI compliant chips
authorZach Brown <zach.brown@ni.com>
Tue, 10 Jan 2017 19:30:21 +0000 (13:30 -0600)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 8 Feb 2017 22:19:44 +0000 (14:19 -0800)
commit34da5f5f3bf5c0df1bd5528a98e07bd5a224e9d4
tree0e4d2fe5ea68335da640769f7e8b327b14a28962
parent5671842fced7aee1550194f743947953a2f8a27c
mtd: nand: set max_bb_per_die and blocks_per_die for ONFI compliant chips

ONFI compliant chips contain the values for the max_bb_per_die and
blocks_per_die fields in the parameter page. When the ONFI paged is
retrieved/parsed the chip's fields are set by the corresponding fields
in the param page.

Signed-off-by: Zach Brown <zach.brown@ni.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electron.com>
Acked-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/nand_base.c