mbox series

[U-Boot,v3,00/15] Powerpc: mpc8xx: cleanup before migration to DM model

Message ID cover.1520334961.git.christophe.leroy@c-s.fr
Headers show
Series Powerpc: mpc8xx: cleanup before migration to DM model | expand

Message

Christophe Leroy March 6, 2018, 12:06 p.m. UTC
The purpose of this serie is to clean the mpc8xx code a bit prior to moving
to OF and DM model.

Christophe Leroy (15):
  powerpc, 8xx: initialisation global data
  board, MCR3000: replace mtd->priv by mtd_to_nand()
  board, MCR3000: Increase Monitor size
  soft_i2c: cleanup - no mpc8xx support
  boards: MCR3000: cleanup config
  powerpc: mpc8xx: cleaning up watchdog
  powerpc: mpc8xx: make get_immr() independent of CONFIG_8xx
  powerpc: mpc8xx: Change CONFIG_8xx to CONFIG_MPC8xx
  powerpc: 8xx: get rid of the multiple PVR_ values
  powerpc: mpc8xx: refactorise reginfo
  powerpc: mpc8xx: harmonise initialisation of the immap local pointer
  powerpc: mpc8xx: remove get_immr() argument
  powerpc: mpc8xx: use PVR related defines and macros
  common/env_embedded: allow fine placement of environment object
  board: MCR3000: Use smaller flash sector for environment

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                    |  2 +-
 arch/powerpc/cpu/mpc8xx/Makefile                   |  1 -
 arch/powerpc/cpu/mpc8xx/cpu.c                      | 29 +++------
 arch/powerpc/cpu/mpc8xx/cpu_init.c                 | 10 ++-
 arch/powerpc/cpu/mpc8xx/immap.c                    | 22 ++++++-
 arch/powerpc/cpu/mpc8xx/reginfo.c                  | 71 ----------------------
 arch/powerpc/cpu/mpc8xx/speed.c                    |  3 +-
 arch/powerpc/include/asm/cache.h                   |  6 +-
 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                          |  4 +-
 drivers/i2c/soft_i2c.c                             |  3 -
 drivers/net/Kconfig                                |  2 +-
 drivers/serial/Kconfig                             |  2 +-
 drivers/spi/Kconfig                                |  2 +-
 env/embedded.c                                     |  8 +--
 include/asm-generic/u-boot.h                       |  2 +-
 include/commproc.h                                 |  2 +-
 include/configs/MCR3000.h                          | 36 ++---------
 include/env_default.h                              |  2 +-
 include/mpc8xx.h                                   |  4 +-
 include/ppc_asm.tmpl                               |  6 +-
 include/watchdog.h                                 |  5 --
 32 files changed, 85 insertions(+), 178 deletions(-)
 delete mode 100644 arch/powerpc/cpu/mpc8xx/reginfo.c
 rename arch/powerpc/include/asm/{8xx_immap.h => immap_8xx.h} (100%)

Comments

Christophe Leroy March 16, 2018, 8:02 a.m. UTC | #1
Hi Tom,

If not applied already, please don't take this serie yet. While 
migrating drivers to DM model, it find some caveats in the way mpc8xx is 
initialised and it will be cleaner if I fix it in this serie rather than
making new patches on top of it.

Christophe

Le 06/03/2018 à 13:06, Christophe Leroy a écrit :
> The purpose of this serie is to clean the mpc8xx code a bit prior to moving
> to OF and DM model.
> 
> Christophe Leroy (15):
>    powerpc, 8xx: initialisation global data
>    board, MCR3000: replace mtd->priv by mtd_to_nand()
>    board, MCR3000: Increase Monitor size
>    soft_i2c: cleanup - no mpc8xx support
>    boards: MCR3000: cleanup config
>    powerpc: mpc8xx: cleaning up watchdog
>    powerpc: mpc8xx: make get_immr() independent of CONFIG_8xx
>    powerpc: mpc8xx: Change CONFIG_8xx to CONFIG_MPC8xx
>    powerpc: 8xx: get rid of the multiple PVR_ values
>    powerpc: mpc8xx: refactorise reginfo
>    powerpc: mpc8xx: harmonise initialisation of the immap local pointer
>    powerpc: mpc8xx: remove get_immr() argument
>    powerpc: mpc8xx: use PVR related defines and macros
>    common/env_embedded: allow fine placement of environment object
>    board: MCR3000: Use smaller flash sector for environment
> 
> 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                    |  2 +-
>   arch/powerpc/cpu/mpc8xx/Makefile                   |  1 -
>   arch/powerpc/cpu/mpc8xx/cpu.c                      | 29 +++------
>   arch/powerpc/cpu/mpc8xx/cpu_init.c                 | 10 ++-
>   arch/powerpc/cpu/mpc8xx/immap.c                    | 22 ++++++-
>   arch/powerpc/cpu/mpc8xx/reginfo.c                  | 71 ----------------------
>   arch/powerpc/cpu/mpc8xx/speed.c                    |  3 +-
>   arch/powerpc/include/asm/cache.h                   |  6 +-
>   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                          |  4 +-
>   drivers/i2c/soft_i2c.c                             |  3 -
>   drivers/net/Kconfig                                |  2 +-
>   drivers/serial/Kconfig                             |  2 +-
>   drivers/spi/Kconfig                                |  2 +-
>   env/embedded.c                                     |  8 +--
>   include/asm-generic/u-boot.h                       |  2 +-
>   include/commproc.h                                 |  2 +-
>   include/configs/MCR3000.h                          | 36 ++---------
>   include/env_default.h                              |  2 +-
>   include/mpc8xx.h                                   |  4 +-
>   include/ppc_asm.tmpl                               |  6 +-
>   include/watchdog.h                                 |  5 --
>   32 files changed, 85 insertions(+), 178 deletions(-)
>   delete mode 100644 arch/powerpc/cpu/mpc8xx/reginfo.c
>   rename arch/powerpc/include/asm/{8xx_immap.h => immap_8xx.h} (100%)
>