[coreboot] [PATCH] CONFIG_LB_MEM_TOPK -> CONFIG_RAMTOP

Myles Watson mylesgw at gmail.com
Fri Oct 16 17:59:45 CEST 2009


LB_MEM_TOPK is making it hard for me to modify linker scripts because
sometimes the shifting breaks it.

RAMTOP is much nicer:
- No need to shift it
- Matches with RAMBASE
- Shows up in the correct place in coreboot_ram.map

topk_defaults.diff & topk_shifts.diff are almost trivial, and were done 99%
by scripts.
topk_fixups.diff was done by hand and verified with meld, so I'm pretty sure
but I'd like another pair of eyes.

There was only one place where I had to do (RAMBASE >> 10)!

Abuild tested.

Signed-off-by: Myles Watson <mylesgw at gmail.com>

Thanks,
Myles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091016/5cce163a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: topk_defaults.diff
Type: text/x-patch
Size: 16813 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091016/5cce163a/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: topk_shifts.diff
Type: text/x-patch
Size: 19487 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091016/5cce163a/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: topk_fixups.diff
Type: text/x-patch
Size: 8465 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091016/5cce163a/attachment-0002.diff>


More information about the coreboot mailing list