<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=759224909-14032007>Richard
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=759224909-14032007>
Please let me know if you have time to test the patch below.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=759224909-14032007>
<DIV><FONT face=Arial size=2><SPAN
class=759224909-14032007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=759224909-14032007>[Test results from
other OMAP2420H4 users welcome]</SPAN></FONT></DIV></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=759224909-14032007></SPAN></FONT><FONT
face=Arial size=2><SPAN class=759224909-14032007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=759224909-14032007>The patch (my ref
20070313_omap2420h4) fixes the build failure caused when the OMAP2420H4 was
changed to use CFI flash.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=759224909-14032007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=759224909-14032007>The patch is against
commit fdd1d6dcc97c595bd9d598ed3b22a7038781272c of
git://www.denx.de/git/u-boot-arm.git </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=759224909-14032007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=759224909-14032007>The following
changes since commit fdd1d6dcc97c595bd9d598ed3b22a7038781272c:<BR> Stefan
Roese:<BR> Merge with
git+ssh://sr@pollux.denx.org/home/sr/git/u-boot/denx-merge-sr</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=759224909-14032007>are found in the git
repository at:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=759224909-14032007>
git://www.denx.de/git/u-boot-arm.git</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=759224909-14032007>Peter
Pearse:<BR> Remove the omap2420h4 specific code
from common/env_flash.c.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=759224909-14032007> common/env_flash.c | 19
-------------------<BR> 1 files changed, 0 insertions(+), 19
deletions(-)<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=759224909-14032007>Regards</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=759224909-14032007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=759224909-14032007>Peter</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=759224909-14032007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=759224909-14032007>diff --git
a/common/env_flash.c b/common/env_flash.c<BR>index 1674b30..0e9f1ae
100644<BR>--- a/common/env_flash.c<BR>+++ b/common/env_flash.c<BR>@@ -107,13
+107,6 @@ int env_init(void)<BR> ulong addr1 =
(ulong)&(flash_addr->data);<BR> ulong addr2 =
(ulong)&(flash_addr_new->data);<BR> <BR>-#ifdef
CONFIG_OMAP2420H4<BR>- int
flash_probe(void);<BR>-<BR>- if(flash_probe() == 0)<BR>- goto
bad_flash;<BR>-#endif<BR>-<BR> crc1_ok = (crc32(0,
flash_addr->data, ENV_SIZE) == flash_addr->crc);<BR> crc2_ok =
(crc32(0, flash_addr_new->data, ENV_SIZE) ==
flash_addr_new->crc);<BR> <BR>@@ -143,9 +136,6 @@
#endif<BR> gd->env_valid =
2;<BR> }<BR> <BR>-#ifdef
CONFIG_OMAP2420H4<BR>-bad_flash:<BR>-#endif<BR> return
(0);<BR> }<BR> <BR>@@ -259,20 +249,11 @@ #else /* !
CFG_ENV_ADDR_REDUND */<BR> <BR> int
env_init(void)<BR> {<BR>-#ifdef CONFIG_OMAP2420H4<BR>- int
flash_probe(void);<BR>-<BR>- if(flash_probe() == 0)<BR>- goto
bad_flash;<BR>-#endif<BR> if (crc32(0, env_ptr->data, ENV_SIZE) ==
env_ptr->crc) {<BR> gd->env_addr =
(ulong)&(env_ptr->data);<BR> gd->env_valid =
1;<BR> return(0);<BR> }<BR>-#ifdef
CONFIG_OMAP2420H4<BR>-bad_flash:<BR>-#endif<BR> gd->env_addr
= (ulong)&default_environment[0];<BR> gd->env_valid =
0;<BR> return (0);<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=759224909-14032007>---</DIV></SPAN></FONT>
<DIV><FONT face=Arial size=2><SPAN
class=759224909-14032007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=759224909-14032007></SPAN></FONT> </DIV></BODY></HTML>