mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 09:48:16 +00:00
f6e20fc6ca
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.
17 lines
760 B
Text
17 lines
760 B
Text
Subject: Re: [PATCH][CFT] bring ARM memory layout in line with the documented behaviour
|
|
From: "Anders Larsen" <alarsen@rea.de>
|
|
Date: Thu, 18 Sep 2003 14:15:21 +0200
|
|
To: Wolfgang Denk <wd@denx.de>
|
|
|
|
...
|
|
>I still see references to _armboot_start, _armboot_end_data, and
|
|
>_armboot_end - which role do these play now? Can we get rid of them?
|
|
>
|
|
>How are they (should they be) set in your memory map above?
|
|
|
|
_armboot_start contains the value of TEXT_BASE (0xA07E0000); it seems
|
|
TEXT_BASE and _armboot_start are both used for the same purpose in
|
|
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.
|