From: Wolfgang Denk Date: Wed, 09 Jul 2008 23:59:54 +0200 Subject: [U-Boot-Users] [PATCH]: Fix for bug: U-boot environment corrupt by reading uninitialized flash memory instead of RAM. In-Reply-To: Your message of "Sun, 06 Jul 2008 12:30:09 +0200." <1215340209.6205.134.camel@gentoo-jocke.transmode.se> Message-ID: <20080709215954.47B3124304@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <1215340209.6205.134.camel@gentoo-jocke.transmode.se> you wrote: > > Subject: [PATCH] Change env_get_char from a global function ptr to a function > > This avoids an early global data reference > > Signed-off-by: Joakim Tjernlund > --- > > OK, here it is again. I am on vacation now so I have only compile tested > this version. > > common/env_common.c | 19 +++++++++++++------ > include/environment.h | 4 ++-- > 2 files changed, 15 insertions(+), 8 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de [Braddock:] Mr. Churchill, you are drunk. [Churchill:] And you madam, are ugly. But I shall be sober tomorrow.