Convert the NAND driver to platform_driver, allow tgz image to be built correctly