Dear Christopher Harvey,
In message 20110704174320.gb3...@harvey-pc.matrox.com you wrote:
Signed-off-by: Christopher Harvey char...@matrox.com
---
README |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
Please don't make this ARM specific. CONFIG_SYS_TEXT_BASE has the
same meaning for all architectures.
diff --git a/README b/README
index a760cf3..a0090ef 100644
--- a/README
+++ b/README
@@ -2355,6 +2355,15 @@ Configuration Settings:
- CONFIG_SYS_SDRAM_BASE:
Physical start address of SDRAM. _Must_ be 0 here.
+- CONFIG_SYS_TEXT_BASE:
+ - ARM:
+ Is the address of the u-boot code that is loaded in memory.
To be precise: it is the address of the start address of U-Boot in
memory.
Please omit the that is loaded in memory, because for example on
systems booting from ROM (or NOR flash etc.) nothing gets loaded.
+ This value can be in ROM space since u-boot can run from
+ within ROM. ...
Again, not strictly correct. Only some parts of U-Boot (the part
before relocation) can run from ROM.
+ ... CONFIG_SYS_TEXT_BASE is simply called _TEXT_BASE
+ in some files, like arch/arm/lib/board.c.
I consider this a bad idea. It should not be documented, but rather
fixed.
+ This value has nothing to do with the relocation destination
+ in RAM. See doc/README.arm-relocation for more info.
Again, I'm unhappy to see this being ARM specific. It ain't so, on
contrary - we changed ARM to do this so as ARMis in sync with other
architectures.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
Uncontrolled power will turn even saints into savages. And we can all
be counted on to live down to our lowest impulses.
-- Parmen, Plato's Stepchildren, stardate 5784.3
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot