From: Ezequiel Garcia Date: Thu, 7 Nov 2013 15:17:14 +0000 (-0300) Subject: mtd: nand: pxa3xx: Early variant detection X-Git-Tag: v3.14-rc1~65^2~135 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7e9c7e71b5a76adf42bf10e059ae1d63bcd5e1a;p=pandora-kernel.git mtd: nand: pxa3xx: Early variant detection In order to customize early settings depending on the detected SoC variant, move the detection to be before the nand_chip struct filling. In a follow-up patch, this change is needed to detect the variant *before* the call to alloc_nand_resource(), which allows to set a different cmdfunc() for each variant. Signed-off-by: Ezequiel Garcia Tested-by: Daniel Mack Signed-off-by: Brian Norris --- Reading git-diff-tree failed