u-boot/board/socrates
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
..
ddr.c powerpc/8xxx: Refactor fsl_ddr_get_spd into common code from board 2011-04-04 09:24:41 -05:00
law.c ppc/85xx: Clean up use of LAWAR defines 2009-09-24 12:04:58 -05:00
Makefile Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
nand.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
sdram.c mpc85xx boards: initdram() cleanup/bugfix 2011-01-14 01:32:19 -06:00
socrates.c Fix incorrect use of getenv() before relocation 2011-05-12 19:48:42 +02:00
tlb.c 85xx: socrates: fix DDR SDRAM tlb entry configuration 2008-12-03 22:47:01 -06:00
upm_table.h 85xx: socrates: Enable Lime support. 2008-09-09 10:14:13 +02:00