[U-Boot] [PATCH v4 00/16] Powerpc: mpc8xx: cleanup before migration to DM model

Christophe Leroy christophe.leroy at c-s.fr
Fri Mar 16 16:20:29 UTC 2018


The purpose of this serie is to clean the mpc8xx code a bit prior to moving
to OF and DM model.

Christophe Leroy (16):
  soft_i2c: cleanup - no mpc8xx support
  powerpc: mpc8xx: harmonise initialisation of the immap local pointer
  powerpc: mpc8xx: get rid of the multiple PVR_ values
  powerpc: mpc8xx: make get_immr() independent of CONFIG_8xx
  powerpc: mpc8xx: remove get_immr() argument
  powerpc: mpc8xx: Change CONFIG_8xx to CONFIG_MPC8xx
  powercp: mpc8xx: move commproc.h
  powerpc: mpc8xx: redistribute data in CPM dpram
  powerpc: mpc8xx: initialisation of initial RAM
  board: MCR3000: replace mtd->priv by mtd_to_nand()
  board: MCR3000: cleanup config
  common: env_embedded: allow fine placement of environment object
  board: MCR3000: Use smaller flash sector for environment
  powerpc: mpc8xx: refactorise reginfo
  powerpc: mpc8xx: cleaning up watchdog
  powerpc: mpc8xx: move watchdog into drivers/watchdog

Changes since v3:
  Reordered the serie in a more logical order
  Reworked memory init to use existing functions board_init_f_xxx_reserve()
  Reworked allocation of initial memory
  Moved watchdog into drivers/watchdog/ directory

Changes since v2:
  Cleaning more items in patch 5
  Not removing get_immr() anymore in patch 7
  Patches from 11 are new in this version

 api/api_platform-powerpc.c                         |  2 +-
 arch/powerpc/Kconfig                               |  4 +-
 arch/powerpc/cpu/mpc8xx/Kconfig                    |  6 +-
 arch/powerpc/cpu/mpc8xx/Makefile                   |  1 -
 arch/powerpc/cpu/mpc8xx/cpu.c                      | 36 ++---------
 arch/powerpc/cpu/mpc8xx/cpu_init.c                 | 11 ++--
 arch/powerpc/cpu/mpc8xx/immap.c                    | 24 +++++++-
 arch/powerpc/cpu/mpc8xx/interrupts.c               |  2 +-
 arch/powerpc/cpu/mpc8xx/reginfo.c                  | 71 ----------------------
 arch/powerpc/cpu/mpc8xx/speed.c                    |  3 +-
 arch/powerpc/cpu/mpc8xx/start.S                    | 27 +++++---
 arch/powerpc/include/asm/cache.h                   |  6 +-
 .../powerpc/include/asm/cpm_8xx.h                  | 18 +++---
 arch/powerpc/include/asm/global_data.h             |  2 +-
 .../include/asm/{8xx_immap.h => immap_8xx.h}       |  0
 arch/powerpc/include/asm/iopin_8xx.h               |  2 +-
 arch/powerpc/include/asm/ppc.h                     | 13 ++--
 arch/powerpc/include/asm/processor.h               |  6 +-
 board/cssi/MCR3000/MCR3000.c                       |  2 +
 board/cssi/MCR3000/nand.c                          |  2 +-
 board/cssi/MCR3000/u-boot.lds                      |  6 +-
 cmd/bdinfo.c                                       |  2 +-
 configs/MCR3000_defconfig                          |  6 +-
 drivers/i2c/soft_i2c.c                             |  3 -
 drivers/net/Kconfig                                |  2 +-
 drivers/net/mpc8xx_fec.c                           |  2 +-
 drivers/serial/Kconfig                             |  2 +-
 drivers/serial/serial_mpc8xx.c                     |  2 +-
 drivers/spi/Kconfig                                |  2 +-
 drivers/spi/mpc8xx_spi.c                           |  2 +-
 drivers/watchdog/Makefile                          |  1 +
 drivers/watchdog/mpc8xx_wdt.c                      | 21 +++++++
 env/embedded.c                                     |  8 +--
 include/asm-generic/u-boot.h                       |  2 +-
 include/configs/MCR3000.h                          | 40 ++----------
 include/env_default.h                              |  2 +-
 include/mpc8xx.h                                   |  4 +-
 include/ppc_asm.tmpl                               |  6 +-
 include/watchdog.h                                 |  5 --
 39 files changed, 139 insertions(+), 217 deletions(-)
 delete mode 100644 arch/powerpc/cpu/mpc8xx/reginfo.c
 rename include/commproc.h => arch/powerpc/include/asm/cpm_8xx.h (98%)
 rename arch/powerpc/include/asm/{8xx_immap.h => immap_8xx.h} (100%)
 create mode 100644 drivers/watchdog/mpc8xx_wdt.c

-- 
2.13.3



More information about the U-Boot mailing list