simulator: fix compile errors in nand driver(512+16)
Merge pull request #239 from prife/master

simulator: fix compile errors in nand driver(512+16)