[U-Boot] Porting Linux's MTD/NAND changes into U-Boot