u-boot/board/amcc
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
..
acadia Fix incorrect use of getenv() before relocation 2011-05-12 19:48:42 +02:00
bamboo Fix incorrect use of getenv() before relocation 2011-05-12 19:48:42 +02:00
bluestone Fix incorrect use of getenv() before relocation 2011-05-12 19:48:42 +02:00
bubinga Fix incorrect use of getenv() before relocation 2011-05-12 19:48:42 +02:00
canyonlands Fix incorrect use of getenv() before relocation 2011-05-12 19:48:42 +02:00
common ppc4xx: Move ppc4xx headers to powerpc include directory 2010-09-23 09:02:05 +02:00
ebony Fix incorrect use of getenv() before relocation 2011-05-12 19:48:42 +02:00
katmai Fix incorrect use of getenv() before relocation 2011-05-12 19:48:42 +02:00
kilauea Fix incorrect use of getenv() before relocation 2011-05-12 19:48:42 +02:00
luan Fix incorrect use of getenv() before relocation 2011-05-12 19:48:42 +02:00
makalu Fix incorrect use of getenv() before relocation 2011-05-12 19:48:42 +02:00
ocotea Fix incorrect use of getenv() before relocation 2011-05-12 19:48:42 +02:00
redwood Fix incorrect use of getenv() before relocation 2011-05-12 19:48:42 +02:00
sequoia Fix incorrect use of getenv() before relocation 2011-05-12 19:48:42 +02:00
taihu Fix incorrect use of getenv() before relocation 2011-05-12 19:48:42 +02:00
taishan Fix incorrect use of getenv() before relocation 2011-05-12 19:48:42 +02:00
walnut Fix incorrect use of getenv() before relocation 2011-05-12 19:48:42 +02:00
yosemite Fix incorrect use of getenv() before relocation 2011-05-12 19:48:42 +02:00
yucca Fix incorrect use of getenv() before relocation 2011-05-12 19:48:42 +02:00