diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2013-11-07 12:17:14 -0300 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-01-03 11:22:10 -0800 |
commit | c7e9c7e71b5a76adf42bf10e059ae1d63bcd5e1a (patch) | |
tree | 9fd295f345cf970cb765fac99d78dd88da01bf4c /drivers/mtd/cmdlinepart.c | |
parent | 4e86fd22af2c930e741536e8637bca9355fa8bb5 (diff) | |
download | talos-op-linux-c7e9c7e71b5a76adf42bf10e059ae1d63bcd5e1a.tar.gz talos-op-linux-c7e9c7e71b5a76adf42bf10e059ae1d63bcd5e1a.zip |
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 <ezequiel.garcia@free-electrons.com>
Tested-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/cmdlinepart.c')
0 files changed, 0 insertions, 0 deletions