Re: [U-Boot] [PATCH] Fix incorrect use of getenv() before relocation

2011-05-12 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1304541148-11038-1-git-send-email...@denx.de> you wrote: > A large number of boards incorrectly used getenv() in their board init > code running before relocation. In some cases this caused U-Boot to > hang when certain environment variables grew too long. > Fix th

Re: [U-Boot] [PATCH] Fix incorrect use of getenv() before relocation

2011-05-10 Thread Wolfgang Denk
Dear Detlev Zundel, In message you wrote: > ... > > index 9f13a3d..a0c4b10 100644 > > --- a/board/digsy_mtc/digsy_mtc.c > > +++ b/board/digsy_mtc/digsy_mtc.c > > @@ -191,15 +191,16 @@ phys_size_t initdram(int board_type) > > > > int checkboard(void) > > { > > - char *s = getenv("serial#");

Re: [U-Boot] [PATCH] Fix incorrect use of getenv() before relocation

2011-05-10 Thread Detlev Zundel
Hi Wolfgang, > A large number of boards incorrectly used getenv() in their board init > code running before relocation. In some cases this caused U-Boot to > hang when certain environment variables grew too long. > Fix the code to use getenv_r(). > > Signed-off-by: Wolfgang Denk > Cc: Stefan Roe

[U-Boot] [PATCH] Fix incorrect use of getenv() before relocation

2011-05-04 Thread Wolfgang Denk
A large number of boards incorrectly used getenv() in their board init code running before relocation. In some cases this caused U-Boot to hang when certain environment variables grew too long. Fix the code to use getenv_r(). Signed-off-by: Wolfgang Denk Cc: Stefan Roese Cc: The LEOX team Cc: