Skip to contentSkip to conversation

mpc8xx: move common linker scripts into the CPU directory

PATCH In review Masahiro Yamada 3 participants 3 messages Sep 9, 2014 – Sep 25, 2014 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mpc8xx: move common linker scripts into the CPU directory

Each CPU of PowerPC has its default linker script under the CPU directory, except mpc8xx.

Every mpc8xx board has its own linker script under the board directory, resulting in lots of duplication of linker scripts.

I notice eight mpc8xx boards have the same linker script. We can decrease the number of linker scripts by putting a single default linker script, arch/powerpc/cpu/mpc8xx/u-boot.lds.

---

 .../ip860 => arch/powerpc/cpu/mpc8xx}/u-boot.lds   |  0
 board/eltec/mhpc/u-boot.lds                        | 82 ---------------------
 board/emk/top860/u-boot.lds                        | 83 ---------------------
 board/ivm/u-boot.lds                               | 82 ---------------------
 board/kup/kup4k/u-boot.lds                         | 82 ---------------------
 board/lwmon/u-boot.lds                             | 82 ---------------------
 board/manroland/uc100/u-boot.lds                   | 85 ----------------------
 board/netvia/u-boot.lds                            | 82 ---------------------
 8 files changed, 578 deletions(-)
 rename {board/ip860 => arch/powerpc/cpu/mpc8xx}/u-boot.lds (100%)
 delete mode 100644 board/eltec/mhpc/u-boot.lds
 delete mode 100644 board/emk/top860/u-boot.lds
 delete mode 100644 board/ivm/u-boot.lds
 delete mode 100644 board/kup/kup4k/u-boot.lds
 delete mode 100644 board/lwmon/u-boot.lds
 delete mode 100644 board/manroland/uc100/u-boot.lds
 delete mode 100644 board/netvia/u-boot.lds
arch/powerpc/cpu/mpc8xx/u-boot.lds renamed from board/ip860/u-boot.lds +0 -0
similarity index 100%
rename from board/ip860/u-boot.lds
rename to arch/powerpc/cpu/mpc8xx/u-boot.lds
board/eltec/mhpc/u-boot.lds deleted +0 -82

82 lines not on this page · raw message

board/emk/top860/u-boot.lds deleted +0 -83

83 lines not on this page · raw message

board/ivm/u-boot.lds deleted +0 -82

82 lines not on this page · raw message

board/kup/kup4k/u-boot.lds deleted +0 -82

82 lines not on this page · raw message

board/lwmon/u-boot.lds deleted +0 -82

82 lines not on this page · raw message

board/manroland/uc100/u-boot.lds deleted +0 -85

85 lines not on this page · raw message

board/netvia/u-boot.lds deleted +0 -82

82 lines not on this page · raw message

Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 mpc8xx: move common linker scripts into the CPU directory

Quoted 6 lines · Masahiro Yamada

Each CPU of PowerPC has its default linker script under the CPU directory, except mpc8xx.

Every mpc8xx board has its own linker script under the board directory, resulting in lots of duplication of linker scripts.

Quoted 6 lines

I notice eight mpc8xx boards have the same linker script. We can decrease the number of linker scripts by putting a single default linker script, arch/powerpc/cpu/mpc8xx/u-boot.lds.

Thanks again for spotting such issues:

Thanks,
Stefan

#2 lore raw
In reply to Masahiro Yamada
Quoted 6 lines · Masahiro Yamada

Each CPU of PowerPC has its default linker script under the CPU directory, except mpc8xx.

Every mpc8xx board has its own linker script under the board directory, resulting in lots of duplication of linker scripts.

Quoted 7 lines

I notice eight mpc8xx boards have the same linker script. We can decrease the number of linker scripts by putting a single default linker script, arch/powerpc/cpu/mpc8xx/u-boot.lds.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140925/df651d28/attachment.pgp>