
- 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 v4: - Update function name setup_portals() to setup_qbman_portals() in files that were missed the first time - Added QBMan support in Kconfig auto select for B4420 and T4160 SOCs
Changes in v3: - Add freescale old copyright in new file since it is a modified copy - Add ifdef QBMAN guard around get_qman_freq() - Return freq_qman instead of freq_systembus. More readable and robust - Add white space before return line in get_qman_freq()
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 | 14 + .../include/asm/arch-fsl-layerscape/immap_lsch2.h | 29 ++ arch/arm/include/asm/arch-fsl-layerscape/speed.h | 3 + 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 ---- board/freescale/p1023rdb/p1023rdb.c | 2 +- board/keymile/kmp204x/kmp204x.c | 2 +- board/varisys/cyrus/cyrus.c | 2 +- drivers/misc/Makefile | 1 + drivers/misc/fsl_portals.c | 305 +++++++++++++++++++++ drivers/net/Kconfig | 24 ++ 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 +++++ 32 files changed, 475 insertions(+), 368 deletions(-) create mode 100644 drivers/misc/fsl_portals.c create mode 100644 include/fsl_qbman.h