summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-10-12 23:25:50 +0200
committerWolfgang Denk <wd@denx.de>2008-10-12 23:25:50 +0200
commit1e841086df55d6b8f2efcf0e5dfb5fc52a0c7bbe (patch)
treee649f78027dcb8432d90f99aed284d711b36582d /drivers
parent33af3e6656e84660d397b5dd95abab2dccc36f83 (diff)
parent72c55878ecb1f0fdc8bc13516e5cb18fbae505e7 (diff)
downloadu-boot-imx-1e841086df55d6b8f2efcf0e5dfb5fc52a0c7bbe.zip
u-boot-imx-1e841086df55d6b8f2efcf0e5dfb5fc52a0c7bbe.tar.gz
u-boot-imx-1e841086df55d6b8f2efcf0e5dfb5fc52a0c7bbe.tar.bz2
Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/master
Diffstat (limited to 'drivers')
-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);
}