summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-10-12 23:12:12 +0200
committerWolfgang Denk <wd@denx.de>2008-10-12 23:12:12 +0200
commit20d635142b0a0bfebe8687ffa22d366fc71ade34 (patch)
tree251d61df3ccf50523668cfa6b09493357e209281
parent7fd0bea2e4a78eab7e6693140940f9f9a0009bc2 (diff)
parent2215987e100d2a841ae6d48a7cc9bb83fcf22737 (diff)
downloadu-boot-imx-20d635142b0a0bfebe8687ffa22d366fc71ade34.zip
u-boot-imx-20d635142b0a0bfebe8687ffa22d366fc71ade34.tar.gz
u-boot-imx-20d635142b0a0bfebe8687ffa22d366fc71ade34.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-cfi-flash
-rw-r--r--drivers/mtd/cfi_flash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 0d1ee8a..72d063a 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flash.c
@@ -1932,9 +1932,10 @@ ulong flash_get_size (ulong base, int banknum)
/* XXX - Need to test on x8/x16 in parallel. */
info->portwidth >>= 1;
}
+
+ flash_write_cmd (info, 0, 0, info->cmd_reset);
}
- flash_write_cmd (info, 0, 0, info->cmd_reset);
return (info->size);
}