fix reboot after mtd operations on intel flash chip