From: Baruch Siach Date: Mon, 14 Mar 2011 07:01:56 +0000 (+0200) Subject: mtd: mxc_nand: add support for multiple chips on V21 devices X-Git-Tag: v3.0-rc1~32^2~96 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d178e3e88f538323eb483df1563c8edfb71fdb39;p=pandora-kernel.git mtd: mxc_nand: add support for multiple chips on V21 devices Do the following to add support for up to 4 chips on V21 devices (i.MX25 and i.MX35): * implement .select_chip for V21 * adjust existing NFC_V1_V2_BUF_ADDR writes to take chip select into account * unlock all chip selects at preset_v1_v2() * scan up to 4 devices at .probe This has been tested on i.MX25 with two attached NAND chip (on one die). Signed-off-by: Baruch Siach Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed