mtd: OneNAND: Detect the correct NOP when 4KiB pagesize
authorKyungmin Park <kyungmin.park@samsung.com>
Wed, 22 Jun 2011 05:16:49 +0000 (14:16 +0900)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Sun, 11 Sep 2011 12:02:13 +0000 (15:02 +0300)
commite1c10243df92822954b9b5e04d12dd2f23a39652
treed2b263c3da7174396d336641f4545acc8d31be22
parentb2a5a4878e97119e3b64d4646fd138820d513c28
mtd: OneNAND: Detect the correct NOP when 4KiB pagesize

There are two different 4KiB pagesize chips
KFM4G16Q4M series have NOP 4 with version ID 0x0131
But KFM4G16Q5M has NOP 1 with versoin ID 0x013e

Note that Q5M means that it has NOP 1.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/onenand/onenand_base.c
include/linux/mtd/onenand.h