[U-Boot] [PATCH 0/2] Merge all SPARC linker scripts into a single file

Masahiro Yamada yamada.m at jp.panasonic.com
Fri Jun 20 07:58:20 CEST 2014


In the other architecutres, the default linker scripts are placed at
arch/${ARCH}/cpu/u-boot.lds or arch/${ARCH}/cpu/${CPU}/u-boot.lds.

On the other hand, SPARC does not have arch-default linker script
but has almost the same linker scripts under each board directory.

They can be easily merged.

I built all SPARC boards and compared MD5SUM.
The same binaries are produced before/after this series.
So I am sure this clean-up is correct.



Masahiro Yamada (2):
  sparc: merge LEON3 linker scripts
  sparc: merge LEON2 and LEON3 linker scripts

 {board/gaisler/grsim => arch/sparc/cpu}/u-boot.lds |   6 +-
 board/gaisler/gr_cpci_ax2000/u-boot.lds            | 143 --------------------
 board/gaisler/gr_ep2s60/u-boot.lds                 | 143 --------------------
 board/gaisler/gr_xc3s_1500/u-boot.lds              | 145 ---------------------
 board/gaisler/grsim_leon2/u-boot.lds               | 142 --------------------
 5 files changed, 2 insertions(+), 577 deletions(-)
 rename {board/gaisler/grsim => arch/sparc/cpu}/u-boot.lds (95%)
 delete mode 100644 board/gaisler/gr_cpci_ax2000/u-boot.lds
 delete mode 100644 board/gaisler/gr_ep2s60/u-boot.lds
 delete mode 100644 board/gaisler/gr_xc3s_1500/u-boot.lds
 delete mode 100644 board/gaisler/grsim_leon2/u-boot.lds

-- 
1.9.1



More information about the U-Boot mailing list