u-boot/board/digsy_mtc
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
..
Makefile Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
cmd_mtc.c cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
cmd_mtc.h digsy_mtc: Add mtc state command. 2009-08-09 22:59:27 +02:00
digsy_mtc.c Fix incorrect use of getenv() before relocation 2011-05-12 19:48:42 +02:00
eeprom.h Add support for the digsy MTC board. 2009-03-20 22:39:14 +01:00
is42s16800a-7t.h Update CHANGELOG, coding style cleanup. 2009-04-05 00:27:57 +02:00
is45s16800a2.h mpc5200, digsy_mtc: add support for rev5 board version 2011-01-18 23:34:26 +01:00