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
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#");
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
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:
4 matches
Mail list logo