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@gmail.com
Thanks, Myles