[PATCH] mtd: denali: use NAND_CI_CELLTYPE_MSK instead of hardcoded constant

Brian Norris computersforpeace at gmail.com
Sat Jul 27 15:06:38 EDT 2013


On Sat, Jul 27, 2013 at 7:09 AM, Akinobu Mita <akinobu.mita at gmail.com> wrote:
> Use NAND_CI_CELLTYPE_MSK to extract the cell type from nand_chip.cellinfo
> instead of hardcoded constant.
>
> Signed-off-by: Akinobu Mita <akinobu.mita at gmail.com>
> Cc: Artem Bityutskiy <dedekind1 at gmail.com>
> Cc: David Woodhouse <dwmw2 at infradead.org>
> Cc: linux-mtd at lists.infradead.org

Acked-by: Brian Norris <computersforpeace at gmail.com>

A comment not necessarily pertinent to this change: we don't set the
'cellinfo' field for ONFI chips, so this test for MLC won't be correct
for ONFI NAND.

Brian



More information about the linux-mtd mailing list