sunxi-nand: Only move data to free block when LML_VirtualBlkErase succeeds

Pulled from sun7i NAND driver

Signed-off-by: Patrick Wood <patrickhwood@gmail.com>
sunxi-nand: Added more NAND Flash IDs and code for handling them

New NAND parameters for various manufacturers.
New code for handlind Sandisk NAND
Pulled from sun7i NAND driver

Signed-off-by: Patrick Wood <patrickhwood@gmail.com>
sunxi-nand: Retry code from AW sun7i A20 NAND driver

Pulled retry code from AW A20 NAND code.
Tested on mk802 (Hynix) and Cubieboard A10/A20 (Samsung), but
it's hard to know whether the new code was properly exercised.
Other NAND devices couldn't be tested.

Signed-off-by: Patrick Wood <patrickhwood@gmail.com>
sunxi-nand: add call to PHY_ChangeMode(1) in SCN_AnalyzeNandSystem

It's not clear whether the call to PHY_ChangeMode is required here;
however, the AW sun7i code in SCN_AnalyzeNandSystem has it here,
and SCN_AnalyzeNandSystem is called from init_blklayer in nfd/nand_blk.c
before init_blklayer calls PHY_ChangeMode.

Signed-off-by: Patrick Wood <patrickhwood@gmail.com>