[U-Boot] [PATCH 0/4] MIPS: unify start.S

Paul Burton paul.burton at imgtec.com
Thu Jan 29 11:04:07 CET 2015


Currently we have mips32-specific & mips64-specific versions of start.S,
which are very similar. This short series adapts the mips32 start.S to
also be suitable for mips64 systems & then shares that single copy
between mips32 & mips64 builds.

Paul Burton (4):
  MIPS: use asm.h macros in mips32 start.S
  MIPS: handle mips64 relocs in mips32 start.S
  MIPS: handle mips64 ST0_KX bit in mips32 start.S
  MIPS: share start.S between mips32 & mips64

 arch/mips/Makefile                    |   3 +-
 arch/mips/cpu/mips32/Makefile         |   1 -
 arch/mips/cpu/mips64/Makefile         |   1 -
 arch/mips/cpu/mips64/start.S          | 291 ----------------------------------
 arch/mips/lib/Makefile                |   2 +
 arch/mips/{cpu/mips32 => lib}/start.S | 137 +++++++++-------
 6 files changed, 83 insertions(+), 352 deletions(-)
 delete mode 100644 arch/mips/cpu/mips64/start.S
 rename arch/mips/{cpu/mips32 => lib}/start.S (61%)

-- 
2.2.2



More information about the U-Boot mailing list