Skip to content

Misc fixes + 8xx CPM relocation

Christophe Leroy u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 1 replyIn review
  2. v110 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- Patch 5: Update r1 at once (From Joakim)
- Patch 6: New to avoid sparse warnings with memcpy_toio()
- Patch 7 and 8: Fixed sparse warnings

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11board: cssi: Remove duplicated FPGA loading sequence on CMPC885board/cssi/cmpc885/cmpc885.c+0 -140 replies
2/11board: cssi: Remove stale macro from cmpcpro.cboard/cssi/cmpcpro/cmpcpro.c+0 -50 replies
3/11board: cssi: Load CMPC885's motherboard FPGA earlierboard/cssi/cmpc885/cmpc885.c configs/CMPC885_defconfig+5 -210 replies
4/11powerpc: mpc8xx: CPM parameter RAM can be anywherearch/powerpc/cpu/mpc8xx/cpu.c arch/powerpc/include/asm/cpm_8xx.h arch/powerpc/include/asm/immap_8xx.h +2 more+13 -190 replies
5/11powerpc: mpc8xx: Reorganise init RAMarch/powerpc/cpu/mpc8xx/start.S arch/powerpc/include/asm/cpm_8xx.h include/configs/cmpc885.h +1 more+15 -110 replies
6/11powerpc: Force cast on memcpy_toio()arch/powerpc/include/asm/io.h+3 -30 replies
7/11powerpc: mpc885: Add CPM USB-SOF microcode for CPM15 ERRATAarch/powerpc/cpu/mpc8xx/Kconfig arch/powerpc/cpu/mpc8xx/Makefile arch/powerpc/cpu/mpc8xx/micropatch_usb_sof.c +1 more+71 -00 replies
8/11powerpc: mpc8xx: Add SMC relocation CPM microcodearch/powerpc/cpu/mpc8xx/Kconfig arch/powerpc/cpu/mpc8xx/Makefile arch/powerpc/cpu/mpc8xx/micropatch_smc.c+126 -00 replies
9/11spi, mpc8xx: Take parameter RAM relocation into accountdrivers/spi/mpc8xx_spi.c+4 -20 replies
10/11serial, mpc8xx: Take parameter RAM relocation into accountdrivers/serial/serial_mpc8xx.c+11 -110 replies
11/11board: cssi: Activate SMC relocation on CMPC885 board for MIAE deviceboard/cssi/cmpc885/cmpc885.c configs/CMPC885_defconfig+6 -00 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 00/11] Misc fixes + 8xx CPM relocation

This series adds misc fixes for cssi boards and activates CPM relocation in order to enable the use of SCC4 in QMC (QUICC Multi-Channel) mode.

Changes in v2:
- Patch 5: Update r1 at once (From Joakim)
- Patch 6: New to avoid sparse warnings with memcpy_toio()
- Patch 7 and 8: Fixed sparse warnings

Christophe Leroy (11):
board: cssi: Remove duplicated FPGA loading sequence on CMPC885
board: cssi: Remove stale macro from cmpcpro.c
board: cssi: Load CMPC885's motherboard FPGA earlier
powerpc: mpc8xx: CPM parameter RAM can be anywhere
powerpc: mpc8xx: Reorganise init RAM
powerpc: Force cast on memcpy_toio()
powerpc: mpc885: Add CPM USB-SOF microcode for CPM15 ERRATA
powerpc: mpc8xx: Add SMC relocation CPM microcode
spi, mpc8xx: Take parameter RAM relocation into account serial, mpc8xx: Take parameter RAM relocation into account
board: cssi: Activate SMC relocation on CMPC885 board for MIAE device

 arch/powerpc/cpu/mpc8xx/Kconfig              |  45 ++++++++
 arch/powerpc/cpu/mpc8xx/Makefile             |   2 +
 arch/powerpc/cpu/mpc8xx/cpu.c                |   2 +-
 arch/powerpc/cpu/mpc8xx/micropatch_smc.c     | 105 +++++++++++++++++++
 arch/powerpc/cpu/mpc8xx/micropatch_usb_sof.c |  38 +++++++
 arch/powerpc/cpu/mpc8xx/start.S              |   8 +-
 arch/powerpc/include/asm/cpm_8xx.h           |  41 +++++---
 arch/powerpc/include/asm/immap_8xx.h         |   8 +-
 arch/powerpc/include/asm/io.h                |   6 +-
 board/cssi/cmpc885/cmpc885.c                 |  43 ++------
 board/cssi/cmpcpro/cmpcpro.c                 |   5 -
 configs/CMPC885_defconfig                    |   3 +-
 drivers/serial/serial_mpc8xx.c               |  24 ++---
 drivers/spi/mpc8xx_spi.c                     |   8 +-
 include/configs/cmpc885.h                    |   1 +
 include/configs/mcr3000.h                    |   1 +
 16 files changed, 254 insertions(+), 86 deletions(-)
 create mode 100644 arch/powerpc/cpu/mpc8xx/micropatch_smc.c
 create mode 100644 arch/powerpc/cpu/mpc8xx/micropatch_usb_sof.c
Signature · 1 line
2.39.2