[U-Boot] [PATCH v2 0/2] arm: ppc: Share DPAA1 fixups between ARCHs

Ahmed Mansour ahmed.mansour at nxp.com
Sat Dec 9 00:45:22 UTC 2017


- Support DPAA1 QBMan device tree fixups in a shared location for both
  arm and ppc architectures
- cleanup a define from header files and add as Kconfig with auto
  selection based on SOC

Changes in v2:
- Add get_qman_freq() to replace get_sys_info() for readability
- Correct the copyright year in new files
- Replace !ARM with PPC to wall off PowerPC SOCs specific qman setup
- Rename portals.c -> fsl_portals.c for clarity

Ahmed Mansour (2):
  drivers/misc: Share qbman init between archs
  Move SYS_DPAA_QBMAN to Kconfig

 arch/arm/cpu/armv8/fsl-layerscape/cpu.c            |   4 +
 arch/arm/cpu/armv8/fsl-layerscape/fdt.c            |   9 +
 .../arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c |  11 +
 .../include/asm/arch-fsl-layerscape/immap_lsch2.h  |  29 ++
 arch/arm/include/asm/arch-fsl-layerscape/speed.h   |   1 +
 arch/powerpc/cpu/mpc85xx/cpu_init.c                |   3 +-
 arch/powerpc/cpu/mpc85xx/fdt.c                     |   1 +
 arch/powerpc/cpu/mpc85xx/portals.c                 | 281 -------------------
 arch/powerpc/include/asm/fsl_liodn.h               |   7 +-
 arch/powerpc/include/asm/fsl_portals.h             |   4 -
 arch/powerpc/include/asm/immap_85xx.h              |  60 ----
 drivers/misc/Makefile                              |   1 +
 drivers/misc/fsl_portals.c                         | 304 +++++++++++++++++++++
 drivers/net/Kconfig                                |  22 ++
 include/configs/B4860QDS.h                         |   1 -
 include/configs/P1023RDB.h                         |   1 -
 include/configs/P2041RDB.h                         |   1 -
 include/configs/T102xQDS.h                         |   1 -
 include/configs/T102xRDB.h                         |   1 -
 include/configs/T1040QDS.h                         |   1 -
 include/configs/T104xRDB.h                         |   1 -
 include/configs/T208xQDS.h                         |   1 -
 include/configs/T208xRDB.h                         |   1 -
 include/configs/T4240QDS.h                         |   1 -
 include/configs/T4240RDB.h                         |   1 -
 include/configs/corenet_ds.h                       |   1 -
 include/configs/cyrus.h                            |   1 -
 include/configs/ls1046a_common.h                   |   4 -
 include/fsl_qbman.h                                |  75 +++++
 29 files changed, 464 insertions(+), 365 deletions(-)
 create mode 100644 drivers/misc/fsl_portals.c
 create mode 100644 include/fsl_qbman.h

-- 
2.7.4



More information about the U-Boot mailing list