u-boot/board/lwmon5
Wolfgang Denk f0c0b3a9e6 Fix incorrect use of getenv() before relocation
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 <wd@denx.de>
Cc: Stefan Roese <sr@denx.de>
Cc: The LEOX team <team@leox.org>
Cc: Michael Schwingen <michael@schwingen.org>
Cc: Georg Schardt <schardt@team-ctech.de>
Cc: Werner Pfister <Pfister_Werner@intercontrol.de>
Cc: Dirk Eibach <eibach@gdsys.de>
Cc: Peter De Schrijver <p2@mind.be>
Cc: John Zhan <zhanz@sinovee.com>
Cc: Rishi Bhattacharya <rishi@ti.com>
Cc: Peter Tyser <ptyser@xes-inc.com>
2011-05-12 19:48:42 +02:00
..
config.mk Makefile: move all Power Architecture boards into boards.cfg 2010-10-18 22:12:04 +02:00
init.S Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value 2010-10-26 21:05:30 +02:00
kbd.c ppc4xx: Big lwmon5 board support rework/update 2010-10-04 11:19:35 +02:00
lwmon5.c Fix incorrect use of getenv() before relocation 2011-05-12 19:48:42 +02:00
Makefile ppc4xx: Cleanup for partial linking and --gc-sections 2010-11-27 23:35:09 +01:00
sdram.c ppc4xx: Update lwmon5 board support 2010-12-17 09:43:45 +01:00