mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
Patch by Anders Larsen, 09 Jan 2004:
ARM memory layout fixes: the abort-stack is now set up in the correct RAM area, and the BSS is zeroed out as it should be. Furthermore, the magic variables 'armboot_end' and 'armboot_end_data' of the linker scripts are replaced by '__bss_start' and '_end', resp., which is a further step to eliminate unnecessary differences between the implementation of the CPU architectures.
This commit is contained in:
parent
f4863a7aec
commit
f6e20fc6ca
53 changed files with 321 additions and 369 deletions
|
@ -15,13 +15,3 @@ different parts of the (ARM) code.
|
|||
Furthermore, the startup code (cpu/<arm>/start.S) internally uses
|
||||
another variable (_TEXT_BASE) with the same content as _armboot_start.
|
||||
I agree that this mess should be cleaned up.
|
||||
|
||||
_armboot_end_data is the end address of the initialized data section,
|
||||
and is only used in one place (board/logodl/flash.c - the reference in
|
||||
lib_arm/board.c is purely informational).
|
||||
|
||||
_armboot_end is the end address of the BSS and is used to determine
|
||||
the address of the VFD buffer.
|
||||
|
||||
Eliminating those should be doable, and at least the patch already
|
||||
eliminates _armboot_real_end.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue