[U-Boot-Users] [PATCH] fix the ARM memory layout

Anders Larsen
2004-01-09T11:14:01Z

Wolfgang Denk <wd@denx.de> schreibt:
>In message <fc.004c4e48001e6497004c4e48001e6497.1e64ae@rea.de> you wrote:
>>
>> here's a fresh version of my rather intrusive patch from the 17.th sept.
>> to rearrange the ARM memory layout to bring it in line with the README.
>
>Sorry, I'm working through my backlog sequentuially, and I already
>added the other patch. Can you please check your current version
>against current top-of-tree in CVS and provide a new diff?

Hi Wolfgang,

the attached patch (against CVS 2004-01-08) fixes the rest of the ARM
stuff I had in the pipe.

In particular, the abort-stack is now set up in the correct RAM area
(which I had neglected in my previous patches), and the BSS is zeroed
out as it should be (which most previous ARM implementations had
neglected).

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.

Compilation tested with MAKEALL arm, functionality only tested on my
PXA-based board.

CHANGELOG:
Fix the ARM memory layout.

Cheers
Anders

(Patch gzipped due to size constraints on the list)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: u-boot-cvs.arm-memory.patch.gz
Type: application/x-gzip
Size: 6958 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040109/5349a577/attachment.bin