[U-Boot-Users] [PATCH]: Fix for bug: U-boot environment corrupt by reading uninitialized flash memory instead of RAM.

Wolfgang Denk wd at denx.de
Wed Jul 9 23:59:54 CEST 2008


In message <1215340209.6205.134.camel at 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 <Joakim.Tjernlund at transmode.se>
> ---
> 
> 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.




More information about the U-Boot mailing list