Skip to content

Powerpc: mpc8xx: cleanup before migration to DM model

Christophe Leroy u-boot 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest16 patches 0 repliesNew
  2. v3 posting 2/20 of 15 patches 0 repliesSuperseded
  3. v3 posting 1/215 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v210 patches0 repliesSuperseded

Changes in v4 from the cover letter

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

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16soft_i2c: cleanup - no mpc8xx supportdrivers/i2c/soft_i2c.c+0 -31 reply
2/16powerpc: mpc8xx: harmonise initialisation of the immap local pointerarch/powerpc/cpu/mpc8xx/cpu.c arch/powerpc/cpu/mpc8xx/speed.c+3 -51 reply
3/16powerpc: mpc8xx: get rid of the multiple PVR_ valuesarch/powerpc/cpu/mpc8xx/cpu.c arch/powerpc/include/asm/processor.h+3 -51 reply
4/16powerpc: mpc8xx: make get_immr() independent of CONFIG_8xxarch/powerpc/include/asm/ppc.h+1 -21 reply
5/16powerpc: mpc8xx: remove get_immr() argumentarch/powerpc/cpu/mpc8xx/cpu.c arch/powerpc/cpu/mpc8xx/reginfo.c arch/powerpc/include/asm/ppc.h+4 -61 reply
6/16powerpc: mpc8xx: Change CONFIG_8xx to CONFIG_MPC8xxapi/api_platform-powerpc.c arch/powerpc/Kconfig arch/powerpc/cpu/mpc8xx/Kconfig +16 more+24 -241 reply
7/16powercp: mpc8xx: move commproc.harch/powerpc/cpu/mpc8xx/cpu.c arch/powerpc/cpu/mpc8xx/cpu_init.c arch/powerpc/cpu/mpc8xx/immap.c +5 more+7 -71 reply
8/16powerpc: mpc8xx: redistribute data in CPM dpramarch/powerpc/include/asm/cpm_8xx.h+8 -81 reply
9/16powerpc: mpc8xx: initialisation of initial RAMarch/powerpc/cpu/mpc8xx/start.S+20 -71 reply
10/16board: MCR3000: replace mtd->priv by mtd_to_nand()board/cssi/MCR3000/nand.c+1 -11 reply
11/16board: MCR3000: cleanup configarch/powerpc/Kconfig board/cssi/MCR3000/MCR3000.c configs/MCR3000_defconfig +1 more+8 -331 reply
12/16common: env_embedded: allow fine placement of environment objectenv/embedded.c include/env_default.h+5 -51 reply
13/16board: MCR3000: Use smaller flash sector for environmentboard/cssi/MCR3000/u-boot.lds include/configs/MCR3000.h+6 -61 reply
14/16powerpc: mpc8xx: refactorise reginfoarch/powerpc/cpu/mpc8xx/Makefile arch/powerpc/cpu/mpc8xx/immap.c arch/powerpc/cpu/mpc8xx/reginfo.c+20 -721 reply
15/16powerpc: mpc8xx: cleaning up watchdogarch/powerpc/Kconfig arch/powerpc/cpu/mpc8xx/cpu.c arch/powerpc/cpu/mpc8xx/cpu_init.c +2 more+9 -271 reply
16/16powerpc: mpc8xx: move watchdog into drivers/watchdogarch/powerpc/Kconfig arch/powerpc/cpu/mpc8xx/Kconfig arch/powerpc/cpu/mpc8xx/cpu.c +2 more+27 -131 reply

Reviews trailers per patch

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

Read the v4 thread

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

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
Signature · 1 line
2.13.3