u-boot-brain/board/ti
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
..
am3517crane ARMV7: AM3517/05: Add support for CraneBoard. 2011-04-27 19:38:06 +02:00
beagle omap3_beagle: enable EHCI and USB storage. 2011-04-27 19:38:09 +02:00
evm Move DECLARE_GLOBAL_DATA_PTR to file scope 2010-12-21 11:33:36 +01:00
omap730p2 Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
omap1510inn Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
omap1610inn Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
omap2420h4 Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
omap5912osk Fix incorrect use of getenv() before relocation 2011-05-12 19:48:42 +02:00
panda Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
sdp3430 Move DECLARE_GLOBAL_DATA_PTR to file scope 2010-12-21 11:33:36 +01:00
sdp4430 ARMV7: OMAP4: twl6030 add battery charging support 2010-12-11 10:56:01 -05:00
tnetv107xevm Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00