* Patch by Gleb Natapov, 19 Sep 2003:
[kernel/u-boot.git] / doc / README.ARM-memory-map
1 Subject: Re: [PATCH][CFT] bring ARM memory layout in line with the documented behaviour
2 From: "Anders Larsen" <alarsen@rea.de>
3 Date: Thu, 18 Sep 2003 14:15:21 +0200
4 To: 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
13 TEXT_BASE and _armboot_start are both used for the same purpose in
14 different parts of the (ARM) code.
15 Furthermore, the startup code (cpu/<arm>/start.S) internally uses
16 another variable (_TEXT_BASE) with the same content as _armboot_start.
17 I agree that this mess should be cleaned up.
18
19 _armboot_end_data is the end address of the initialized data section,
20 and is only used in one place (board/logodl/flash.c - the reference in
21 lib_arm/board.c is purely informational).
22
23 _armboot_end is the end address of the BSS and is used to determine
24 the address of the VFD buffer.
25
26 Eliminating those should be doable, and at least the patch already
27 eliminates _armboot_real_end.