xref: /openbmc/u-boot/doc/README.ARM-memory-map (revision c83bf6a2)
1Subject: Re: [PATCH][CFT] bring ARM memory layout in line with the documented behaviour
2From: "Anders Larsen" <alarsen@rea.de>
3Date: Thu, 18 Sep 2003 14:15:21 +0200
4To: Wolfgang Denk <wd@denx.de>
5
6...
7>I still see  references  to  _armboot_start,  _armboot_end_data,  and
8>_armboot_end - which role do these play now? Can we get rid of them?
9>
10>How are they (should they be) set in your memory map above?
11
12_armboot_start contains the value of TEXT_BASE (0xA07E0000); it seems
13TEXT_BASE and _armboot_start are both used for the same purpose in
14different parts of the (ARM) code.
15Furthermore, the startup code (cpu/<arm>/start.S) internally uses
16another variable (_TEXT_BASE) with the same content as _armboot_start.
17I agree that this mess should be cleaned up.
18
19_armboot_end_data is the end address of the initialized data section,
20and is only used in one place (board/logodl/flash.c - the reference in
21lib_arm/board.c is purely informational).
22
23_armboot_end is the end address of the BSS and is used to determine
24the address of the VFD buffer.
25
26Eliminating those should be doable, and at least the patch already
27eliminates _armboot_real_end.
28