summaryrefslogtreecommitdiff
path: root/board/ocotea/flash.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-06-06 23:13:55 +0000
committerwdenk <wdenk>2004-06-06 23:13:55 +0000
commita56bd92289298bde16306bcc754277db45315d2f (patch)
tree191b3ffdc97a005ddc973f7de85ef3b1d3768fd8 /board/ocotea/flash.c
parent5ca2679933142f7bf2996590b2e318c298664748 (diff)
downloadu-boot-imx-a56bd92289298bde16306bcc754277db45315d2f.zip
u-boot-imx-a56bd92289298bde16306bcc754277db45315d2f.tar.gz
u-boot-imx-a56bd92289298bde16306bcc754277db45315d2f.tar.bz2
* Patch by Dave Peverley, 30 Apr 2004:
Add support for OMAP730 Perseus2 Development board * Patch by Alan J. Luse, 29 Apr 2004: Fix flash chip-select (OR0) option register setting on FADS boards. * Patch by Alan J. Luse, 29 Apr 2004: Report MII network speed and duplex setting properly when auto-negotiate is not enabled. * Patch by Jarrett Redd, 29 Apr 2004: Fix hang on reset on Ocotea board due to flash in wrong mode.
Diffstat (limited to 'board/ocotea/flash.c')
-rw-r--r--board/ocotea/flash.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/ocotea/flash.c b/board/ocotea/flash.c
index 15e688f..f44984a 100644
--- a/board/ocotea/flash.c
+++ b/board/ocotea/flash.c
@@ -349,10 +349,14 @@ static ulong flash_get_size(vu_long * addr, flash_info_t * info)
info->protect[i] = addr2[2] & 1;
}
+ /* issue bank reset to return to read mode */
+ addr2[0] = (FLASH_WORD_SIZE) 0x00F000F0;
+
/*
* Prevent writes to uninitialized FLASH.
*/
if (info->flash_id != FLASH_UNKNOWN) {
+ /* ? ? ? */
}
return (info->size);