04 Aug, 2010
1 commit
-
While running from flash, i. e. before relocation, we have only a
limited C runtime environment without writable data segment. In this
phase, some configurations (for example with environment in EEPROM)
must not use the normal getenv(), but a special function. This
function had been called getenv_r(), with the idea that the "_r"
suffix would mean the same as in the _r_eentrant versions of some of
the C library functions (for example getdate vs. getdate_r, getgrent
vs. getgrent_r, etc.).Unfortunately this was a misleading name, as in U-Boot the "_r"
generally means "running from RAM", i. e. _after_ relocation.To avoid confusion, rename into getenv_f() [as "running from flash"]
Signed-off-by: Wolfgang Denk
Acked-by: Detlev Zundel
19 Oct, 2008
1 commit
-
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
03 Jul, 2008
1 commit
-
Signed-off-by: Wolfgang Denk
12 Jun, 2008
1 commit
-
This patch changes the return type of initdram() from long int to phys_size_t.
This is required for a couple of reasons: long int limits the amount of dram
to 2GB, and u-boot in general is moving over to phys_size_t to represent the
size of physical memory. phys_size_t is defined as an unsigned long on almost
all current platforms.This patch *only* changes the return type of the initdram function (in
include/common.h, as well as in each board's implementation of initdram). It
does not actually modify the code inside the function on any of the platforms;
platforms which wish to support more than 2GB of DRAM will need to modify
their initdram() function code.Build tested with MAKEALL for ppc, arm, mips, mips-el. Booted on powerpc
MPC8641HPCN.Signed-off-by: Becky Bruce
04 Jul, 2007
1 commit
-
Signed-off-by: Grant Likely
09 Oct, 2006
1 commit
-
Based on patch by Mike Frysinger, 20 Jun 2006
02 Sep, 2006
1 commit
-
Modifications are based on the linux kernel approach and
support two use cases:1) Add O= to the make command line
'make O=/tmp/build all'2) Set environement variable BUILD_DIR to point to the desired location
'export BUILD_DIR=/tmp/build'
'make'The second approach can also be used with a MAKEALL script
'export BUILD_DIR=/tmp/build'
'./MAKEALL'Command line 'O=' setting overrides BUILD_DIR environent variable.
When none of the above methods is used the local build is performed and
the object files are placed in the source directory.
12 Dec, 2005
1 commit
13 Oct, 2005
1 commit
31 Aug, 2005
1 commit
-
Pointed out by Gerhard Jaeger, 31 Aug 2005;
cf. http://sourceware.org/ml/binutils/2005-08/msg00412.html
12 Feb, 2004
1 commit
-
* Patch by Josef Baumgartner, 10 Feb 2004:
Fixes for Coldfire port* Patch by Brad Kemp, 11 Feb 2004:
Fix CFI flash driver problems
28 Jun, 2003
1 commit
-
- remove trailing white space, trailing empty lines, C++ comments, etc.
- split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)* Patches by Kenneth Johansson, 25 Jun 2003:
- major rework of command structure
(work done mostly by Michal Cendrowski and Joakim Kristiansen)
26 Jun, 2003
1 commit
-
* Patch by Murray Jensen, 24 Jun 2003:
- make sure to use only U-boot provided header files
- fix problems with ".rodata.str1.4" section as used by GCC-3.x
30 May, 2003
1 commit
-
instead CFG_MONITOR_LEN is now only used to determine _at_compile_
_time_ (!) if the environment is embedded within the U-Boot image,
or in a separate flash sector.* Cleanup CFG_DER #defines in config files (wd maintained only)
03 Nov, 2002
1 commit
16 Feb, 2002
1 commit
09 Feb, 2002
1 commit
07 Feb, 2002
1 commit