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

Christophe Leroy christophe.leroy at csgroup.eu
Fri May 5 12:51:30 CEST 2023


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

-- 
2.39.2



More information about the U-Boot mailing list