Skip to content

powerpc: mpc85xx: Cleanup code

Pali Rohár u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3powerpc: mpc85xx: Drop _start symbolarch/powerpc/cpu/mpc85xx/start.S+2 -70 replies
2/3powerpc: mpc85xx: Rename _start_e500 symbol to _startarch/powerpc/cpu/mpc85xx/resetvec.S arch/powerpc/cpu/mpc85xx/start.S arch/powerpc/cpu/mpc85xx/u-boot.lds +1 more+6 -60 replies
3/3powerpc: mpc85xx: Show e500 core versionarch/powerpc/cpu/mpc85xx/cpu.c+3 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] powerpc: mpc85xx: Cleanup code

This patch series cleanups mpc85xx e500 code. It removes _start symbol together with its content because it is useless and then rename symbol _start_e500 to _start as this is the real entry point. Third patch just show e500 core version.

Tested on P2020 board with configuration when BootROM loads SPL from SD card (which then loads U-Boot) and also when BootROM directly loads U-Boot from SD card. No visible difference, that (old) _start symbol and its content were useless.

Pali Rohár (3):
powerpc: mpc85xx: Drop _start symbol
powerpc: mpc85xx: Rename _start_e500 symbol to _start
powerpc: mpc85xx: Show e500 core version

 arch/powerpc/cpu/mpc85xx/cpu.c      |  4 +++-
 arch/powerpc/cpu/mpc85xx/resetvec.S |  2 +-
 arch/powerpc/cpu/mpc85xx/start.S    | 13 ++++---------
 arch/powerpc/cpu/mpc85xx/u-boot.lds |  2 +-
 doc/README.mpc85xx                  |  4 ++--
 5 files changed, 11 insertions(+), 14 deletions(-)
Signature · 1 line
2.20.1