Skip to content

powerpc: mpc85xx: Fix and cleanup mpc85xx code

Pali Rohár u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8powerpc: mpc85xx: Fix CONFIG_OF_SEPARATE supportarch/powerpc/cpu/mpc85xx/u-boot.lds+2 -21 reply
2/8powerpc: mpc85xx: Remove duplicate u-boot-nand.ldsarch/powerpc/cpu/mpc85xx/u-boot-nand.lds configs/P1010RDB-PA_36BIT_NAND_defconfig configs/P1010RDB-PA_NAND_defconfig +18 more+20 -1250 replies
3/8powerpc: mpc85xx: Remove u-boot-nand_spl.ldsarch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds+0 -680 replies
4/8powerpc: mpc85xx: Remove useless SIZEOF_HEADERS and .interp from ld scriptarch/powerpc/cpu/mpc85xx/u-boot.lds+0 -20 replies
5/8powerpc: mpc85xx: Put bss after image when not including reset vectorarch/powerpc/cpu/mpc85xx/u-boot.lds+1 -50 replies
6/8powerpc: mpc85xx: Define linker sections in ascending orderarch/powerpc/cpu/mpc85xx/u-boot-spl.lds arch/powerpc/cpu/mpc85xx/u-boot.lds+19 -160 replies
7/8powerpc: mpc85xx: Set TEXT_BASE addresses to real base valuesarch/powerpc/cpu/mpc85xx/start.S arch/powerpc/cpu/mpc85xx/u-boot-spl.lds arch/powerpc/cpu/mpc85xx/u-boot.lds +46 more+89 -10815 replies
8/8board: freescale: p1_p2_rdb_pc: Simplify SPL offset macrosinclude/configs/p1_p2_rdb_pc.h+8 -811 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/8] powerpc: mpc85xx: Fix and cleanup mpc85xx code

This patch series fixes support for CONFIG_OF_SEPARATE option, cleanup linker scripts and change code so TEXT_BASE address is set o expected value.

Tested on P2020 based board.

Pali Rohár (8):
powerpc: mpc85xx: Fix CONFIG_OF_SEPARATE support
powerpc: mpc85xx: Remove duplicate u-boot-nand.lds
powerpc: mpc85xx: Remove u-boot-nand_spl.lds
powerpc: mpc85xx: Remove useless SIZEOF_HEADERS and .interp from ld
script
powerpc: mpc85xx: Put bss after image when not including reset vector
powerpc: mpc85xx: Define linker sections in ascending order
powerpc: mpc85xx: Set TEXT_BASE addresses to real base values
board: freescale: p1_p2_rdb_pc: Simplify SPL offset macros

 arch/powerpc/cpu/mpc85xx/start.S             |  4 +-
 arch/powerpc/cpu/mpc85xx/u-boot-nand.lds     | 97 --------------------
 arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds | 68 --------------
 arch/powerpc/cpu/mpc85xx/u-boot-spl.lds      | 25 ++---
 arch/powerpc/cpu/mpc85xx/u-boot.lds          | 37 +++-----
 configs/P1010RDB-PA_36BIT_NAND_defconfig     |  6 +-
 configs/P1010RDB-PA_36BIT_SDCARD_defconfig   |  4 +-
 configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig |  4 +-
 configs/P1010RDB-PA_NAND_defconfig           |  6 +-
 configs/P1010RDB-PA_SDCARD_defconfig         |  4 +-
 configs/P1010RDB-PA_SPIFLASH_defconfig       |  4 +-
 configs/P1010RDB-PB_36BIT_NAND_defconfig     |  6 +-
 configs/P1010RDB-PB_36BIT_SDCARD_defconfig   |  4 +-
 configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig |  4 +-
 configs/P1010RDB-PB_NAND_defconfig           |  6 +-
 configs/P1010RDB-PB_SDCARD_defconfig         |  4 +-
 configs/P1010RDB-PB_SPIFLASH_defconfig       |  4 +-
 configs/P1020RDB-PC_36BIT_NAND_defconfig     |  6 +-
 configs/P1020RDB-PC_36BIT_SDCARD_defconfig   |  4 +-
 configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig |  4 +-
 configs/P1020RDB-PC_NAND_defconfig           |  6 +-
 configs/P1020RDB-PC_SDCARD_defconfig         |  4 +-
 configs/P1020RDB-PC_SPIFLASH_defconfig       |  4 +-
 configs/P1020RDB-PD_NAND_defconfig           |  6 +-
 configs/P1020RDB-PD_SDCARD_defconfig         |  4 +-
 configs/P1020RDB-PD_SPIFLASH_defconfig       |  4 +-
 configs/P2020RDB-PC_36BIT_NAND_defconfig     |  6 +-
 configs/P2020RDB-PC_36BIT_SDCARD_defconfig   |  4 +-
 configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig |  4 +-
 configs/P2020RDB-PC_NAND_defconfig           |  6 +-
 configs/P2020RDB-PC_SDCARD_defconfig         |  4 +-
 configs/P2020RDB-PC_SPIFLASH_defconfig       |  4 +-
 configs/T1024RDB_NAND_defconfig              |  4 +-
 configs/T1024RDB_SDCARD_defconfig            |  2 +-
 configs/T1024RDB_SPIFLASH_defconfig          |  2 +-
 configs/T1042D4RDB_NAND_defconfig            |  4 +-
 configs/T1042D4RDB_SDCARD_defconfig          |  2 +-
 configs/T1042D4RDB_SPIFLASH_defconfig        |  2 +-
 configs/T2080QDS_NAND_defconfig              |  4 +-
 configs/T2080QDS_SDCARD_defconfig            |  2 +-
 configs/T2080QDS_SPIFLASH_defconfig          |  2 +-
 configs/T2080RDB_NAND_defconfig              |  4 +-
 configs/T2080RDB_SDCARD_defconfig            |  2 +-
 configs/T2080RDB_SPIFLASH_defconfig          |  2 +-
 configs/T2080RDB_revD_NAND_defconfig         |  4 +-
 configs/T2080RDB_revD_SDCARD_defconfig       |  2 +-
 configs/T2080RDB_revD_SPIFLASH_defconfig     |  2 +-
 configs/T4240RDB_SDCARD_defconfig            |  2 +-
 configs/qemu-ppce500_defconfig               |  2 +-
 include/configs/P1010RDB.h                   | 10 +-
 include/configs/T102xRDB.h                   |  3 +
 include/configs/T104xRDB.h                   |  3 +
 include/configs/T208xQDS.h                   |  3 +
 include/configs/T208xRDB.h                   |  3 +
 include/configs/p1_p2_rdb_pc.h               | 26 +++---
 55 files changed, 127 insertions(+), 322 deletions(-)
 delete mode 100644 arch/powerpc/cpu/mpc85xx/u-boot-nand.lds
 delete mode 100644 arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds
Signature · 1 line
2.20.1