NAND support (untested, compiles)

Signed-off-by: Alec Ari <neotheuser@ymail.com>