瀏覽代碼

Merge branch 'master' of git://www.denx.de/git/u-boot-cfi-flash

Tom Rini 11 年之前
父節點
當前提交
5b9c79a81d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/mtd/cfi_flash.c

+ 1 - 1
drivers/mtd/cfi_flash.c

@@ -1803,7 +1803,7 @@ static int flash_detect_legacy(phys_addr_t base, int banknum)
 					break;
 				else
 					unmap_physmem((void *)info->start[0],
-						      MAP_NOCACHE);
+						      info->portwidth);
 			}
 		}