summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-10-13 11:17:31 +0200
committerStefan Roese <sr@denx.de>2008-10-13 11:17:31 +0200
commit1f6aa622e365fef9d87de84753eb08347e310a2a (patch)
tree232149e6d93c9387b03628c5d3283cecf7719476 /drivers
parent542b385a620a1783454a00424930e51895f45073 (diff)
parentdf4a0796e86662536df2387ddcf969c2a704bcc2 (diff)
downloadu-boot-imx-1f6aa622e365fef9d87de84753eb08347e310a2a.zip
u-boot-imx-1f6aa622e365fef9d87de84753eb08347e310a2a.tar.gz
u-boot-imx-1f6aa622e365fef9d87de84753eb08347e310a2a.tar.bz2
Merge branch 'master' of /home/stefan/git/u-boot/u-boot
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);
}