Browse Source

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

Tom Rini 11 years ago
parent
commit
5b9c79a81d
1 changed files with 1 additions and 1 deletions
  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;
 					break;
 				else
 				else
 					unmap_physmem((void *)info->start[0],
 					unmap_physmem((void *)info->start[0],
-						      MAP_NOCACHE);
+						      info->portwidth);
 			}
 			}
 		}
 		}