From a56bd92289298bde16306bcc754277db45315d2f Mon Sep 17 00:00:00 2001 From: wdenk Date: Sun, 6 Jun 2004 23:13:55 +0000 Subject: * 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. --- board/ocotea/flash.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'board/ocotea/flash.c') diff --git a/board/ocotea/flash.c b/board/ocotea/flash.c index 15e688f7a2..f44984a0e0 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); -- cgit