u-boot/board/prodrive/p3mx
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
..
64460.h [PATCH] Add support for Prodrive P3M750 & P3M7448 (P3Mx) boards 2006-11-29 16:14:05 +01:00
Makefile Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
eth.h [PATCH] Add support for Prodrive P3M750 & P3M7448 (P3Mx) boards 2006-11-29 16:14:05 +01:00
misc.S rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
mpsc.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
mpsc.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
mv_eth.c miiphy: convert to linux/mii.h 2011-01-09 18:06:50 +01:00
mv_eth.h asm-generic: Consolidate errno.h to asm-generic/errno.h 2009-07-09 14:07:11 +02:00
mv_regs.h [PATCH] Add support for Prodrive P3M750 & P3M7448 (P3Mx) boards 2006-11-29 16:14:05 +01:00
p3mx.c Fix incorrect use of getenv() before relocation 2011-05-12 19:48:42 +02:00
p3mx.h Minor code cleanup. 2007-02-27 14:26:04 +01:00
pci.c Cleanup: fix "MHz" spelling 2008-10-21 11:25:39 +02:00
ppc_error_no.h [PATCH] Add support for Prodrive P3M750 & P3M7448 (P3Mx) boards 2006-11-29 16:14:05 +01:00
sdram_init.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
serial.c board/[m-p]*: Remove obsolete references to CONFIG_COMMANDS 2007-07-09 18:48:09 -05:00
serial.h [PATCH] Add support for Prodrive P3M750 & P3M7448 (P3Mx) boards 2006-11-29 16:14:05 +01:00