moved NAND_MAX_CHIPS out of baremetal