Skip to content

ppc: Fix relocation

Peter Tyser u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 13 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 13 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 00/13] ppc: Fix relocation

Hi Detlev,

Quoted 24 lines
Quoted 24 lines
Quoted 23 lines

This series attempts to fix relocation to RAM for ppc boards.

I split the patches up pretty liberally, let me know if you'd like them organized differently.

I tried to be thorough during the changes (especially #1), let me know if I missed anything, there's lots of linker scripts for ppc boards:)

Peter Tyser (13):
ppc: Enable full relocation to RAM
ppc: Check for compilers that don't support relocation
ppc: Remove board.c relocation fixups
ppc: Remove pci config table pointer relocation fixups
ppc: Remove extable relocation fixups
ppc: Remove board-specific command table relocation fixups
tsec: Remove PHY command relocation fixups
fpga: Remove relocation fixups
mpl: Remove memory test relocation fixups
lwmon, lwmon5: Remove sysmon POST relocation fixups
p3mx: Remove serial relocation fixups Conditionally perform common relocation fixups
ppc: Remove reloc_off field from global_data structure

Quoted 6 lines
Quoted 4 lines

Wow, this is really good work. Didn't think there would be so much code that could be deleted due to working relocation :)
I hope WD will pull this in and potentially broken boards will have to be fixed rather than backing stuff out.

Seconded. That's what a merge window is for, isn't it? :)

Thirded:)

Quoted 3 lines

One should do some further simple text searching to find more code that can now be potentially be removed. For example, from what I wrote board/inka4x0/inkadiag.c also has such reloacted code inside.

I didn't see any relocation fixups in inkadiag.c that could be removed at a glance. Am I missing something? I attempted to clean up all relocation fixups that affect ppc (and other arches that support relocation), so let me know if I missed anything.

Best,
Peter