u-boot/board/amirix/ap1000
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 ppc4xx: Cleanup for partial linking and --gc-sections 2010-11-27 23:35:09 +01:00
ap1000.c Fix incorrect use of getenv() before relocation 2011-05-12 19:48:42 +02:00
ap1000.h Add support for NetSilicon NS7520 processor. 2005-10-09 01:41:48 +02:00
flash.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
init.S ppc4xx: Move ppc4xx headers to powerpc include directory 2010-09-23 09:02:05 +02:00
pci.c ppc4xx: Move ppc4xx headers to powerpc include directory 2010-09-23 09:02:05 +02:00
powerspan.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
powerspan.h Add support for AP1000 board. 2005-10-09 01:04:33 +02:00
serial.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
u-boot.lds powerpc, 8xx: Fixup all 8xx u-boot.lds scripts 2011-04-20 22:03:13 +02:00