From: Chuanxiao Dong Date: Thu, 5 Aug 2010 16:48:49 +0000 (+0800) Subject: mtd: denali: update get nand para functions X-Git-Tag: v2.6.36-rc1~301^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef41e1bb11fc21acad35c8c3b673fe9f2f29d819;p=pandora-kernel.git mtd: denali: update get nand para functions In denali driver, wTotalBlocks variable is useless, so just remove them in get_toshiba_nand_para and get_hynix_nand_para first. Other wTotalBlocks in denali.c and other variables in dev_info struct are also useless, will remove them later. Also add a parameter in get_hynix_nand_para to prepare to remove dev_info struct. This parameter comes by reading NAND ID directly. Reading register will report wrong value for some NAND chips, e.g. some Micron MT29F32G08QAA chips. So update NAND_CMD_READID method as well. Signed-off-by: Chuanxiao Dong Signed-off-by: David Woodhouse --- Reading git-diff-tree failed