]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
mtd: nand: set the cell information for ONFI nand
authorHuang Shijie <b32955@freescale.com>
Wed, 25 Sep 2013 06:58:13 +0000 (14:58 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Sun, 27 Oct 2013 23:27:05 +0000 (16:27 -0700)
commit13fbd17941db6af61337d909fd09b9c7f7634632
tree9c73082dd5ae37a82bcd725c1dd1b8a9ef2294f7
parent1c195e909cbe335b02a5dd01075ba65448927ae6
mtd: nand: set the cell information for ONFI nand

The current code does not set the SLC/MLC information for onfi nand.
(This makes that the kernel treats all the onfi nand as SLC nand.)

This patch fills the cell information for ONFI nands.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/nand_base.c