Skip to contentSkip to conversation

ppc4xx: Big header cleanup, mostly PPC440 related

PATCH New Stefan Roese 1 participant 1 message Sep 13, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 4/5 ppc4xx: Big header cleanup, mostly PPC440 related

This patch starts a bit PPC4xx header cleanup. First patch mostly touches PPC440 files. A later patch will touch the PPC405 files as well.

This cleanup is done by creating header files for all SoC versions and moving the SoC specific defines into these special headers. This way the common header ppc405.h and ppc440.h can be cleaned up finally.

---
 arch/powerpc/cpu/ppc4xx/44x_spd_ddr2.c       |    2 +-
 arch/powerpc/cpu/ppc4xx/4xx_pci.c            |   36 +-
 arch/powerpc/cpu/ppc4xx/cpu.c                |   12 +-
 arch/powerpc/cpu/ppc4xx/cpu_init.c           |    8 +-
 arch/powerpc/cpu/ppc4xx/reginfo.c            |    6 +-
 arch/powerpc/include/asm/ppc405.h            |   33 +-
 arch/powerpc/include/asm/ppc405cr.h          |   26 +
 arch/powerpc/include/asm/ppc405ep.h          |   26 +
 arch/powerpc/include/asm/ppc405ex.h          |   30 +
 arch/powerpc/include/asm/ppc405ez.h          |   28 +
 arch/powerpc/include/asm/ppc405gp.h          |   26 +
 arch/powerpc/include/asm/ppc440.h            | 1893 ++------------------------
 arch/powerpc/include/asm/ppc440ep_gr.h       |  236 ++++
 arch/powerpc/include/asm/ppc440epx_grx.h     |  460 +++++++
 arch/powerpc/include/asm/ppc440gp.h          |   62 +
 arch/powerpc/include/asm/ppc440gx.h          |   91 ++
 arch/powerpc/include/asm/ppc440sp.h          |   89 ++
 arch/powerpc/include/asm/ppc440spe.h         |  106 ++
 arch/powerpc/include/asm/ppc460ex_gt.h       |  213 +++
 arch/powerpc/include/asm/ppc460sx.h          |   40 +
 arch/powerpc/include/asm/ppc4xx-emac.h       |    6 -
 arch/powerpc/include/asm/ppc4xx-mal.h        |   39 +
 arch/powerpc/include/asm/ppc4xx-sdram.h      |    2 -
 arch/powerpc/include/asm/ppc4xx.h            |  156 ++-
 board/amcc/bamboo/bamboo.c                   |    2 +-
 board/amcc/bamboo/bamboo.h                   |   11 -
 board/amcc/bamboo/flash.c                    |    2 +-
 board/amcc/sequoia/sequoia.c                 |    4 +-
 board/esd/du440/du440.c                      |    4 +-
 board/esd/pci405/pci405.c                    |    1 -
 board/esd/pmc440/pmc440.c                    |    4 +-
 board/korat/korat.c                          |    4 +-
 board/lwmon5/lwmon5.c                        |    8 +-
 board/netstal/hcu5/hcu5.c                    |   24 +-
 drivers/net/4xx_enet.c                       |    3 +-
 include/configs/PPChameleonEVB.h             |   11 -
 nand_spl/board/amcc/canyonlands/ddr2_fixed.c |    2 +-
 37 files changed, 1729 insertions(+), 1977 deletions(-)
 create mode 100644 arch/powerpc/include/asm/ppc405cr.h
 create mode 100644 arch/powerpc/include/asm/ppc405ep.h
 create mode 100644 arch/powerpc/include/asm/ppc405ex.h
 create mode 100644 arch/powerpc/include/asm/ppc405ez.h
 create mode 100644 arch/powerpc/include/asm/ppc405gp.h
 create mode 100644 arch/powerpc/include/asm/ppc440ep_gr.h
 create mode 100644 arch/powerpc/include/asm/ppc440epx_grx.h
 create mode 100644 arch/powerpc/include/asm/ppc440gp.h
 create mode 100644 arch/powerpc/include/asm/ppc440gx.h
 create mode 100644 arch/powerpc/include/asm/ppc440sp.h
 create mode 100644 arch/powerpc/include/asm/ppc440spe.h
 create mode 100644 arch/powerpc/include/asm/ppc460ex_gt.h
 create mode 100644 arch/powerpc/include/asm/ppc460sx.h

Since this patch is too big for the list, its available at this location:

http://www.denx.de/wiki/pub/U-Boot/TooBigPatches/0004-ppc4xx-Big-header-cleanup-
mostly-PPC440-related.patch