powerpc: drop unmaintained boards and SoCs, take over maintenance
Subsystems (11)
v3 cover powerpc: drop unmaintained boards and SoCs, take over maintenance
PowerPC in U-Boot has been orphaned since October 2022. Several boards and SoC targets in arch/powerpc appear to have had no active community maintenance or testing for some time.
This series proposes removing the targets that are currently unmaintained, to help reduce maintenance overhead and ease treewide work. If any board maintainers or users are still actively testing or relying on a specific board, those removals can easily be skipped.
Pick structure:
None of the removal patches conflict with one another. Each board removal is self contained, so pickers can take individual removals as desired without needing to accept the full series. The SoC cleanups follow the board removals or cover SoCs that already have no boards in the tree.
=== Board Removals (Independent) ===
Patch Target Listed Maintainer 01/26 MPC8548CDS Priyanka Jain <[email protected]> 02/26 MPC837XERDB Sinan Akman <[email protected]> 03/26 P2020RDB-PC Priyanka Jain <[email protected]> 04/26 P3041DS Priyanka Jain <[email protected]> 05/26 P4080DS Priyanka Jain <[email protected]> 06/26 P5040DS Priyanka Jain <[email protected]> 07/26 T1042D4RDB Priyanka Jain <[email protected]>
=== SoC and Architecture Removals ===
Patch SoC / Arch Notes 08/26 P3041 No remaining consumers once P3041DS is dropped 09/26 P4080 No remaining consumers once P4080DS is dropped 10/26 P5040 No remaining consumers once P5040DS is dropped 11/26 MPC837x No remaining consumers once MPC837XERDB is dropped 12/26 C29x No in tree boards 13/26 P1011 No in tree boards 14/26 P1023 No in tree boards 15/26 P1025 No in tree boards 16/26 MPC8536 No in tree boards 17/26 MPC8540 No in tree boards 18/26 MPC8560 No in tree boards 19/26 BSC9132 No in tree boards 20/26 MPC831x No in tree boards 21/26 MPC834x No in tree boards 22/26 P1024 No in tree boards 23/26 BSC9131 No in tree boards 24/26 MPC8309 No in tree boards 25/26 MPC86xx No in tree boards
=== Maintainer Update ===
Patch Area Notes 26/26 MAINTAINERS Add Bradley Morgan as PowerPC maintainer
Changes since v2:
- Fixed build breakage on qemu-ppce500 reported by Peng Fan.
- Removed dangling C291, C292, and C293 CPU table entries from arch/powerpc/cpu/mpc8xxx/cpu.c, squashed into patch 12/26.
- Verified build of all sixty seven remaining PowerPC defconfigs without error.
Changes since v1:
- Switched all commit descriptions to neutral rationale based on community maintenance and testing status.
- Added Pick structure section with tables showing each removal.
- Pruned CC lists on individual patches to relevant board and subsystem maintainers.
Bradley Morgan (26):
board: powerpc: Remove MPC8548CDS support
board: powerpc: Remove MPC837XERDB support
board: powerpc: Remove P2020RDB-PC support
board: powerpc: Remove P3041DS support
board: powerpc: Remove P4080DS support
board: powerpc: Remove P5040DS support
board: powerpc: Remove T1042D4RDB support
powerpc: mpc85xx: Remove P3041 support
powerpc: mpc85xx: Remove P4080 support
powerpc: mpc85xx: Remove P5040 support
powerpc: mpc83xx: Remove MPC837x support
powerpc: mpc85xx: Remove C29x support
powerpc: mpc85xx: Remove P1011 support
powerpc: mpc85xx: Remove P1023 support
powerpc: mpc85xx: Remove P1025 support
powerpc: mpc85xx: Remove MPC8536 support
powerpc: mpc85xx: Remove MPC8540 support
powerpc: mpc85xx: Remove MPC8560 support
powerpc: mpc85xx: Remove BSC9132 support
powerpc: mpc83xx: Remove MPC831x support
powerpc: mpc83xx: Remove MPC834x support
powerpc: mpc85xx: Remove P1024 support
powerpc: mpc85xx: Remove BSC9131 support
powerpc: mpc83xx: Remove MPC8309 support
powerpc: Remove MPC86xx support
MAINTAINERS: powerpc: Add me as PowerPC maintainer
MAINTAINERS | 3 +- README | 2 +- api/api_platform-powerpc.c | 2 +- arch/Kconfig | 7 +- arch/Kconfig.nxp | 9 +- arch/powerpc/cpu/Makefile | 1 - arch/powerpc/cpu/mpc83xx/Kconfig | 44 -- arch/powerpc/cpu/mpc83xx/cpu.c | 17 +- arch/powerpc/cpu/mpc83xx/cpu_init.c | 24 - arch/powerpc/cpu/mpc83xx/fdt.c | 47 +- arch/powerpc/cpu/mpc83xx/hid/Kconfig | 4 +- arch/powerpc/cpu/mpc83xx/hid/hid.h | 5 - arch/powerpc/cpu/mpc83xx/hrcw/Kconfig | 82 +-- arch/powerpc/cpu/mpc83xx/initreg/Kconfig.lcrr | 6 +- arch/powerpc/cpu/mpc83xx/initreg/Kconfig.spcr | 2 +- arch/powerpc/cpu/mpc83xx/pci.c | 2 - arch/powerpc/cpu/mpc83xx/spd_sdram.c | 4 +- arch/powerpc/cpu/mpc83xx/speed.c | 112 +-- arch/powerpc/cpu/mpc83xx/traps.c | 1 - arch/powerpc/cpu/mpc85xx/Kconfig | 443 +----------- arch/powerpc/cpu/mpc85xx/Makefile | 14 - arch/powerpc/cpu/mpc85xx/bsc9132_serdes.c | 101 --- arch/powerpc/cpu/mpc85xx/c29x_serdes.c | 70 -- arch/powerpc/cpu/mpc85xx/cmd_errata.c | 43 +- arch/powerpc/cpu/mpc85xx/cpu.c | 17 - arch/powerpc/cpu/mpc85xx/cpu_init.c | 49 +- arch/powerpc/cpu/mpc85xx/fdt.c | 28 +- arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c | 665 ------------------ arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.h | 4 - arch/powerpc/cpu/mpc85xx/mpc8536_serdes.c | 250 ------- arch/powerpc/cpu/mpc85xx/mpc8548_serdes.c | 57 -- arch/powerpc/cpu/mpc85xx/p1023_serdes.c | 59 -- arch/powerpc/cpu/mpc85xx/p3041_ids.c | 112 --- arch/powerpc/cpu/mpc85xx/p3041_serdes.c | 133 ---- arch/powerpc/cpu/mpc85xx/p4080_ids.c | 112 --- arch/powerpc/cpu/mpc85xx/p4080_serdes.c | 80 --- arch/powerpc/cpu/mpc85xx/p5040_ids.c | 111 --- arch/powerpc/cpu/mpc85xx/p5040_serdes.c | 99 --- arch/powerpc/cpu/mpc85xx/release.S | 23 +- arch/powerpc/cpu/mpc85xx/speed.c | 6 +- arch/powerpc/cpu/mpc8xxx/Makefile | 1 - arch/powerpc/cpu/mpc8xxx/cpu.c | 23 +- arch/powerpc/cpu/mpc8xxx/fdt.c | 8 +- arch/powerpc/cpu/mpc8xxx/srio.c | 6 - arch/powerpc/dts/Makefile | 7 - arch/powerpc/dts/mpc8379erdb.dts | 153 ---- arch/powerpc/dts/mpc8548-post.dtsi | 36 - arch/powerpc/dts/mpc8548.dtsi | 27 - arch/powerpc/dts/mpc8548cds.dts | 29 - arch/powerpc/dts/mpc8548cds_36b.dts | 29 - arch/powerpc/dts/p2020rdb-pc.dts | 59 -- arch/powerpc/dts/p2020rdb-pc.dtsi | 50 -- arch/powerpc/dts/p2020rdb-pc_36b.dts | 59 -- arch/powerpc/dts/p3041.dtsi | 149 ---- arch/powerpc/dts/p3041ds.dts | 158 ----- arch/powerpc/dts/p3041si-post.dtsi | 43 -- arch/powerpc/dts/p4080.dtsi | 148 ---- arch/powerpc/dts/p4080ds.dts | 220 ------ arch/powerpc/dts/p4080si-post.dtsi | 62 -- arch/powerpc/dts/p5040.dtsi | 137 ---- arch/powerpc/dts/p5040ds.dts | 281 -------- arch/powerpc/dts/p5040si-post.dtsi | 70 -- arch/powerpc/dts/t1042d4rdb-u-boot.dtsi | 12 - arch/powerpc/dts/t1042d4rdb.dts | 89 --- arch/powerpc/dts/t104x.dtsi | 148 ---- arch/powerpc/include/asm/arch-mpc83xx/gpio.h | 4 +- arch/powerpc/include/asm/arch-mpc83xx/soc.h | 37 +- arch/powerpc/include/asm/config.h | 1 - arch/powerpc/include/asm/config_mpc85xx.h | 56 +- arch/powerpc/include/asm/fsl_law.h | 8 - arch/powerpc/include/asm/fsl_lbc.h | 15 +- arch/powerpc/include/asm/fsl_pci.h | 7 - arch/powerpc/include/asm/fsl_secure_boot.h | 1 - arch/powerpc/include/asm/fsl_serdes.h | 3 - arch/powerpc/include/asm/global_data.h | 19 +- arch/powerpc/include/asm/immap_83xx.h | 123 +--- arch/powerpc/include/asm/immap_85xx.h | 253 +------ arch/powerpc/include/asm/mpc8349_pci.h | 165 ----- arch/powerpc/include/asm/mpc8xxx_spi.h | 5 +- arch/powerpc/include/asm/ppc.h | 14 +- arch/powerpc/include/asm/processor.h | 36 +- arch/powerpc/lib/bdinfo.c | 2 +- arch/powerpc/lib/bootm.c | 7 - arch/powerpc/lib/ppccache.S | 4 +- arch/powerpc/lib/stack.c | 2 +- board/nxp/common/Makefile | 11 - board/nxp/common/cds_pci_ft.c | 17 - board/nxp/common/cds_via.c | 95 --- board/nxp/common/ics307_clk.c | 149 ---- board/nxp/common/ics307_clk.h | 14 - board/nxp/common/ngpixis.c | 247 ------- board/nxp/common/ngpixis.h | 60 -- board/nxp/common/sdhc_boot.c | 2 +- board/nxp/mpc837xerdb/Kconfig | 15 - board/nxp/mpc837xerdb/MAINTAINERS | 6 - board/nxp/mpc837xerdb/Makefile | 6 - board/nxp/mpc837xerdb/README | 97 --- board/nxp/mpc837xerdb/mpc837xerdb.c | 242 ------- board/nxp/mpc8548cds/Kconfig | 24 - board/nxp/mpc8548cds/MAINTAINERS | 8 - board/nxp/mpc8548cds/Makefile | 10 - board/nxp/mpc8548cds/ddr.c | 51 -- board/nxp/mpc8548cds/law.c | 18 - board/nxp/mpc8548cds/mpc8548cds.c | 170 ----- board/nxp/mpc8548cds/tlb.c | 87 --- board/nxp/p1_p2_rdb_pc/Kconfig | 3 +- board/nxp/p1_p2_rdb_pc/MAINTAINERS | 8 - board/nxp/p1_p2_rdb_pc/README | 7 +- board/nxp/p1_p2_rdb_pc/ddr.c | 68 -- board/nxp/p1_p2_rdb_pc/p1_p2_rdb_pc.c | 2 - board/nxp/t104xrdb/Kconfig | 12 - board/nxp/t104xrdb/MAINTAINERS | 13 - board/nxp/t104xrdb/Makefile | 13 - board/nxp/t104xrdb/README | 386 ---------- board/nxp/t104xrdb/cpld.c | 116 --- board/nxp/t104xrdb/cpld.h | 45 -- board/nxp/t104xrdb/ddr.c | 148 ---- board/nxp/t104xrdb/ddr.h | 56 -- board/nxp/t104xrdb/law.c | 31 - board/nxp/t104xrdb/spl.c | 131 ---- board/nxp/t104xrdb/t1040_nand_rcw.cfg | 7 - board/nxp/t104xrdb/t1040_sd_rcw.cfg | 7 - board/nxp/t104xrdb/t1040_spi_rcw.cfg | 7 - board/nxp/t104xrdb/t1040d4_nand_rcw.cfg | 7 - board/nxp/t104xrdb/t1040d4_sd_rcw.cfg | 7 - board/nxp/t104xrdb/t1040d4_spi_rcw.cfg | 7 - board/nxp/t104xrdb/t1042_nand_rcw.cfg | 7 - board/nxp/t104xrdb/t1042_pi_nand_rcw.cfg | 7 - board/nxp/t104xrdb/t1042_pi_sd_rcw.cfg | 7 - board/nxp/t104xrdb/t1042_pi_spi_rcw.cfg | 7 - board/nxp/t104xrdb/t1042_sd_rcw.cfg | 7 - board/nxp/t104xrdb/t1042_spi_rcw.cfg | 7 - board/nxp/t104xrdb/t1042d4_nand_rcw.cfg | 7 - board/nxp/t104xrdb/t1042d4_sd_rcw.cfg | 7 - board/nxp/t104xrdb/t1042d4_spi_rcw.cfg | 7 - board/nxp/t104xrdb/t104x_pbi.cfg | 36 - board/nxp/t104xrdb/t104x_pbi_sb.cfg | 38 - board/nxp/t104xrdb/t104xrdb.c | 159 ----- board/nxp/t104xrdb/t104xrdb.h | 11 - board/nxp/t104xrdb/tlb.c | 132 ---- boot/Kconfig | 4 +- common/board_r.c | 2 +- configs/MPC837XERDB_defconfig | 193 ----- configs/MPC8548CDS_36BIT_defconfig | 108 --- configs/MPC8548CDS_defconfig | 106 --- configs/MPC8548CDS_legacy_defconfig | 106 --- configs/P2020RDB-PC_36BIT_NAND_defconfig | 164 ----- configs/P2020RDB-PC_36BIT_SDCARD_defconfig | 145 ---- configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig | 147 ---- configs/P2020RDB-PC_36BIT_defconfig | 125 ---- configs/P2020RDB-PC_NAND_defconfig | 162 ----- configs/P2020RDB-PC_SDCARD_defconfig | 142 ---- configs/P2020RDB-PC_SPIFLASH_defconfig | 145 ---- configs/P2020RDB-PC_defconfig | 123 ---- configs/T1042D4RDB_NAND_defconfig | 144 ---- configs/T1042D4RDB_SDCARD_defconfig | 138 ---- configs/T1042D4RDB_SPIFLASH_defconfig | 141 ---- configs/T1042D4RDB_defconfig | 114 --- doc/README.mpc83xxads | 97 --- doc/README.mpc85xx-sd-spi-boot | 8 - doc/README.mpc85xxcds | 225 ------ doc/README.pblimage | 6 +- doc/README.sata | 68 -- doc/README.srio-pcie-boot-corenet | 118 ---- .../clock/fsl,mpc83xx-clk.txt | 7 +- doc/device-tree-bindings/cpu/fsl,mpc83xx.txt | 13 +- .../gpio/fsl,mpc83xx-spisel-boot.txt | 4 +- drivers/clk/mpc83xx_clk.c | 19 +- drivers/clk/mpc83xx_clk.h | 30 +- drivers/cpu/mpc83xx_cpu.c | 62 +- drivers/cpu/mpc83xx_cpu.h | 44 -- drivers/crypto/fsl/jr.c | 14 +- drivers/ddr/fsl/Kconfig | 8 +- drivers/ddr/fsl/ctrl_regs.c | 1 - drivers/dma/fsl_dma.c | 4 - drivers/gpio/mpc83xx_spisel_boot.c | 1 - drivers/gpio/mpc8xxx_gpio.c | 1 - drivers/mmc/Kconfig | 3 +- drivers/net/Kconfig | 4 - drivers/net/fm/Makefile | 6 +- drivers/net/fm/fm.h | 4 - drivers/net/fm/p1023.c | 72 -- drivers/net/fm/p4080.c | 98 --- drivers/net/fm/p5040.c | 106 --- drivers/pci/Kconfig | 2 +- drivers/pci/pci_auto.c | 14 - drivers/pci/pcie_fsl.c | 23 - drivers/qe/Kconfig | 3 +- drivers/qe/qe.c | 1 - drivers/ram/mpc83xx_sdram.c | 14 +- drivers/usb/common/fsl-errata.c | 15 - drivers/usb/host/Kconfig | 2 +- env/Kconfig | 3 +- include/asm-generic/u-boot.h | 2 +- include/configs/MPC837XERDB.h | 218 ------ include/configs/MPC8548CDS.h | 312 -------- include/configs/T104xRDB.h | 397 ----------- include/configs/p1_p2_rdb_pc.h | 21 - include/dt-bindings/clk/mpc83xx-clk.h | 1 - include/fsl_immap.h | 2 +- include/fsl_sec.h | 3 - include/mpc83xx.h | 319 +-------- include/pci_ids.h | 4 - include/serial.h | 1 - 204 files changed, 178 insertions(+), 12876 deletions(-) delete mode 100644 arch/powerpc/cpu/mpc85xx/bsc9132_serdes.c delete mode 100644 arch/powerpc/cpu/mpc85xx/c29x_serdes.c delete mode 100644 arch/powerpc/cpu/mpc85xx/mpc8536_serdes.c delete mode 100644 arch/powerpc/cpu/mpc85xx/mpc8548_serdes.c delete mode 100644 arch/powerpc/cpu/mpc85xx/p1023_serdes.c delete mode 100644 arch/powerpc/cpu/mpc85xx/p3041_ids.c delete mode 100644 arch/powerpc/cpu/mpc85xx/p3041_serdes.c delete mode 100644 arch/powerpc/cpu/mpc85xx/p4080_ids.c delete mode 100644 arch/powerpc/cpu/mpc85xx/p4080_serdes.c delete mode 100644 arch/powerpc/cpu/mpc85xx/p5040_ids.c delete mode 100644 arch/powerpc/cpu/mpc85xx/p5040_serdes.c delete mode 100644 arch/powerpc/dts/mpc8379erdb.dts delete mode 100644 arch/powerpc/dts/mpc8548-post.dtsi delete mode 100644 arch/powerpc/dts/mpc8548.dtsi delete mode 100644 arch/powerpc/dts/mpc8548cds.dts delete mode 100644 arch/powerpc/dts/mpc8548cds_36b.dts delete mode 100644 arch/powerpc/dts/p2020rdb-pc.dts delete mode 100644 arch/powerpc/dts/p2020rdb-pc.dtsi delete mode 100644 arch/powerpc/dts/p2020rdb-pc_36b.dts delete mode 100644 arch/powerpc/dts/p3041.dtsi delete mode 100644 arch/powerpc/dts/p3041ds.dts delete mode 100644 arch/powerpc/dts/p3041si-post.dtsi delete mode 100644 arch/powerpc/dts/p4080.dtsi delete mode 100644 arch/powerpc/dts/p4080ds.dts delete mode 100644 arch/powerpc/dts/p4080si-post.dtsi delete mode 100644 arch/powerpc/dts/p5040.dtsi delete mode 100644 arch/powerpc/dts/p5040ds.dts delete mode 100644 arch/powerpc/dts/p5040si-post.dtsi delete mode 100644 arch/powerpc/dts/t1042d4rdb-u-boot.dtsi delete mode 100644 arch/powerpc/dts/t1042d4rdb.dts delete mode 100644 arch/powerpc/dts/t104x.dtsi delete mode 100644 arch/powerpc/include/asm/mpc8349_pci.h delete mode 100644 board/nxp/common/cds_pci_ft.c delete mode 100644 board/nxp/common/cds_via.c delete mode 100644 board/nxp/common/ics307_clk.c delete mode 100644 board/nxp/common/ics307_clk.h delete mode 100644 board/nxp/common/ngpixis.c delete mode 100644 board/nxp/common/ngpixis.h delete mode 100644 board/nxp/mpc837xerdb/Kconfig delete mode 100644 board/nxp/mpc837xerdb/MAINTAINERS delete mode 100644 board/nxp/mpc837xerdb/Makefile delete mode 100644 board/nxp/mpc837xerdb/README delete mode 100644 board/nxp/mpc837xerdb/mpc837xerdb.c delete mode 100644 board/nxp/mpc8548cds/Kconfig delete mode 100644 board/nxp/mpc8548cds/MAINTAINERS delete mode 100644 board/nxp/mpc8548cds/Makefile delete mode 100644 board/nxp/mpc8548cds/ddr.c delete mode 100644 board/nxp/mpc8548cds/law.c delete mode 100644 board/nxp/mpc8548cds/mpc8548cds.c delete mode 100644 board/nxp/mpc8548cds/tlb.c delete mode 100644 board/nxp/t104xrdb/Kconfig delete mode 100644 board/nxp/t104xrdb/MAINTAINERS delete mode 100644 board/nxp/t104xrdb/Makefile delete mode 100644 board/nxp/t104xrdb/README delete mode 100644 board/nxp/t104xrdb/cpld.c delete mode 100644 board/nxp/t104xrdb/cpld.h delete mode 100644 board/nxp/t104xrdb/ddr.c delete mode 100644 board/nxp/t104xrdb/ddr.h delete mode 100644 board/nxp/t104xrdb/law.c delete mode 100644 board/nxp/t104xrdb/spl.c delete mode 100644 board/nxp/t104xrdb/t1040_nand_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1040_sd_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1040_spi_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1040d4_nand_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1040d4_sd_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1040d4_spi_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1042_nand_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1042_pi_nand_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1042_pi_sd_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1042_pi_spi_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1042_sd_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1042_spi_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1042d4_nand_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1042d4_sd_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1042d4_spi_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t104x_pbi.cfg delete mode 100644 board/nxp/t104xrdb/t104x_pbi_sb.cfg delete mode 100644 board/nxp/t104xrdb/t104xrdb.c delete mode 100644 board/nxp/t104xrdb/t104xrdb.h delete mode 100644 board/nxp/t104xrdb/tlb.c delete mode 100644 configs/MPC837XERDB_defconfig delete mode 100644 configs/MPC8548CDS_36BIT_defconfig delete mode 100644 configs/MPC8548CDS_defconfig delete mode 100644 configs/MPC8548CDS_legacy_defconfig delete mode 100644 configs/P2020RDB-PC_36BIT_NAND_defconfig delete mode 100644 configs/P2020RDB-PC_36BIT_SDCARD_defconfig delete mode 100644 configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig delete mode 100644 configs/P2020RDB-PC_36BIT_defconfig delete mode 100644 configs/P2020RDB-PC_NAND_defconfig delete mode 100644 configs/P2020RDB-PC_SDCARD_defconfig delete mode 100644 configs/P2020RDB-PC_SPIFLASH_defconfig delete mode 100644 configs/P2020RDB-PC_defconfig delete mode 100644 configs/T1042D4RDB_NAND_defconfig delete mode 100644 configs/T1042D4RDB_SDCARD_defconfig delete mode 100644 configs/T1042D4RDB_SPIFLASH_defconfig delete mode 100644 configs/T1042D4RDB_defconfig delete mode 100644 doc/README.mpc83xxads delete mode 100644 doc/README.mpc85xxcds delete mode 100644 doc/README.sata delete mode 100644 doc/README.srio-pcie-boot-corenet delete mode 100644 drivers/net/fm/p1023.c delete mode 100644 drivers/net/fm/p4080.c delete mode 100644 drivers/net/fm/p5040.c delete mode 100644 include/configs/MPC837XERDB.h delete mode 100644 include/configs/MPC8548CDS.h delete mode 100644 include/configs/T104xRDB.h
Signature · 1 line
2.47.3
PATCH v3 1/26 board: powerpc: Remove MPC8548CDS support
The MPC8548CDS board is unmaintained and lacks active community testing. Remove the board and its SoC support.
--- arch/powerpc/cpu/mpc85xx/Kconfig | 37 +-- arch/powerpc/cpu/mpc85xx/Makefile | 1 - arch/powerpc/cpu/mpc85xx/cpu_init.c | 13 - arch/powerpc/cpu/mpc85xx/mpc8548_serdes.c | 57 ---- arch/powerpc/dts/Makefile | 1 - arch/powerpc/dts/mpc8548-post.dtsi | 36 --- arch/powerpc/dts/mpc8548.dtsi | 27 -- arch/powerpc/dts/mpc8548cds.dts | 29 -- arch/powerpc/dts/mpc8548cds_36b.dts | 29 -- arch/powerpc/include/asm/config_mpc85xx.h | 8 +- arch/powerpc/include/asm/immap_85xx.h | 3 +- board/nxp/common/Makefile | 2 - board/nxp/common/cds_pci_ft.c | 17 -- board/nxp/common/cds_via.c | 95 ------- board/nxp/mpc8548cds/Kconfig | 24 -- board/nxp/mpc8548cds/MAINTAINERS | 8 - board/nxp/mpc8548cds/Makefile | 10 - board/nxp/mpc8548cds/ddr.c | 51 ---- board/nxp/mpc8548cds/law.c | 18 -- board/nxp/mpc8548cds/mpc8548cds.c | 170 ------------ board/nxp/mpc8548cds/tlb.c | 87 ------ configs/MPC8548CDS_36BIT_defconfig | 108 -------- configs/MPC8548CDS_defconfig | 106 -------- configs/MPC8548CDS_legacy_defconfig | 106 -------- doc/README.mpc85xxcds | 225 ---------------- env/Kconfig | 1 - include/configs/MPC8548CDS.h | 312 ---------------------- 27 files changed, 4 insertions(+), 1577 deletions(-) delete mode 100644 arch/powerpc/cpu/mpc85xx/mpc8548_serdes.c delete mode 100644 arch/powerpc/dts/mpc8548-post.dtsi delete mode 100644 arch/powerpc/dts/mpc8548.dtsi delete mode 100644 arch/powerpc/dts/mpc8548cds.dts delete mode 100644 arch/powerpc/dts/mpc8548cds_36b.dts delete mode 100644 board/nxp/common/cds_pci_ft.c delete mode 100644 board/nxp/common/cds_via.c delete mode 100644 board/nxp/mpc8548cds/Kconfig delete mode 100644 board/nxp/mpc8548cds/MAINTAINERS delete mode 100644 board/nxp/mpc8548cds/Makefile delete mode 100644 board/nxp/mpc8548cds/ddr.c delete mode 100644 board/nxp/mpc8548cds/law.c delete mode 100644 board/nxp/mpc8548cds/mpc8548cds.c delete mode 100644 board/nxp/mpc8548cds/tlb.c delete mode 100644 configs/MPC8548CDS_36BIT_defconfig delete mode 100644 configs/MPC8548CDS_defconfig delete mode 100644 configs/MPC8548CDS_legacy_defconfig delete mode 100644 doc/README.mpc85xxcds delete mode 100644 include/configs/MPC8548CDS.h
arch/powerpc/cpu/mpc85xx/Kconfig +2 -35
@@ -115,12 +115,6 @@ config TARGET_P5040DS imply SATA imply PANIC_HANG -config TARGET_MPC8548CDS - bool "Support MPC8548CDS" - select ARCH_MPC8548 - select FSL_VIA - select SYS_CACHE_SHIFT_5 - config TARGET_P1010RDB_PA bool "Support P1010RDB_PA" select ARCH_P1010
@@ -427,25 +421,6 @@ config ARCH_MPC8544 select SYS_PPC_E500_USE_DEBUG_TLB select FSL_ELBC -config ARCH_MPC8548 - bool - select BTB - select FSL_LAW - select SYS_FSL_ERRATUM_A005125 - select SYS_FSL_ERRATUM_NMG_DDR120 - select SYS_FSL_ERRATUM_NMG_LBC103 - select SYS_FSL_ERRATUM_NMG_ETSEC129 - select SYS_FSL_ERRATUM_I2C_A004447 - select FSL_PCIE_RESET - select SYS_FSL_HAS_DDR2 - select SYS_FSL_HAS_DDR1 - select SYS_FSL_HAS_SEC - select SYS_FSL_RMU - select SYS_FSL_SEC_BE - select SYS_FSL_SEC_COMPAT_2 - select SYS_PPC_E500_USE_DEBUG_TLB - imply CMD_REGINFO - config ARCH_MPC8560 bool select FSL_LAW
@@ -1031,7 +1006,6 @@ config SYS_CCSRBAR_DEFAULT ARCH_MPC8536 || \ ARCH_MPC8540 || \ ARCH_MPC8544 || \ - ARCH_MPC8548 || \ ARCH_MPC8560 || \ ARCH_P1010 || \ ARCH_P1011 || \
@@ -1182,7 +1156,6 @@ config SYS_FSL_ERRATUM_I2C_A004447 config SYS_FSL_A004447_SVR_REV hex depends on SYS_FSL_ERRATUM_I2C_A004447 - default 0x00 if ARCH_MPC8548 default 0x10 if ARCH_P1010 default 0x11 if ARCH_P1023 || ARCH_P2041 || ARCH_BSC9132 default 0x20 if ARCH_P3041 || ARCH_P4080
@@ -1282,8 +1255,7 @@ config SYS_FSL_NUM_LAWS ARCH_P1024 || \ ARCH_P1025 || \ ARCH_P2020 - default 10 if ARCH_MPC8544 || \ - ARCH_MPC8548 + default 10 if ARCH_MPC8544 default 8 if ARCH_MPC8540 || \ ARCH_MPC8560 help
@@ -1389,7 +1361,7 @@ config FSL_ELBC config SYS_PPC_E500_DEBUG_TLB int "Temporary TLB entry for external debugger" depends on SYS_PPC_E500_USE_DEBUG_TLB - default 0 if ARCH_MPC8544 || ARCH_MPC8548 + default 0 if ARCH_MPC8544 default 1 if ARCH_MPC8536 default 2 if ARCH_P1011 || \ ARCH_P1020 || \
@@ -1425,7 +1397,6 @@ config SYS_FSL_IFC_CLK_DIV config SYS_FSL_LBC_CLK_DIV int "Divider of platform clock" depends on FSL_ELBC || ARCH_MPC8540 || \ - ARCH_MPC8548 || \ ARCH_MPC8560 default 2 if ARCH_P2041 || \
@@ -1537,12 +1508,8 @@ config TPL_SYS_MPC85XX_NO_RESETVEC the section .bootpg is placed in the previous 4k of the .text section, of the SPL portion of the binary. -config FSL_VIA - bool - source "board/CZ.NIC/turris_1x/Kconfig" source "board/emulation/qemu-ppce500/Kconfig" -source "board/nxp/mpc8548cds/Kconfig" source "board/nxp/p1010rdb/Kconfig" source "board/nxp/p1_p2_rdb_pc/Kconfig" source "board/nxp/p2041rdb/Kconfig"
arch/powerpc/cpu/mpc85xx/Makefile +0 -1
@@ -57,7 +57,6 @@ obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS2) += fsl_corenet2_serdes.o obj-$(CONFIG_ARCH_C29X) += c29x_serdes.o obj-$(CONFIG_ARCH_MPC8536) += mpc8536_serdes.o obj-$(CONFIG_ARCH_MPC8544) += mpc8544_serdes.o -obj-$(CONFIG_ARCH_MPC8548) += mpc8548_serdes.o obj-$(CONFIG_ARCH_P1010) += p1010_serdes.o obj-$(CONFIG_ARCH_P1011) += p1021_serdes.o obj-$(CONFIG_ARCH_P1020) += p1021_serdes.o
arch/powerpc/cpu/mpc85xx/cpu_init.c +0 -13
@@ -384,19 +384,6 @@ ulong cpu_init_f(void)#if defined(CONFIG_NXP_ESBC ) && !defined(CONFIG_SYS_RAMBOOT )struct law_entry law;#endif -#ifdef CONFIG_ARCH_MPC8548 -ccsr_local_ecm_t *ecm = (void *)(CFG_SYS_MPC85xx_ECM_ADDR); -uint svr =get_svr (); - -/* -* CPU2 errata workaround: A core hang possible while executing -* a msync instruction and a snoopable transaction from an I/O -* master tagged to make quick forward progress is present. -* Fixed in silicon rev 2.1. -*/ -if ((SVR_MAJ (svr) ==1 ) || ((SVR_MAJ (svr) ==2 &&SVR_MIN (svr) ==0x0 ))) -out_be32 (&ecm->eebpcr,in_be32 (&ecm->eebpcr) | (1 <<16 )); -#endif disable_tlb (14 );disable_tlb (15 );
arch/powerpc/cpu/mpc85xx/mpc8548_serdes.c deleted +0 -57
57 lines not on this page · raw message
arch/powerpc/dts/Makefile +0 -1
@@ -8,7 +8,6 @@ dtb-$(CONFIG_TARGET_KMSUPX5) += kmsupc5.dtb kmsupm5.dtb dtb-$(CONFIG_TARGET_KMTEGR1) += kmtegr1.dtb dtb-$(CONFIG_TARGET_KMTEPR2) += kmtepr2.dtb dtb-$(CONFIG_TARGET_MPC837XERDB) += mpc8379erdb.dtb -dtb-$(CONFIG_TARGET_MPC8548CDS) += mpc8548cds.dtb mpc8548cds_36b.dtb dtb-$(CONFIG_TARGET_P1010RDB_PA) += p1010rdb-pa.dtb p1010rdb-pa_36b.dtb dtb-$(CONFIG_TARGET_P1010RDB_PB) += p1010rdb-pb.dtb p1010rdb-pb_36b.dtb dtb-$(CONFIG_TARGET_P1020RDB_PC) += p1020rdb-pc.dtb p1020rdb-pc_36b.dtb
arch/powerpc/dts/mpc8548-post.dtsi deleted +0 -36
@@ -1,36 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ OR X11 -/* - * MPC8548 Silicon/SoC Device Tree Source (post include) - * - * Copyright 2012 Freescale Semiconductor Inc. - * Copyright 2019 NXP - */ - -&soc { - #address-cells = <1>; - #size-cells = <1>; - device_type = "soc"; - compatible = "fsl,mpc8548-immr", "simple-bus"; - bus-frequency = <0x0>; - - mpic: pic@40000 { - interrupt-controller; - #address-cells = <0>; - #interrupt-cells = <4>; - reg = <0x40000 0x40000>; - compatible = "fsl,mpic"; - device_type = "open-pic"; - big-endian; - single-cpu-affinity; - last-interrupt-source = <255>; - }; -}; - -&pcie { - compatible = "fsl,mpc8548-pcie", "fsl,pcie-fsl-qoriq"; - law_trgt_if = <2>; - #address-cells = <3>; - #size-cells = <2>; - device_type = "pci"; - bus-range = <0x0 0xff>; -};
arch/powerpc/dts/mpc8548.dtsi deleted +0 -27
@@ -1,27 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ OR X11 -/* - * MPC8548CDS Silicon/SoC Device Tree Source (pre include) - * - * Copyright 2011 Freescale Semiconductor Inc. - * Copyright 2019 NXP - */ - -/dts-v1/; - -/include/ "e500v2_power_isa.dtsi" - -/ { - #address-cells = <2>; - #size-cells = <2>; - interrupt-parent = <&mpic>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - PowerPC,8548@0 { - device_type = "cpu"; - reg = <0>; - }; - }; -};
arch/powerpc/dts/mpc8548cds.dts deleted +0 -29
@@ -1,29 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ OR X11 -/* - * MPC8548CDS Device Tree Source - * - * Copyright 2006 - 2012 Freescale Semiconductor Inc. - * Copyright 2019 NXP - */ - -/include/ "mpc8548.dtsi" - -/ { - model = "fsl,MPC8548CDS"; - compatible = "fsl,MPC8548CDS"; - #address-cells = <2>; - #size-cells = <2>; - interrupt-parent = <&mpic>; - - soc: soc8548@e0000000 { - ranges = <0x0 0x0 0xe0000000 0x100000>; - }; - - pcie: pcie@e000a000 { - reg = <0x0 0xe000a000 0x0 0x1000>; /* registers */ - ranges = <0x01000000 0x0 0x00000000 0x0 0xe3000000 0x0 0x00100000 /* downstream I/O */ - 0x02000000 0x0 0xa0000000 0x0 0xa0000000 0x0 0x20000000>; /* non-prefetchable memory */ - }; -}; - -/include/ "mpc8548-post.dtsi"
arch/powerpc/dts/mpc8548cds_36b.dts deleted +0 -29
@@ -1,29 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ OR X11 -/* - * MPC8548CDS (36-bit address map) Device Tree Source - * - * Copyright 2012 - 2015 Freescale Semiconductor Inc. - * Copyright 2019 NXP - */ - -/include/ "mpc8548.dtsi" - -/ { - model = "fsl,MPC8548CDS"; - compatible = "fsl,MPC8548CDS"; - #address-cells = <2>; - #size-cells = <2>; - interrupt-parent = <&mpic>; - - soc: soc8548@fe0000000 { - ranges = <0x0 0xf 0xe0000000 0x100000>; - }; - - pcie: pcie@fe000a000 { - reg = <0xf 0xe000a000 0x0 0x1000>; /* registers */ - ranges = <0x01000000 0x0 0x00000000 0xf 0xe3000000 0x0 0x00100000 /* downstream I/O */ - 0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000>; /* non-prefetchable memory */ - }; -}; - -/include/ "mpc8548-post.dtsi"
arch/powerpc/include/asm/config_mpc85xx.h +1 -7
@@ -10,13 +10,7 @@#include <fsl_ddrc_version.h> -#if defined(CONFIG_ARCH_MPC8548 ) -#define CFG_SYS_FSL_SRIO_MAX_PORTS 1 -#define CFG_SYS_FSL_SRIO_OB_WIN_NUM 9 -#define CFG_SYS_FSL_SRIO_IB_WIN_NUM 5 -#define CFG_SYS_FSL_SRIO_MSG_UNIT_NUM 2 - -#elif defined(CONFIG_ARCH_P1021 ) +#if defined(CONFIG_ARCH_P1021 )#define QE_MURAM_SIZE 0x6000UL#define MAX_QE_RISC 1#define QE_NUM_OF_SNUM 28
arch/powerpc/include/asm/immap_85xx.h +1 -2
@@ -123,8 +123,7 @@ typedef struct ccsr_i2c {u8 res[4096 -1 *sizeof (struct fsl_i2c_base )]; } ccsr_i2c_t; -#if defined(CONFIG_ARCH_MPC8540) || \ - defined(CONFIG_ARCH_MPC8548) +#if defined(CONFIG_ARCH_MPC8540) /* DUART Registers */ typedef struct ccsr_duart { u8 res1[1280];
board/nxp/common/Makefile +0 -2
@@ -27,7 +27,6 @@ I2C_COMMON=y endif obj-$(CONFIG_FSL_CADMUS) += cadmus.o -obj-$(CONFIG_FSL_VIA) += cds_via.o obj-$(CONFIG_FMAN_ENET) += fman.o ifndef CONFIG_XPL_BUILD obj-$(CONFIG_FSL_NGPIXIS) += ngpixis.o
@@ -49,7 +48,6 @@ else obj-$(CONFIG_DEEP_SLEEP) += mpc85xx_sleep.o endif -obj-$(CONFIG_TARGET_MPC8548CDS) += cds_pci_ft.o obj-$(CONFIG_TARGET_P3041DS) += ics307_clk.o obj-$(CONFIG_TARGET_P4080DS) += ics307_clk.o
board/nxp/common/cds_pci_ft.c deleted +0 -17
@@ -1,17 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* -* Copyright 2004 Freescale Semiconductor. -*/ - -#include <linux/libfdt.h> -#include <fdt_support.h> -#include "cadmus.h" - -#if defined(CONFIG_OF_BOARD_SETUP ) -int ft_board_setup (void *blob,struct bd_info *bd) -{ -ft_cpu_setup (blob, bd); - -return 0 ; -} -#endif
board/nxp/common/cds_via.c deleted +0 -95
95 lines not on this page · raw message
board/nxp/mpc8548cds/Kconfig deleted +0 -24
@@ -1,24 +0,0 @@ -if TARGET_MPC8548CDS - -config PCI1 - def_bool y - -config FSL_CADMUS - def_bool y - -config INTERRUPTS - def_bool y - -config SYS_BOARD - default "mpc8548cds" - -config SYS_VENDOR - default "nxp" - -config SYS_CONFIG_NAME - default "MPC8548CDS" - -config TARGET_MPC8548CDS_LEGACY - bool "Legacy platform support" - -endif
board/nxp/mpc8548cds/MAINTAINERS deleted +0 -8
@@ -1,8 +0,0 @@ -MPC8548CDS BOARD -M: Priyanka Jain <[email protected]> -S: Maintained -F: board/nxp/mpc8548cds/ -F: include/configs/MPC8548CDS.h -F: configs/MPC8548CDS_defconfig -F: configs/MPC8548CDS_36BIT_defconfig -F: configs/MPC8548CDS_legacy_defconfig
board/nxp/mpc8548cds/Makefile deleted +0 -10
@@ -1,10 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0+ -# -# Copyright 2004 Freescale Semiconductor. -# (C) Copyright 2001-2006 -# Wolfgang Denk, DENX Software Engineering, [email protected]. - -obj-y += mpc8548cds.o -obj-y += ddr.o -obj-y += law.o -obj-y += tlb.o
board/nxp/mpc8548cds/ddr.c deleted +0 -51
51 lines not on this page · raw message
board/nxp/mpc8548cds/law.c deleted +0 -18
@@ -1,18 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* -* Copyright 2008,2010-2011 Freescale Semiconductor, Inc. -* -* (C) Copyright 2000 -* Wolfgang Denk, DENX Software Engineering, [email protected]. -*/ - -#include <config.h> -#include <asm/fsl_law.h> -#include <asm/mmu.h> - -struct law_entry law_table[] = { -/* LBC window - maps 256M */ -SET_LAW (CFG_SYS_LBC_SDRAM_BASE_PHYS ,LAW_SIZE_256M ,LAW_TRGT_IF_LBC ), -}; - -int num_law_entries =ARRAY_SIZE (law_table);
board/nxp/mpc8548cds/mpc8548cds.c deleted +0 -170
170 lines not on this page · raw message
board/nxp/mpc8548cds/tlb.c deleted +0 -87
87 lines not on this page · raw message
configs/MPC8548CDS_36BIT_defconfig deleted +0 -108
108 lines not on this page · raw message
configs/MPC8548CDS_defconfig deleted +0 -106
106 lines not on this page · raw message
configs/MPC8548CDS_legacy_defconfig deleted +0 -106
106 lines not on this page · raw message
doc/README.mpc85xxcds deleted +0 -225
225 lines not on this page · raw message
env/Kconfig +0 -1
@@ -156,7 +156,6 @@ config ENV_IS_IN_FLASH default y if M548x || M547x || M5282 default y if MCF532x || MCF52x2 default y if MPC86xx || MPC83xx - default y if ARCH_MPC8548 default y if SH && !CPU_SH4 help Define this if you have a flash device which you want to use for the
include/configs/MPC8548CDS.h deleted +0 -312
312 lines not on this page · raw message
Signature · 1 line
2.47.3
PATCH v3 2/26 board: powerpc: Remove MPC837XERDB support
In reply to Bradley MorganThe MPC837XERDB board is unmaintained and lacks active community testing. Drop this target and its board files.
--- arch/powerpc/cpu/mpc83xx/Kconfig | 7 - arch/powerpc/dts/Makefile | 1 - arch/powerpc/dts/mpc8379erdb.dts | 153 ------------------ board/nxp/mpc837xerdb/Kconfig | 15 -- board/nxp/mpc837xerdb/MAINTAINERS | 6 - board/nxp/mpc837xerdb/Makefile | 6 - board/nxp/mpc837xerdb/README | 97 ----------- board/nxp/mpc837xerdb/mpc837xerdb.c | 242 ---------------------------- configs/MPC837XERDB_defconfig | 193 ---------------------- include/configs/MPC837XERDB.h | 218 ------------------------- 10 files changed, 938 deletions(-) delete mode 100644 arch/powerpc/dts/mpc8379erdb.dts delete mode 100644 board/nxp/mpc837xerdb/Kconfig delete mode 100644 board/nxp/mpc837xerdb/MAINTAINERS delete mode 100644 board/nxp/mpc837xerdb/Makefile delete mode 100644 board/nxp/mpc837xerdb/README delete mode 100644 board/nxp/mpc837xerdb/mpc837xerdb.c delete mode 100644 configs/MPC837XERDB_defconfig delete mode 100644 include/configs/MPC837XERDB.h
arch/powerpc/cpu/mpc83xx/Kconfig +0 -7
@@ -24,12 +24,6 @@ config TARGET_CMPCPRO bool "Support CMPCPRO board from CSSI" select ARCH_MPC832X -config TARGET_MPC837XERDB - bool "Support MPC837XERDB" - select ARCH_MPC837X - select BOARD_EARLY_INIT_F - select SYS_83XX_DDR_USES_CS0 - config TARGET_KMETER1 bool "Support kmeter1" select VENDOR_KM
@@ -208,7 +202,6 @@ config FSL_SERDES config NEVER_ASSERT_ODT_TO_CPU bool "Never assert ODT to internal IOs" -source "board/nxp/mpc837xerdb/Kconfig" source "board/gdsys/mpc8308/Kconfig" source "board/cssi/cmpcpro/Kconfig"
arch/powerpc/dts/Makefile +0 -1
@@ -7,7 +7,6 @@ dtb-$(CONFIG_TARGET_KMOPTI2) += kmopti2.dtb dtb-$(CONFIG_TARGET_KMSUPX5) += kmsupc5.dtb kmsupm5.dtb dtb-$(CONFIG_TARGET_KMTEGR1) += kmtegr1.dtb dtb-$(CONFIG_TARGET_KMTEPR2) += kmtepr2.dtb -dtb-$(CONFIG_TARGET_MPC837XERDB) += mpc8379erdb.dtb dtb-$(CONFIG_TARGET_P1010RDB_PA) += p1010rdb-pa.dtb p1010rdb-pa_36b.dtb dtb-$(CONFIG_TARGET_P1010RDB_PB) += p1010rdb-pb.dtb p1010rdb-pb_36b.dtb dtb-$(CONFIG_TARGET_P1020RDB_PC) += p1020rdb-pc.dtb p1020rdb-pc_36b.dtb
arch/powerpc/dts/mpc8379erdb.dts deleted +0 -153
153 lines not on this page · raw message
board/nxp/mpc837xerdb/Kconfig deleted +0 -15
@@ -1,15 +0,0 @@ -if TARGET_MPC837XERDB - -config PCIE - def_bool y - -config SYS_BOARD - default "mpc837xerdb" - -config SYS_VENDOR - default "nxp" - -config SYS_CONFIG_NAME - default "MPC837XERDB" - -endif
board/nxp/mpc837xerdb/MAINTAINERS deleted +0 -6
@@ -1,6 +0,0 @@ -MPC837XERDB BOARD -M: Sinan Akman <[email protected]> -S: Maintained -F: board/nxp/mpc837xerdb/ -F: include/configs/MPC837XERDB.h -F: configs/MPC837XERDB_defconfig
board/nxp/mpc837xerdb/Makefile deleted +0 -6
@@ -1,6 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0+ -# -# (C) Copyright 2006 -# Wolfgang Denk, DENX Software Engineering, [email protected]. - -obj-y += mpc837xerdb.o
board/nxp/mpc837xerdb/README deleted +0 -97
97 lines not on this page · raw message
board/nxp/mpc837xerdb/mpc837xerdb.c deleted +0 -242
242 lines not on this page · raw message
configs/MPC837XERDB_defconfig deleted +0 -193
193 lines not on this page · raw message
include/configs/MPC837XERDB.h deleted +0 -218
218 lines not on this page · raw message
Signature · 1 line
2.47.3
Re: [PATCH v3 02/26] board: powerpc: Remove MPC837XERDB support
Quoted 4 lines · Bradley Morgan
The MPC837XERDB board is unmaintained and lacks active community testing. Drop this target and its board files.
Signed-off-by Bradley Morgan <[email protected]>
Quoted 12 lines
--- arch/powerpc/cpu/mpc83xx/Kconfig | 7 - arch/powerpc/dts/Makefile | 1 - arch/powerpc/dts/mpc8379erdb.dts | 153 ------------------ board/nxp/mpc837xerdb/Kconfig | 15 -- board/nxp/mpc837xerdb/MAINTAINERS | 6 - board/nxp/mpc837xerdb/Makefile | 6 - board/nxp/mpc837xerdb/README | 97 ----------- board/nxp/mpc837xerdb/mpc837xerdb.c | 242 ---------------------------- configs/MPC837XERDB_defconfig | 193 ---------------------- include/configs/MPC837XERDB.h | 218 ------------------------- 10 files changed, 938 deletions(-)
As we had talked on IRC the other day, you still care about this platform, right Sinan?
Signature · 1 line
Tom
Re: [PATCH v3 02/26] board: powerpc: Remove MPC837XERDB support
Hi Tom
Quoted 18 lines · Tom Rini
Quoted 4 lines · Bradley Morgan
The MPC837XERDB board is unmaintained and lacks active community testing. Drop this target and its board files.
Signed-off-by Bradley Morgan <[email protected]>Quoted 12 lines
--- arch/powerpc/cpu/mpc83xx/Kconfig | 7 - arch/powerpc/dts/Makefile | 1 - arch/powerpc/dts/mpc8379erdb.dts | 153 ------------------ board/nxp/mpc837xerdb/Kconfig | 15 -- board/nxp/mpc837xerdb/MAINTAINERS | 6 - board/nxp/mpc837xerdb/Makefile | 6 - board/nxp/mpc837xerdb/README | 97 ----------- board/nxp/mpc837xerdb/mpc837xerdb.c | 242 ---------------------------- configs/MPC837XERDB_defconfig | 193 ---------------------- include/configs/MPC837XERDB.h | 218 ------------------------- 10 files changed, 938 deletions(-)
Quoted 3 lines
As we had talked on IRC the other day, you still care about this platform, right Sinan?
Yes, I would like to keep it for now especially if there are other powerpc boards that are staying.
Thanks
-- sinan
Re: [PATCH v3 02/26] board: powerpc: Remove MPC837XERDB support
Quoted 21 lines · Sinan Akman
Hi Tom
Quoted 18 lines · Tom Rini
Quoted 16 lines · Bradley Morgan
The MPC837XERDB board is unmaintained and lacks active community testing. Drop this target and its board files.
Signed-off-by Bradley Morgan <[email protected]>--- arch/powerpc/cpu/mpc83xx/Kconfig | 7 - arch/powerpc/dts/Makefile | 1 - arch/powerpc/dts/mpc8379erdb.dts | 153 ------------------ board/nxp/mpc837xerdb/Kconfig | 15 -- board/nxp/mpc837xerdb/MAINTAINERS | 6 - board/nxp/mpc837xerdb/Makefile | 6 - board/nxp/mpc837xerdb/README | 97 ----------- board/nxp/mpc837xerdb/mpc837xerdb.c | 242 ---------------------------- configs/MPC837XERDB_defconfig | 193 ---------------------- include/configs/MPC837XERDB.h | 218 ------------------------- 10 files changed, 938 deletions(-)
Quoted 6 lines
Quoted 3 lines
As we had talked on IRC the other day, you still care about this platform, right Sinan?
Yes, I would like to keep it for now especially if there are other powerpc boards that are staying.
Thanks. Bradley, lets wait at least the rest of the week to see if any other listed board maintainers want to speak up. A lot of these platforms fall in to the category of "they still work, they don't need touching for recency".
Signature · 1 line
Tom
PATCH v3 3/26 board: powerpc: Remove P2020RDB-PC support
In reply to Bradley MorganThe P2020RDB-PC board is unmaintained and lacks active community testing. Remove its target, configurations, and board specific code.
--- arch/powerpc/cpu/mpc85xx/Kconfig | 10 -- arch/powerpc/dts/Makefile | 1 - arch/powerpc/dts/p2020rdb-pc.dts | 59 ------- arch/powerpc/dts/p2020rdb-pc.dtsi | 50 ------ arch/powerpc/dts/p2020rdb-pc_36b.dts | 59 ------- board/nxp/p1_p2_rdb_pc/Kconfig | 3 +- board/nxp/p1_p2_rdb_pc/MAINTAINERS | 8 - board/nxp/p1_p2_rdb_pc/README | 6 +- board/nxp/p1_p2_rdb_pc/ddr.c | 31 ---- board/nxp/p1_p2_rdb_pc/p1_p2_rdb_pc.c | 2 - boot/Kconfig | 2 +- configs/P2020RDB-PC_36BIT_NAND_defconfig | 164 ------------------- configs/P2020RDB-PC_36BIT_SDCARD_defconfig | 145 ---------------- configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig | 147 ----------------- configs/P2020RDB-PC_36BIT_defconfig | 125 -------------- configs/P2020RDB-PC_NAND_defconfig | 162 ------------------ configs/P2020RDB-PC_SDCARD_defconfig | 142 ---------------- configs/P2020RDB-PC_SPIFLASH_defconfig | 145 ---------------- configs/P2020RDB-PC_defconfig | 123 -------------- doc/README.mpc85xx-sd-spi-boot | 3 - drivers/ddr/fsl/Kconfig | 2 +- include/configs/p1_p2_rdb_pc.h | 21 --- 22 files changed, 5 insertions(+), 1405 deletions(-) delete mode 100644 arch/powerpc/dts/p2020rdb-pc.dts delete mode 100644 arch/powerpc/dts/p2020rdb-pc.dtsi delete mode 100644 arch/powerpc/dts/p2020rdb-pc_36b.dts delete mode 100644 configs/P2020RDB-PC_36BIT_NAND_defconfig delete mode 100644 configs/P2020RDB-PC_36BIT_SDCARD_defconfig delete mode 100644 configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig delete mode 100644 configs/P2020RDB-PC_36BIT_defconfig delete mode 100644 configs/P2020RDB-PC_NAND_defconfig delete mode 100644 configs/P2020RDB-PC_SDCARD_defconfig delete mode 100644 configs/P2020RDB-PC_SPIFLASH_defconfig delete mode 100644 configs/P2020RDB-PC_defconfig
arch/powerpc/cpu/mpc85xx/Kconfig +0 -10
@@ -157,16 +157,6 @@ config TARGET_P1020RDB_PD imply SATA imply PANIC_HANG -config TARGET_P2020RDB - bool "Support P2020RDB-PC" - select SUPPORT_SPL - select SUPPORT_TPL - select ARCH_P2020 - select SYS_L2_SIZE_512KB - imply CMD_EEPROM - imply SATA - imply SATA_SIL - config TARGET_TURRIS_1X bool "Support Turris 1.x" select SUPPORT_SPL
arch/powerpc/dts/Makefile +0 -1
@@ -11,7 +11,6 @@ dtb-$(CONFIG_TARGET_P1010RDB_PA) += p1010rdb-pa.dtb p1010rdb-pa_36b.dtb dtb-$(CONFIG_TARGET_P1010RDB_PB) += p1010rdb-pb.dtb p1010rdb-pb_36b.dtb dtb-$(CONFIG_TARGET_P1020RDB_PC) += p1020rdb-pc.dtb p1020rdb-pc_36b.dtb dtb-$(CONFIG_TARGET_P1020RDB_PD) += p1020rdb-pd.dtb -dtb-$(CONFIG_TARGET_P2020RDB) += p2020rdb-pc.dtb p2020rdb-pc_36b.dtb dtb-$(CONFIG_TARGET_P3041DS) += p3041ds.dtb dtb-$(CONFIG_TARGET_P4080DS) += p4080ds.dtb dtb-$(CONFIG_TARGET_P5040DS) += p5040ds.dtb
arch/powerpc/dts/p2020rdb-pc.dts deleted +0 -59
59 lines not on this page · raw message
arch/powerpc/dts/p2020rdb-pc.dtsi deleted +0 -50
50 lines not on this page · raw message
arch/powerpc/dts/p2020rdb-pc_36b.dts deleted +0 -59
59 lines not on this page · raw message
board/nxp/p1_p2_rdb_pc/Kconfig +1 -2
@@ -1,6 +1,5 @@ if TARGET_P1020RDB_PC || \ - TARGET_P1020RDB_PD || \ - TARGET_P2020RDB + TARGET_P1020RDB_PD config SYS_BOARD default "p1_p2_rdb_pc"
board/nxp/p1_p2_rdb_pc/MAINTAINERS +0 -8
@@ -15,11 +15,3 @@ F: configs/P1020RDB-PD_defconfig F: configs/P1020RDB-PD_NAND_defconfig F: configs/P1020RDB-PD_SDCARD_defconfig F: configs/P1020RDB-PD_SPIFLASH_defconfig -F: configs/P2020RDB-PC_defconfig -F: configs/P2020RDB-PC_36BIT_defconfig -F: configs/P2020RDB-PC_36BIT_NAND_defconfig -F: configs/P2020RDB-PC_36BIT_SDCARD_defconfig -F: configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig -F: configs/P2020RDB-PC_NAND_defconfig -F: configs/P2020RDB-PC_SDCARD_defconfig -F: configs/P2020RDB-PC_SPIFLASH_defconfig
board/nxp/p1_p2_rdb_pc/README +2 -4
@@ -6,10 +6,8 @@ P1_P2_RDB_PC represents a set of boards including P1020RDB-PD P1021RDB-PC P1024RDB - P2020RDB-PC -They have similar design of P1020RDB but have DDR3 instead of DDR2. P2020RDB-PC -has 64-bit DDR. All others have 32-bit DDR. +They have similar design of P1020RDB but have DDR3 instead of DDR2. Key features on these boards include: * DDR3
@@ -46,7 +44,7 @@ enable QE-TDM for linux kernel, set "qe;tdm" in hwconfig. Syntax is as below Device tree support and how to enable it for different configs -------------------------------------------------------------- -Device tree support is available for p1020rdb and p2020rdb for below mentioned boot, +Device tree support is available for p1020rdb for below mentioned boot, 1. NOR Boot 2. NAND Boot 3. SD Boot
board/nxp/p1_p2_rdb_pc/ddr.c +0 -31
@@ -46,37 +46,6 @@ dimm_params_t ddr_raw_timing = { .refresh_rate_ps = 7800000, .tfaw_ps = 37500, }; -#elif defined(CONFIG_TARGET_P2020RDB ) -/* Micron MT41J128M16_15E */ -dimm_params_t ddr_raw_timing = { - .n_ranks =1 , - .rank_density =1073741824u , - .capacity =1073741824u , - .primary_sdram_width =64 , - .ec_sdram_width =0 , - .registered_dimm =0 , - .mirrored_dimm =0 , - .n_row_addr =14 , - .n_col_addr =10 , - .n_banks_per_sdram_device =8 , - .edc_config =0 , - .burst_lengths_bitmask =0x0c , - - .tckmin_x_ps =1500 , - .caslat_x =0x7e <<4 ,/* 5,6,7,8,9,10 */ - .taa_ps =13500 , - .twr_ps =15000 , - .trcd_ps =13500 , - .trrd_ps =6000 , - .trp_ps =13500 , - .tras_ps =36000 , - .trc_ps =49500 , - .trfc_ps =160000 , - .twtr_ps =7500 , - .trtp_ps =7500 , - .refresh_rate_ps =7800000 , - .tfaw_ps =30000 , -};#elif (defined(CONFIG_TARGET_P1020MBG ) || defined(CONFIG_TARGET_P1020RDB_PD ))/* Micron MT41J512M8_187E */ dimm_params_t ddr_raw_timing = {
board/nxp/p1_p2_rdb_pc/p1_p2_rdb_pc.c +0 -2
@@ -220,8 +220,6 @@ int board_early_init_f(void)#define BOARD_NAME "P1020RDB-PC"#elif defined(CONFIG_TARGET_P1020RDB_PD )#define BOARD_NAME "P1020RDB-PD" -#elif defined(CONFIG_TARGET_P2020RDB ) -#define BOARD_NAME "P2020RDB-PC"#endif int checkboard_p1_p2 (void )
boot/Kconfig +1 -1
@@ -1179,7 +1179,7 @@ config RAMBOOT_PBL choice prompt "Freescale PBL (or predecessor) load location" depends on RAMBOOT_PBL || ((TARGET_P1010RDB_PA || TARGET_P1010RDB_PB \ - || TARGET_P1020RDB_PC || TARGET_P1020RDB_PD || TARGET_P2020RDB) \ + || TARGET_P1020RDB_PC || TARGET_P1020RDB_PD) \ && !CMD_NAND) || (TARGET_TURRIS_1X && SYS_MPC85XX_NO_RESETVEC) config SDCARD
configs/P2020RDB-PC_36BIT_NAND_defconfig deleted +0 -164
164 lines not on this page · raw message
configs/P2020RDB-PC_36BIT_SDCARD_defconfig deleted +0 -145
145 lines not on this page · raw message
configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig deleted +0 -147
147 lines not on this page · raw message
configs/P2020RDB-PC_36BIT_defconfig deleted +0 -125
125 lines not on this page · raw message
configs/P2020RDB-PC_NAND_defconfig deleted +0 -162
162 lines not on this page · raw message
configs/P2020RDB-PC_SDCARD_defconfig deleted +0 -142
142 lines not on this page · raw message
configs/P2020RDB-PC_SPIFLASH_defconfig deleted +0 -145
145 lines not on this page · raw message
configs/P2020RDB-PC_defconfig deleted +0 -123
123 lines not on this page · raw message
doc/README.mpc85xx-sd-spi-boot +0 -3
@@ -59,9 +59,6 @@ P1022DS config_sram_p1022ds.dat P2020DS config_sram_p2020ds.dat P1020RDB config_ddr2_1g_p1020rdb_533M.dat P1020RDB config_ddr2_1g_p1020rdb_667M.dat -P2020RDB config_ddr2_1g_p2020rdb_800M.dat -P2020RDB config_ddr2_1g_p2020rdb_667M.dat -P2020RDB config_ddr3_1gb_64bit_p2020rdb_pc.dat P1020RDB config_ddr3_1gb_p1_p2_rdb_pc_800M.dat P1011RDB config_ddr3_1gb_p1_p2_rdb_pc_800M.dat P1010RDB config_ddr3_1gb_p1010rdb_800M.dat
drivers/ddr/fsl/Kconfig +1 -1
@@ -291,7 +291,7 @@ config SYS_OR7_PRELIM endmenu if TARGET_P1010RDB_PA || TARGET_P1010RDB_PB || TARGET_P1020RDB_PC || \ - TARGET_P1020RDB_PD || TARGET_P2020RDB + TARGET_P1020RDB_PD config COMMON_INIT_DDR bool "Do not have a TLB entry to cover common DDR init with serial presence detect (SPD)"
include/configs/p1_p2_rdb_pc.h +0 -21
@@ -60,25 +60,6 @@*/ #endif -#if defined(CONFIG_TARGET_P2020RDB ) -#define __SW_BOOT_MASK 0x03 -#define __SW_BOOT_NOR 0xc8 -#define __SW_BOOT_SPI 0x28 -#define __SW_BOOT_SD 0x68 -#define __SW_BOOT_SD2 0x18 -#define __SW_BOOT_NAND 0xe8 -#define __SW_BOOT_PCIE 0xa8 -#define __SW_NOR_BANK_MASK 0xfd -#define __SW_NOR_BANK_UP 0x00 -#define __SW_NOR_BANK_LO 0x02 -#define __SW_BOOT_NOR_BANK_UP 0xc8/* (__SW_BOOT_NOR | __SW_NOR_BANK_UP) */ -#define __SW_BOOT_NOR_BANK_LO 0xca/* (__SW_BOOT_NOR | __SW_NOR_BANK_LO) */ -#define __SW_BOOT_NOR_BANK_MASK 0x01/* (__SW_BOOT_MASK & __SW_NOR_BANK_MASK) */ -/* -* Dynamic MTD Partition support with mtdparts -*/ -#endif -#ifdef CONFIG_SDCARD #define CFG_SYS_MMC_U_BOOT_SIZE (768 << 10)#define CFG_SYS_MMC_U_BOOT_DST CONFIG_TEXT_BASE
@@ -125,7 +106,6 @@#define CFG_SYS_SDRAM_BASE CFG_SYS_DDR_SDRAM_BASE/* Default settings for DDR3 */ -#ifndef CONFIG_TARGET_P2020RDB #define CFG_SYS_DDR_CS0_BNDS 0x0000003f#define CFG_SYS_DDR_CS0_CONFIG 0x80014302#define CFG_SYS_DDR_CS0_CONFIG_2 0x00000000
@@ -155,7 +135,6 @@#define CFG_SYS_DDR_MODE_1 0x40461520#define CFG_SYS_DDR_MODE_2 0x8000c000#define CFG_SYS_DDR_INTERVAL 0x0C300000 -#endif /* * Memory map
Signature · 1 line
2.47.3
PATCH v3 4/26 board: powerpc: Remove P3041DS support
In reply to Bradley MorganThe P3041DS development system is unmaintained and lacks active community testing. Drop its target and device tree.
--- arch/powerpc/cpu/mpc85xx/Kconfig | 9 -- arch/powerpc/dts/Makefile | 1 - arch/powerpc/dts/p3041.dtsi | 149 --------------------------- arch/powerpc/dts/p3041ds.dts | 158 ----------------------------- arch/powerpc/dts/p3041si-post.dtsi | 43 -------- board/nxp/common/Makefile | 2 - 6 files changed, 362 deletions(-) delete mode 100644 arch/powerpc/dts/p3041.dtsi delete mode 100644 arch/powerpc/dts/p3041ds.dts delete mode 100644 arch/powerpc/dts/p3041si-post.dtsi
arch/powerpc/cpu/mpc85xx/Kconfig +0 -9
@@ -87,15 +87,6 @@ config TARGET_SOCRATES select ARCH_MPC8544 select BINMAN -config TARGET_P3041DS - bool "Support P3041DS" - select PHYS_64BIT - select ARCH_P3041 - select BOARD_LATE_INIT if CHAIN_OF_TRUST - select FSL_NGPIXIS - imply SATA - imply PANIC_HANG - config TARGET_P4080DS bool "Support P4080DS" select PHYS_64BIT
arch/powerpc/dts/Makefile +0 -1
@@ -11,7 +11,6 @@ dtb-$(CONFIG_TARGET_P1010RDB_PA) += p1010rdb-pa.dtb p1010rdb-pa_36b.dtb dtb-$(CONFIG_TARGET_P1010RDB_PB) += p1010rdb-pb.dtb p1010rdb-pb_36b.dtb dtb-$(CONFIG_TARGET_P1020RDB_PC) += p1020rdb-pc.dtb p1020rdb-pc_36b.dtb dtb-$(CONFIG_TARGET_P1020RDB_PD) += p1020rdb-pd.dtb -dtb-$(CONFIG_TARGET_P3041DS) += p3041ds.dtb dtb-$(CONFIG_TARGET_P4080DS) += p4080ds.dtb dtb-$(CONFIG_TARGET_P5040DS) += p5040ds.dtb dtb-$(CONFIG_TARGET_SOCRATES) += socrates.dtb
arch/powerpc/dts/p3041.dtsi deleted +0 -149
149 lines not on this page · raw message
arch/powerpc/dts/p3041ds.dts deleted +0 -158
158 lines not on this page · raw message
arch/powerpc/dts/p3041si-post.dtsi deleted +0 -43
43 lines not on this page · raw message
board/nxp/common/Makefile +0 -2
@@ -49,7 +49,6 @@ obj-$(CONFIG_DEEP_SLEEP) += mpc85xx_sleep.o endif -obj-$(CONFIG_TARGET_P3041DS) += ics307_clk.o obj-$(CONFIG_TARGET_P4080DS) += ics307_clk.o obj-$(CONFIG_TARGET_P5040DS) += ics307_clk.o ifeq ($(CONFIG_$(PHASE_)POWER_LEGACY),y)
@@ -67,7 +66,6 @@ obj-$(CONFIG_EMC2305) += emc2305.o # deal with common files for P-series corenet based devices obj-$(CONFIG_TARGET_P2041RDB) += p_corenet/ -obj-$(CONFIG_TARGET_P3041DS) += p_corenet/ obj-$(CONFIG_TARGET_P4080DS) += p_corenet/ obj-$(CONFIG_TARGET_P5040DS) += p_corenet/
Signature · 1 line
2.47.3
PATCH v3 5/26 board: powerpc: Remove P4080DS support
In reply to Bradley MorganThe P4080DS development system is unmaintained and lacks active community testing. Drop its target, device trees, and board guide.
--- arch/powerpc/cpu/mpc85xx/Kconfig | 9 -- arch/powerpc/dts/Makefile | 1 - arch/powerpc/dts/p4080.dtsi | 148 ------------------- arch/powerpc/dts/p4080ds.dts | 220 ----------------------------- arch/powerpc/dts/p4080si-post.dtsi | 62 -------- board/nxp/common/Makefile | 2 - doc/README.srio-pcie-boot-corenet | 118 ---------------- 7 files changed, 560 deletions(-) delete mode 100644 arch/powerpc/dts/p4080.dtsi delete mode 100644 arch/powerpc/dts/p4080ds.dts delete mode 100644 arch/powerpc/dts/p4080si-post.dtsi delete mode 100644 doc/README.srio-pcie-boot-corenet
arch/powerpc/cpu/mpc85xx/Kconfig +0 -9
@@ -87,15 +87,6 @@ config TARGET_SOCRATES select ARCH_MPC8544 select BINMAN -config TARGET_P4080DS - bool "Support P4080DS" - select PHYS_64BIT - select ARCH_P4080 - select BOARD_LATE_INIT if CHAIN_OF_TRUST - select FSL_NGPIXIS - imply SATA - imply PANIC_HANG - config TARGET_P5040DS bool "Support P5040DS" select PHYS_64BIT
arch/powerpc/dts/Makefile +0 -1
@@ -11,7 +11,6 @@ dtb-$(CONFIG_TARGET_P1010RDB_PA) += p1010rdb-pa.dtb p1010rdb-pa_36b.dtb dtb-$(CONFIG_TARGET_P1010RDB_PB) += p1010rdb-pb.dtb p1010rdb-pb_36b.dtb dtb-$(CONFIG_TARGET_P1020RDB_PC) += p1020rdb-pc.dtb p1020rdb-pc_36b.dtb dtb-$(CONFIG_TARGET_P1020RDB_PD) += p1020rdb-pd.dtb -dtb-$(CONFIG_TARGET_P4080DS) += p4080ds.dtb dtb-$(CONFIG_TARGET_P5040DS) += p5040ds.dtb dtb-$(CONFIG_TARGET_SOCRATES) += socrates.dtb dtb-$(CONFIG_TARGET_T1024RDB) += t1024rdb.dtb
arch/powerpc/dts/p4080.dtsi deleted +0 -148
148 lines not on this page · raw message
arch/powerpc/dts/p4080ds.dts deleted +0 -220
220 lines not on this page · raw message
arch/powerpc/dts/p4080si-post.dtsi deleted +0 -62
62 lines not on this page · raw message
board/nxp/common/Makefile +0 -2
@@ -49,7 +49,6 @@ obj-$(CONFIG_DEEP_SLEEP) += mpc85xx_sleep.o endif -obj-$(CONFIG_TARGET_P4080DS) += ics307_clk.o obj-$(CONFIG_TARGET_P5040DS) += ics307_clk.o ifeq ($(CONFIG_$(PHASE_)POWER_LEGACY),y) obj-$(CONFIG_POWER_PFUZE100) += pfuze.o
@@ -66,7 +65,6 @@ obj-$(CONFIG_EMC2305) += emc2305.o # deal with common files for P-series corenet based devices obj-$(CONFIG_TARGET_P2041RDB) += p_corenet/ -obj-$(CONFIG_TARGET_P4080DS) += p_corenet/ obj-$(CONFIG_TARGET_P5040DS) += p_corenet/ obj-$(CONFIG_LAYERSCAPE_NS_ACCESS) += ns_access.o
doc/README.srio-pcie-boot-corenet deleted +0 -118
118 lines not on this page · raw message
Signature · 1 line
2.47.3
PATCH v3 6/26 board: powerpc: Remove P5040DS support
In reply to Bradley MorganThe P5040DS board is unmaintained and lacks active community testing. Drop the target, device trees, and its PIXIS support.
--- arch/powerpc/cpu/mpc85xx/Kconfig | 13 -- arch/powerpc/dts/Makefile | 1 - arch/powerpc/dts/p5040.dtsi | 137 -------------- arch/powerpc/dts/p5040ds.dts | 281 ----------------------------- arch/powerpc/dts/p5040si-post.dtsi | 70 ------- board/nxp/common/Makefile | 5 - board/nxp/common/ics307_clk.c | 149 --------------- board/nxp/common/ics307_clk.h | 14 -- board/nxp/common/ngpixis.c | 247 ------------------------- board/nxp/common/ngpixis.h | 60 ------ 10 files changed, 977 deletions(-) delete mode 100644 arch/powerpc/dts/p5040.dtsi delete mode 100644 arch/powerpc/dts/p5040ds.dts delete mode 100644 arch/powerpc/dts/p5040si-post.dtsi delete mode 100644 board/nxp/common/ics307_clk.c delete mode 100644 board/nxp/common/ics307_clk.h delete mode 100644 board/nxp/common/ngpixis.c delete mode 100644 board/nxp/common/ngpixis.h
arch/powerpc/cpu/mpc85xx/Kconfig +0 -13
@@ -87,16 +87,6 @@ config TARGET_SOCRATES select ARCH_MPC8544 select BINMAN -config TARGET_P5040DS - bool "Support P5040DS" - select PHYS_64BIT - select ARCH_P5040 - select BOARD_LATE_INIT if CHAIN_OF_TRUST - select FSL_NGPIXIS - select SYS_FSL_RAID_ENGINE - imply SATA - imply PANIC_HANG - config TARGET_P1010RDB_PA bool "Support P1010RDB_PA" select ARCH_P1010
@@ -1392,9 +1382,6 @@ config FSL_CORENET bool select SYS_FSL_CPC -config FSL_NGPIXIS - bool - config SYS_CPC_REINIT_F bool help
arch/powerpc/dts/Makefile +0 -1
@@ -11,7 +11,6 @@ dtb-$(CONFIG_TARGET_P1010RDB_PA) += p1010rdb-pa.dtb p1010rdb-pa_36b.dtb dtb-$(CONFIG_TARGET_P1010RDB_PB) += p1010rdb-pb.dtb p1010rdb-pb_36b.dtb dtb-$(CONFIG_TARGET_P1020RDB_PC) += p1020rdb-pc.dtb p1020rdb-pc_36b.dtb dtb-$(CONFIG_TARGET_P1020RDB_PD) += p1020rdb-pd.dtb -dtb-$(CONFIG_TARGET_P5040DS) += p5040ds.dtb dtb-$(CONFIG_TARGET_SOCRATES) += socrates.dtb dtb-$(CONFIG_TARGET_T1024RDB) += t1024rdb.dtb dtb-$(CONFIG_TARGET_T1042D4RDB) += t1042d4rdb.dtb
arch/powerpc/dts/p5040.dtsi deleted +0 -137
137 lines not on this page · raw message
arch/powerpc/dts/p5040ds.dts deleted +0 -281
281 lines not on this page · raw message
arch/powerpc/dts/p5040si-post.dtsi deleted +0 -70
70 lines not on this page · raw message
board/nxp/common/Makefile +0 -5
@@ -28,9 +28,6 @@ endif obj-$(CONFIG_FSL_CADMUS) += cadmus.o obj-$(CONFIG_FMAN_ENET) += fman.o -ifndef CONFIG_XPL_BUILD -obj-$(CONFIG_FSL_NGPIXIS) += ngpixis.o -endif obj-$(I2C_COMMON) += i2c_common.o obj-$(CONFIG_FSL_USE_PCA9547_MUX) += i2c_mux.o obj-$(CONFIG_$(PHASE_)VID) += vid.o
@@ -49,7 +46,6 @@ obj-$(CONFIG_DEEP_SLEEP) += mpc85xx_sleep.o endif -obj-$(CONFIG_TARGET_P5040DS) += ics307_clk.o ifeq ($(CONFIG_$(PHASE_)POWER_LEGACY),y) obj-$(CONFIG_POWER_PFUZE100) += pfuze.o endif
@@ -65,7 +61,6 @@ obj-$(CONFIG_EMC2305) += emc2305.o # deal with common files for P-series corenet based devices obj-$(CONFIG_TARGET_P2041RDB) += p_corenet/ -obj-$(CONFIG_TARGET_P5040DS) += p_corenet/ obj-$(CONFIG_LAYERSCAPE_NS_ACCESS) += ns_access.o
board/nxp/common/ics307_clk.c deleted +0 -149
149 lines not on this page · raw message
board/nxp/common/ics307_clk.h deleted +0 -14
@@ -1,14 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* -* Copyright 2010-2011 Freescale Semiconductor, Inc. -*/ -#ifndef __ICS_CLK_H_ -#define __ICS_CLK_H_ 1 - -#ifndef __ASSEMBLY__ - -extern unsigned long get_board_sys_clk (void ); -extern unsigned long ics307_sysclk_calculator (unsigned long out_freq); -#endif - -#endif /* __ICS_CLK_H_ */
board/nxp/common/ngpixis.c deleted +0 -247
247 lines not on this page · raw message
board/nxp/common/ngpixis.h deleted +0 -60
60 lines not on this page · raw message
Signature · 1 line
2.47.3
PATCH v3 7/26 board: powerpc: Remove T1042D4RDB support
In reply to Bradley MorganThe T1042D4RDB board is unmaintained and lacks active community testing. Remove the target and its board support.
--- arch/powerpc/cpu/mpc85xx/Kconfig | 10 - arch/powerpc/dts/Makefile | 1 - arch/powerpc/dts/t1042d4rdb-u-boot.dtsi | 12 - arch/powerpc/dts/t1042d4rdb.dts | 89 ----- arch/powerpc/dts/t104x.dtsi | 148 -------- arch/powerpc/include/asm/fsl_secure_boot.h | 1 - board/nxp/t104xrdb/Kconfig | 12 - board/nxp/t104xrdb/MAINTAINERS | 13 - board/nxp/t104xrdb/Makefile | 13 - board/nxp/t104xrdb/README | 386 -------------------- board/nxp/t104xrdb/cpld.c | 116 ------ board/nxp/t104xrdb/cpld.h | 45 --- board/nxp/t104xrdb/ddr.c | 148 -------- board/nxp/t104xrdb/ddr.h | 56 --- board/nxp/t104xrdb/law.c | 31 -- board/nxp/t104xrdb/spl.c | 131 ------- board/nxp/t104xrdb/t1040_nand_rcw.cfg | 7 - board/nxp/t104xrdb/t1040_sd_rcw.cfg | 7 - board/nxp/t104xrdb/t1040_spi_rcw.cfg | 7 - board/nxp/t104xrdb/t1040d4_nand_rcw.cfg | 7 - board/nxp/t104xrdb/t1040d4_sd_rcw.cfg | 7 - board/nxp/t104xrdb/t1040d4_spi_rcw.cfg | 7 - board/nxp/t104xrdb/t1042_nand_rcw.cfg | 7 - board/nxp/t104xrdb/t1042_pi_nand_rcw.cfg | 7 - board/nxp/t104xrdb/t1042_pi_sd_rcw.cfg | 7 - board/nxp/t104xrdb/t1042_pi_spi_rcw.cfg | 7 - board/nxp/t104xrdb/t1042_sd_rcw.cfg | 7 - board/nxp/t104xrdb/t1042_spi_rcw.cfg | 7 - board/nxp/t104xrdb/t1042d4_nand_rcw.cfg | 7 - board/nxp/t104xrdb/t1042d4_sd_rcw.cfg | 7 - board/nxp/t104xrdb/t1042d4_spi_rcw.cfg | 7 - board/nxp/t104xrdb/t104x_pbi.cfg | 36 -- board/nxp/t104xrdb/t104x_pbi_sb.cfg | 38 -- board/nxp/t104xrdb/t104xrdb.c | 159 --------- board/nxp/t104xrdb/t104xrdb.h | 11 - board/nxp/t104xrdb/tlb.c | 132 ------- configs/T1042D4RDB_NAND_defconfig | 144 -------- configs/T1042D4RDB_SDCARD_defconfig | 138 ------- configs/T1042D4RDB_SPIFLASH_defconfig | 141 -------- configs/T1042D4RDB_defconfig | 114 ------ include/configs/T104xRDB.h | 397 --------------------- 41 files changed, 2627 deletions(-) delete mode 100644 arch/powerpc/dts/t1042d4rdb-u-boot.dtsi delete mode 100644 arch/powerpc/dts/t1042d4rdb.dts delete mode 100644 arch/powerpc/dts/t104x.dtsi delete mode 100644 board/nxp/t104xrdb/Kconfig delete mode 100644 board/nxp/t104xrdb/MAINTAINERS delete mode 100644 board/nxp/t104xrdb/Makefile delete mode 100644 board/nxp/t104xrdb/README delete mode 100644 board/nxp/t104xrdb/cpld.c delete mode 100644 board/nxp/t104xrdb/cpld.h delete mode 100644 board/nxp/t104xrdb/ddr.c delete mode 100644 board/nxp/t104xrdb/ddr.h delete mode 100644 board/nxp/t104xrdb/law.c delete mode 100644 board/nxp/t104xrdb/spl.c delete mode 100644 board/nxp/t104xrdb/t1040_nand_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1040_sd_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1040_spi_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1040d4_nand_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1040d4_sd_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1040d4_spi_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1042_nand_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1042_pi_nand_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1042_pi_sd_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1042_pi_spi_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1042_sd_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1042_spi_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1042d4_nand_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1042d4_sd_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t1042d4_spi_rcw.cfg delete mode 100644 board/nxp/t104xrdb/t104x_pbi.cfg delete mode 100644 board/nxp/t104xrdb/t104x_pbi_sb.cfg delete mode 100644 board/nxp/t104xrdb/t104xrdb.c delete mode 100644 board/nxp/t104xrdb/t104xrdb.h delete mode 100644 board/nxp/t104xrdb/tlb.c delete mode 100644 configs/T1042D4RDB_NAND_defconfig delete mode 100644 configs/T1042D4RDB_SDCARD_defconfig delete mode 100644 configs/T1042D4RDB_SPIFLASH_defconfig delete mode 100644 configs/T1042D4RDB_defconfig delete mode 100644 include/configs/T104xRDB.h
arch/powerpc/cpu/mpc85xx/Kconfig +0 -10
@@ -167,15 +167,6 @@ config TARGET_T1024RDB imply CMD_EEPROM imply PANIC_HANG -config TARGET_T1042D4RDB - bool "Support T1042D4RDB" - select ARCH_T1042 - select BOARD_LATE_INIT if CHAIN_OF_TRUST - select SUPPORT_SPL - select PHYS_64BIT - select SYS_L3_SIZE_256KB - imply PANIC_HANG - config TARGET_T2080QDS bool "Support T2080QDS" select ARCH_T2080
@@ -1473,7 +1464,6 @@ source "board/nxp/p1010rdb/Kconfig" source "board/nxp/p1_p2_rdb_pc/Kconfig" source "board/nxp/p2041rdb/Kconfig" source "board/nxp/t102xrdb/Kconfig" -source "board/nxp/t104xrdb/Kconfig" source "board/nxp/t208xqds/Kconfig" source "board/nxp/t208xrdb/Kconfig" source "board/nxp/t4rdb/Kconfig"
arch/powerpc/dts/Makefile +0 -1
@@ -13,7 +13,6 @@ dtb-$(CONFIG_TARGET_P1020RDB_PC) += p1020rdb-pc.dtb p1020rdb-pc_36b.dtb dtb-$(CONFIG_TARGET_P1020RDB_PD) += p1020rdb-pd.dtb dtb-$(CONFIG_TARGET_SOCRATES) += socrates.dtb dtb-$(CONFIG_TARGET_T1024RDB) += t1024rdb.dtb -dtb-$(CONFIG_TARGET_T1042D4RDB) += t1042d4rdb.dtb dtb-$(CONFIG_TARGET_T2080QDS) += t2080qds.dtb dtb-$(CONFIG_TARGET_T2080RDB) += t2080rdb.dtb dtb-$(CONFIG_TARGET_T4240RDB) += t4240rdb.dtb
arch/powerpc/dts/t1042d4rdb-u-boot.dtsi deleted +0 -12
@@ -1,12 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* Copyright 2023 NXP */ - -&serial0 { - bootph-all; -}; - -&serial1 { - bootph-all; -}; - -#include "u-boot.dtsi"
arch/powerpc/dts/t1042d4rdb.dts deleted +0 -89
89 lines not on this page · raw message
arch/powerpc/dts/t104x.dtsi deleted +0 -148
148 lines not on this page · raw message
arch/powerpc/include/asm/fsl_secure_boot.h +0 -1
@@ -17,7 +17,6 @@#if defined(CONFIG_TARGET_T2080QDS ) || \ defined(CONFIG_TARGET_T2080RDB ) || \ - defined(CONFIG_TARGET_T1042D4RDB ) || \ defined(CONFIG_ARCH_T1024 )#undef CFG_SYS_INIT_L3_ADDR#define CFG_SYS_INIT_L3_ADDR 0xbff00000
board/nxp/t104xrdb/Kconfig deleted +0 -12
@@ -1,12 +0,0 @@ -if TARGET_T1042D4RDB - -config SYS_BOARD - default "t104xrdb" - -config SYS_VENDOR - default "nxp" - -config SYS_CONFIG_NAME - default "T104xRDB" - -endif
board/nxp/t104xrdb/MAINTAINERS deleted +0 -13
@@ -1,13 +0,0 @@ -T104XRDB BOARD -M: Priyanka Jain <[email protected]> -S: Maintained -F: board/nxp/t104xrdb/ -F: include/configs/T104xRDB.h -F: configs/T1042D4RDB_defconfig -F: configs/T1042D4RDB_NAND_defconfig -F: configs/T1042D4RDB_SPIFLASH_defconfig - -T1040RDB_SDCARD BOARD -M: Priyanka Jain <[email protected]> -S: Maintained -F: configs/T1042D4RDB_SDCARD_defconfig
board/nxp/t104xrdb/Makefile deleted +0 -13
@@ -1,13 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0+ -# -# Copyright 2013 Freescale Semiconductor, Inc. - -ifdef CONFIG_XPL_BUILD -obj-y += spl.o -else -obj-y += t104xrdb.o -obj-y += cpld.o -endif -obj-y += ddr.o -obj-y += law.o -obj-y += tlb.o
board/nxp/t104xrdb/README deleted +0 -386
386 lines not on this page · raw message
board/nxp/t104xrdb/cpld.c deleted +0 -116
116 lines not on this page · raw message
board/nxp/t104xrdb/cpld.h deleted +0 -45
45 lines not on this page · raw message
board/nxp/t104xrdb/ddr.c deleted +0 -148
148 lines not on this page · raw message
board/nxp/t104xrdb/ddr.h deleted +0 -56
56 lines not on this page · raw message
board/nxp/t104xrdb/law.c deleted +0 -31
@@ -1,31 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* -* Copyright 2013 Freescale Semiconductor, Inc. -*/ - -#include <config.h> -#include <asm/fsl_law.h> -#include <asm/mmu.h> - -struct law_entry law_table[] = { -#ifdef CONFIG_MTD_NOR_FLASH - SET_LAW(CFG_SYS_FLASH_BASE_PHYS, LAW_SIZE_256M, LAW_TRGT_IF_IFC), -#endif -#ifdef CFG_SYS_BMAN_MEM_PHYS - SET_LAW(CFG_SYS_BMAN_MEM_PHYS, LAW_SIZE_32M, LAW_TRGT_IF_BMAN), -#endif -#ifdef CFG_SYS_QMAN_MEM_PHYS - SET_LAW(CFG_SYS_QMAN_MEM_PHYS, LAW_SIZE_32M, LAW_TRGT_IF_QMAN), -#endif -#ifdef CFG_SYS_CPLD_BASE_PHYS - SET_LAW(CFG_SYS_CPLD_BASE_PHYS, LAW_SIZE_128K, LAW_TRGT_IF_IFC), -#endif -#ifdef CFG_SYS_DCSRBAR_PHYS - SET_LAW(CFG_SYS_DCSRBAR_PHYS, LAW_SIZE_4M, LAW_TRGT_IF_DCSR), -#endif -#ifdef CFG_SYS_NAND_BASE_PHYS - SET_LAW(CFG_SYS_NAND_BASE_PHYS, LAW_SIZE_64K, LAW_TRGT_IF_IFC), -#endif -}; - -int num_law_entries =ARRAY_SIZE (law_table);
board/nxp/t104xrdb/spl.c deleted +0 -131
131 lines not on this page · raw message
board/nxp/t104xrdb/t1040_nand_rcw.cfg deleted +0 -7
@@ -1,7 +0,0 @@ -#PBL preamble and RCW header -aa55aa55 010e0100 -# serdes protocol 0x66 -0c18000e 0e000000 00000000 00000000 -66000002 80000002 e8106000 01000000 -00000000 00000000 00000000 00032810 -00000000 0342500f 00000000 00000000
board/nxp/t104xrdb/t1040_sd_rcw.cfg deleted +0 -7
@@ -1,7 +0,0 @@ -#PBL preamble and RCW header -aa55aa55 010e0100 -# serdes protocol 0x66 -0c18000e 0e000000 00000000 00000000 -66000002 80000002 68106000 01000000 -00000000 00000000 00000000 00032810 -00000000 0342500f 00000000 00000000
board/nxp/t104xrdb/t1040_spi_rcw.cfg deleted +0 -7
@@ -1,7 +0,0 @@ -#PBL preamble and RCW header -aa55aa55 010e0100 -# serdes protocol 0x66 -0c18000e 0e000000 00000000 00000000 -66000002 80000002 58106000 01000000 -00000000 00000000 00000000 00032810 -00000000 0342500f 00000000 00000000
board/nxp/t104xrdb/t1040d4_nand_rcw.cfg deleted +0 -7
@@ -1,7 +0,0 @@ -#PBL preamble and RCW header -aa55aa55 010e0100 -# serdes protocol 0x66 -0c18000e 0e000000 00000000 00000000 -66000002 40000002 ec027000 01000000 -00000000 00000000 00000000 00030810 -00000000 0342580f 00000000 00000000
board/nxp/t104xrdb/t1040d4_sd_rcw.cfg deleted +0 -7
@@ -1,7 +0,0 @@ -#PBL preamble and RCW header -aa55aa55 010e0100 -# serdes protocol 0x66 -0c18000e 0e000000 00000000 00000000 -66000002 40000002 6c027000 01000000 -00000000 00000000 00000000 00030810 -00000000 0342580f 00000000 00000000
board/nxp/t104xrdb/t1040d4_spi_rcw.cfg deleted +0 -7
@@ -1,7 +0,0 @@ -#PBL preamble and RCW header -aa55aa55 010e0100 -# serdes protocol 0x66 -0c18000e 0e000000 00000000 00000000 -66000002 40000002 5c027000 01000000 -00000000 00000000 00000000 00030810 -00000000 0342580f 00000000 00000000
board/nxp/t104xrdb/t1042_nand_rcw.cfg deleted +0 -7
@@ -1,7 +0,0 @@ -#PBL preamble and RCW header -aa55aa55 010e0100 -# serdes protocol 0x86 -0c18000e 0e000000 00000000 00000000 -86000002 80000002 ec027000 01000000 -00000000 00000000 00000000 00032810 -00000000 0342500f 00000000 00000000
board/nxp/t104xrdb/t1042_pi_nand_rcw.cfg deleted +0 -7
@@ -1,7 +0,0 @@ -#PBL preamble and RCW header -aa55aa55 010e0100 -# serdes protocol 0x06 -0c18000e 0e000000 00000000 00000000 -06000002 00400002 e8106000 01000000 -00000000 00000000 00000000 00030810 -00000000 01fe0a06 00000000 00000000
board/nxp/t104xrdb/t1042_pi_sd_rcw.cfg deleted +0 -7
@@ -1,7 +0,0 @@ -#PBL preamble and RCW header -aa55aa55 010e0100 -# serdes protocol 0x06 -0c18000e 0e000000 00000000 00000000 -06000002 00400002 68106000 01000000 -00000000 00000000 00000000 00030810 -00000000 01fe0a06 00000000 00000000
board/nxp/t104xrdb/t1042_pi_spi_rcw.cfg deleted +0 -7
@@ -1,7 +0,0 @@ -#PBL preamble and RCW header -aa55aa55 010e0100 -# serdes protocol 0x06 -0c18000e 0e000000 00000000 00000000 -06000002 00400002 58106000 01000000 -00000000 00000000 00000000 00030810 -00000000 01fe0a06 00000000 00000000
board/nxp/t104xrdb/t1042_sd_rcw.cfg deleted +0 -7
@@ -1,7 +0,0 @@ -#PBL preamble and RCW header -aa55aa55 010e0100 -# serdes protocol 0x86 -0c18000e 0e000000 00000000 00000000 -86000002 80000002 6c027000 01000000 -00000000 00000000 00000000 00032810 -00000000 0342500f 00000000 00000000
board/nxp/t104xrdb/t1042_spi_rcw.cfg deleted +0 -7
@@ -1,7 +0,0 @@ -#PBL preamble and RCW header -aa55aa55 010e0100 -# serdes protocol 0x86 -0c18000e 0e000000 00000000 00000000 -86000002 80000002 5c027000 01000000 -00000000 00000000 00000000 00032810 -00000000 0342500f 00000000 00000000
board/nxp/t104xrdb/t1042d4_nand_rcw.cfg deleted +0 -7
@@ -1,7 +0,0 @@ -#PBL preamble and RCW header -aa55aa55 010e0100 -# serdes protocol 0x86 -0c18000e 0e000000 00000000 00000000 -86000002 40000002 ec027000 01000000 -00000000 00000000 00000000 00030810 -00000000 0342500f 00000000 00000000
board/nxp/t104xrdb/t1042d4_sd_rcw.cfg deleted +0 -7
@@ -1,7 +0,0 @@ -#PBL preamble and RCW header -aa55aa55 010e0100 -# serdes protocol 0x86 -0c18000e 0e000000 00000000 00000000 -86000002 40000002 6c027000 01000000 -00000000 00000000 00000000 00030810 -00000000 0342500f 00000000 00000000
board/nxp/t104xrdb/t1042d4_spi_rcw.cfg deleted +0 -7
@@ -1,7 +0,0 @@ -#PBL preamble and RCW header -aa55aa55 010e0100 -# serdes protocol 0x86 -0c18000e 0e000000 00000000 00000000 -86000002 40000002 5c027000 01000000 -00000000 00000000 00000000 00030810 -00000000 0342500f 00000000 00000000
board/nxp/t104xrdb/t104x_pbi.cfg deleted +0 -36
@@ -1,36 +0,0 @@ -#PBI commands -#Software Workaround for errata A-007662 to train PCIe2 controller in Gen2 speed -09250100 00000400 -09250108 00002000 -#Software Workaround for errata A-008007 to reset PVR register -09000010 0000000b -09000014 c0000000 -09000018 81d00017 -89020400 a1000000 -091380c0 000f0000 -89020400 00000000 -#Initialize CPC1 -09010000 00200400 -09138000 00000000 -091380c0 00000100 -#Configure CPC1 as 256KB SRAM -09010100 00000000 -09010104 fffc0007 -09010f00 081e000d -09010000 80000000 -#Configure LAW for CPC1 -09000cd0 00000000 -09000cd4 fffc0000 -09000cd8 81000011 -#Configure alternate space -09000010 00000000 -09000014 ff000000 -09000018 81000000 -#Configure SPI controller -09110000 80000403 -09110020 2d170008 -09110024 00100008 -09110028 00100008 -0911002c 00100008 -#Flush PBL data -091380c0 000FFFFF
board/nxp/t104xrdb/t104x_pbi_sb.cfg deleted +0 -38
@@ -1,38 +0,0 @@ -#PBI commands -#Software Workaround for errata A-007662 to train PCIe2 controller in Gen2 speed -09250100 00000400 -09250108 00002000 -#Software Workaround for errata A-008007 to reset PVR register -09000010 0000000b -09000014 c0000000 -09000018 81d00017 -89020400 a1000000 -091380c0 000f0000 -89020400 00000000 -#Initialize CPC1 -09010000 00200400 -09138000 00000000 -091380c0 00000100 -#Configure CPC1 as 256KB SRAM -09010100 00000000 -09010104 bffc0007 -09010f00 081e000d -09010000 80000000 -#Configure LAW for CPC1 -09000cd0 00000000 -09000cd4 bffc0000 -09000cd8 81000011 -#Configure alternate space -09000010 00000000 -09000014 bf000000 -09000018 81000000 -#Configure SPI controller -09110000 80000403 -09110020 2d170008 -09110024 00100008 -09110028 00100008 -0911002c 00100008 -#Flush PBL data -091380c0 000FFFFF -090e0200 bffd0000 -091380c0 000FFFFF
board/nxp/t104xrdb/t104xrdb.c deleted +0 -159
159 lines not on this page · raw message
board/nxp/t104xrdb/t104xrdb.h deleted +0 -11
@@ -1,11 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* -* Copyright 2013 Freescale Semiconductor, Inc. -*/ - -#ifndef __T104x_RDB_H__ -#define __T104x_RDB_H__ - -void pci_of_setup (void *blob,struct bd_info *bd); - -#endif
board/nxp/t104xrdb/tlb.c deleted +0 -132
132 lines not on this page · raw message
configs/T1042D4RDB_NAND_defconfig deleted +0 -144
144 lines not on this page · raw message
configs/T1042D4RDB_SDCARD_defconfig deleted +0 -138
138 lines not on this page · raw message
configs/T1042D4RDB_SPIFLASH_defconfig deleted +0 -141
141 lines not on this page · raw message
configs/T1042D4RDB_defconfig deleted +0 -114
114 lines not on this page · raw message
include/configs/T104xRDB.h deleted +0 -397
397 lines not on this page · raw message
Signature · 1 line
2.47.3
PATCH v3 8/26 powerpc: mpc85xx: Remove P3041 support
In reply to Bradley MorganThe P3041DS was the last user in the tree of ARCH_P3041. With that board removed, nothing selects the SoC option now.
Drop its remaining unmaintained CPU, SERDES, FM and errata support.
--- arch/Kconfig.nxp | 3 +- arch/powerpc/cpu/mpc85xx/Kconfig | 45 +------- arch/powerpc/cpu/mpc85xx/Makefile | 2 - arch/powerpc/cpu/mpc85xx/cmd_errata.c | 6 +- arch/powerpc/cpu/mpc85xx/cpu_init.c | 4 +- arch/powerpc/cpu/mpc85xx/p3041_ids.c | 112 ------------------ arch/powerpc/cpu/mpc85xx/p3041_serdes.c | 133 ---------------------- arch/powerpc/cpu/mpc85xx/release.S | 2 +- arch/powerpc/cpu/mpc8xxx/cpu.c | 1 - arch/powerpc/include/asm/config_mpc85xx.h | 10 -- arch/powerpc/include/asm/immap_85xx.h | 3 +- arch/powerpc/include/asm/processor.h | 1 - doc/README.pblimage | 6 +- drivers/net/Kconfig | 1 - drivers/net/fm/Makefile | 3 +- drivers/usb/common/fsl-errata.c | 5 - 16 files changed, 15 insertions(+), 322 deletions(-) delete mode 100644 arch/powerpc/cpu/mpc85xx/p3041_ids.c delete mode 100644 arch/powerpc/cpu/mpc85xx/p3041_serdes.c
arch/Kconfig.nxp +1 -2
@@ -5,8 +5,7 @@ config FSL_TRUST_ARCH_v1 config NXP_ESBC bool "NXP ESBC (secure boot) functionality" - select FSL_TRUST_ARCH_v1 if ARCH_P3041 || ARCH_P4080 || \ - ARCH_P5040 || ARCH_P2041 + select FSL_TRUST_ARCH_v1 if ARCH_P4080 || ARCH_P5040 || ARCH_P2041 help Enable Freescale Secure Boot feature. Normally selected by defconfig. If unsure, do not change.
arch/powerpc/cpu/mpc85xx/Kconfig +3 -42
93 lines not on this page · raw message
arch/powerpc/cpu/mpc85xx/Makefile +0 -2
@@ -37,7 +37,6 @@ obj-$(CONFIG_SYS_DPAA_QBMAN) += portals.o # various SoC specific assignments obj-$(CONFIG_ARCH_P2041) += p2041_ids.o -obj-$(CONFIG_ARCH_P3041) += p3041_ids.o obj-$(CONFIG_ARCH_P4080) += p4080_ids.o obj-$(CONFIG_ARCH_P5040) += p5040_ids.o obj-$(CONFIG_ARCH_T4240) += t4240_ids.o
@@ -66,7 +65,6 @@ obj-$(CONFIG_ARCH_P1024) += p1021_serdes.o obj-$(CONFIG_ARCH_P1025) += p1021_serdes.o obj-$(CONFIG_ARCH_P2020) += p2020_serdes.o obj-$(CONFIG_ARCH_P2041) += p2041_serdes.o -obj-$(CONFIG_ARCH_P3041) += p3041_serdes.o obj-$(CONFIG_ARCH_P4080) += p4080_serdes.o obj-$(CONFIG_ARCH_P5040) += p5040_serdes.o obj-$(CONFIG_ARCH_T4240) += t4240_serdes.o
arch/powerpc/cpu/mpc85xx/cmd_errata.c +3 -3
@@ -25,7 +25,7 @@ static void check_erratum_a4849(uint32_t svr)void __iomem *dcsr = (void *)CFG_SYS_DCSRBAR +0xb0000 ;unsigned int i; -#if defined(CONFIG_ARCH_P2041 ) || defined(CONFIG_ARCH_P3041 ) +#ifdef CONFIG_ARCH_P2041 static const uint8_t offsets[] = {0x50 ,0x54 ,0x58 ,0x90 ,0x94 ,0x98 };
@@ -44,7 +44,7 @@ static void check_erratum_a4849(uint32_t svr) } } -#if defined(CONFIG_ARCH_P2041 ) || defined(CONFIG_ARCH_P3041 ) +#ifdef CONFIG_ARCH_P2041 x108 =0x12 ;#endif
@@ -162,7 +162,7 @@ static int do_errata(struct cmd_tbl *cmdtp, int flag, int argc,#ifdef CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011 /* * NMG_CPU_A011 applies to P4080 rev 1.0, 2.0, fixed in 3.0 -* also applies to P3041 rev 1.0, 1.1, P2041 rev 1.0, 1.1 +* also applies to P2041 rev 1.0, 1.1 * The SVR has been checked by cpu_init_r(). */ if (enable_cpu_a011_workaround)
arch/powerpc/cpu/mpc85xx/cpu_init.c +2 -2
@@ -659,8 +659,8 @@ int cpu_init_r(void)* CPU22 and NMG_CPU_A011 share the same workaround. * CPU22 applies to P4080 rev 1.0, 2.0, fixed in 3.0 * NMG_CPU_A011 applies to P4080 rev 1.0, 2.0, fixed in 3.0 -* also applies to P3041 rev 1.0, 1.1, P2041 rev 1.0, 1.1, both -* fixed in 2.0. NMG_CPU_A011 is activated by default and can +* also applies to P2041 rev 1.0, 1.1, fixed in 2.0. +* NMG_CPU_A011 is activated by default and can * be disabled by hwconfig with syntax: * * fsl_cpu_a011:disable
arch/powerpc/cpu/mpc85xx/p3041_ids.c deleted +0 -112
112 lines not on this page · raw message
arch/powerpc/cpu/mpc85xx/p3041_serdes.c deleted +0 -133
133 lines not on this page · raw message
arch/powerpc/cpu/mpc85xx/release.S +1 -1
@@ -208,7 +208,7 @@ __secondary_start_page: /* * CPU22 applies to P4080 rev 1.0, 2.0, fixed in 3.0 * NMG_CPU_A011 applies to P4080 rev 1.0, 2.0, fixed in 3.0 - * also appleis to P3041 rev 1.0, 1.1, P2041 rev 1.0, 1.1 + * also applies to P2041 rev 1.0, 1.1 */ mfspr r3,SPRN_SVR rlwinm r6,r3,24,~0x800 /* clear E bit */
arch/powerpc/cpu/mpc8xxx/cpu.c +0 -1
@@ -56,7 +56,6 @@ static struct cpu_type cpu_type_list[] = {CPU_TYPE_ENTRY (P2020 ,P2020 ,2 ),CPU_TYPE_ENTRY (P2040 ,P2040 ,4 ),CPU_TYPE_ENTRY (P2041 ,P2041 ,4 ), -CPU_TYPE_ENTRY (P3041 ,P3041 ,4 ),CPU_TYPE_ENTRY (P4040 ,P4040 ,4 ),CPU_TYPE_ENTRY (P4080 ,P4080 ,8 ), CPU_TYPE_ENTRY(P5010, P5010, 1),
arch/powerpc/include/asm/config_mpc85xx.h +0 -10
@@ -44,16 +44,6 @@#define CFG_SYS_FSL_SRIO_IB_WIN_NUM 5#define CFG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000 -#elif defined(CONFIG_ARCH_P3041 ) -#define CFG_SYS_NUM_FMAN 1 -#define CFG_SYS_NUM_FM1_DTSEC 5 -#define CFG_SYS_NUM_FM1_10GEC 1 -#define CFG_SYS_FM_MURAM_SIZE 0x28000 -#define CFG_SYS_FSL_SRIO_MAX_PORTS 2 -#define CFG_SYS_FSL_SRIO_OB_WIN_NUM 9 -#define CFG_SYS_FSL_SRIO_IB_WIN_NUM 5 -#define CFG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000 -#elif defined(CONFIG_ARCH_P4080 )/* also supports P4040 */ #define CFG_SYS_NUM_FMAN 2#define CFG_SYS_NUM_FM1_DTSEC 4
arch/powerpc/include/asm/immap_85xx.h +1 -2
@@ -1522,8 +1522,7 @@ typedef struct ccsr_gur {#define FSL_CORENET_RCWSR11_EC2_FM1_DTSEC2 0x00080000#define FSL_CORENET_RCWSR11_EC2_USB2 0x00100000#endif -#if defined(CONFIG_ARCH_P2041 ) || \ - defined(CONFIG_ARCH_P3041 ) +#if defined(CONFIG_ARCH_P2041 )#define FSL_CORENET_RCWSR11_EC1_FM1_DTSEC4_RGMII 0x00000000#define FSL_CORENET_RCWSR11_EC1_FM1_DTSEC4_MII 0x00800000#define FSL_CORENET_RCWSR11_EC1_FM1_DTSEC4_NONE 0x00c00000
arch/powerpc/include/asm/processor.h +0 -1
@@ -1048,7 +1048,6 @@#define SVR_P2020 0x80E200#define SVR_P2040 0x821000#define SVR_P2041 0x821001 -#define SVR_P3041 0x821103#define SVR_P4040 0x820100#define SVR_P4080 0x820000#define SVR_P5010 0x822100
doc/README.pblimage +3 -3
@@ -14,15 +14,15 @@ Building PBL Boot Image and boot steps 1. Building PBL Boot Image. The default Image is u-boot.pbl. - For eSPI boot(available on P2041/P3041/P4080/P5020/P5040/T4240): + For eSPI boot(available on P2041/P4080/P5020/P5040/T4240): To build the eSPI boot image: make <board_name>_SPIFLASH - For SD boot(available on P2041/P3041/P4080/P5020/P5040/T4240): + For SD boot(available on P2041/P4080/P5020/P5040/T4240): To build the SD boot image: make <board_name>_SDCARD - For Nand boot(available on P2041/P3041/P5020/P5040): + For Nand boot(available on P2041/P5020/P5040): To build the NAND boot image: make <board_name>_NAND
drivers/net/Kconfig +0 -1
@@ -970,7 +970,6 @@ config SYS_DPAA_QBMAN ARCH_T2080 || \ ARCH_T4240 || \ ARCH_P4080 || \ - ARCH_P3041 || \ ARCH_P5040 || \ ARCH_LS1043A || \ ARCH_LS1046A
drivers/net/fm/Makefile +1 -2
@@ -14,9 +14,8 @@ obj-$(CONFIG_SYS_FMAN_V3) += memac.o # SoC specific SERDES support obj-$(CONFIG_ARCH_P1023) += p1023.o -# The P204x, P304x, and P5020 are the same +# The P204x and P5020 are the same obj-$(CONFIG_ARCH_P2041) += p5020.o -obj-$(CONFIG_ARCH_P3041) += p5020.o obj-$(CONFIG_ARCH_P4080) += p4080.o obj-$(CONFIG_ARCH_P5040) += p5040.o obj-$(CONFIG_ARCH_T1040) += t1040.o
drivers/usb/common/fsl-errata.c +0 -5
@@ -54,7 +54,6 @@ bool has_erratum_a005275(void)switch (soc) {#ifdef CONFIG_PPC -case SVR_P3041 :case SVR_P2041 :case SVR_P2040 :return IS_SVR_REV (svr,1 ,0 ) ||IS_SVR_REV (svr,1 ,1 );
@@ -85,10 +84,6 @@ bool has_erratum_a006261(void)return IS_SVR_REV (svr,1 ,0 ) ||IS_SVR_REV (svr,1 ,1 ) ||IS_SVR_REV (svr,2 ,0 ) ||IS_SVR_REV (svr,2 ,1 ); -case SVR_P3041 : -return IS_SVR_REV (svr,1 ,0 ) || -IS_SVR_REV (svr,1 ,1 ) || -IS_SVR_REV (svr,2 ,0 ) ||IS_SVR_REV (svr,2 ,1 );case SVR_P5010 :case SVR_P5020 :case SVR_P5021 :
Signature · 1 line
2.47.3
PATCH v3 9/26 powerpc: mpc85xx: Remove P4080 support
In reply to Bradley MorganThe P4080DS was the last user in the tree of ARCH_P4080. With that board removed, nothing selects the option now.
Drop its unmaintained FM and SERDES support, errata workarounds, and remaining platform hooks.
--- arch/Kconfig.nxp | 2 +- arch/powerpc/cpu/mpc85xx/Kconfig | 73 +-- arch/powerpc/cpu/mpc85xx/Makefile | 2 - arch/powerpc/cpu/mpc85xx/cmd_errata.c | 39 +- arch/powerpc/cpu/mpc85xx/cpu_init.c | 19 +- arch/powerpc/cpu/mpc85xx/fdt.c | 22 - arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c | 600 ------------------ arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.h | 4 - arch/powerpc/cpu/mpc85xx/p4080_ids.c | 112 ---- arch/powerpc/cpu/mpc85xx/p4080_serdes.c | 80 --- arch/powerpc/cpu/mpc85xx/release.S | 23 +- arch/powerpc/cpu/mpc8xxx/cpu.c | 1 - arch/powerpc/include/asm/config_mpc85xx.h | 13 - arch/powerpc/include/asm/fsl_serdes.h | 3 - arch/powerpc/include/asm/immap_85xx.h | 16 - arch/powerpc/include/asm/processor.h | 1 - doc/README.pblimage | 4 +- drivers/ddr/fsl/Kconfig | 1 - drivers/net/Kconfig | 1 - drivers/net/fm/Makefile | 1 - drivers/net/fm/p4080.c | 98 --- drivers/pci/pcie_fsl.c | 23 - drivers/usb/common/fsl-errata.c | 4 - drivers/usb/host/Kconfig | 2 +- 24 files changed, 13 insertions(+), 1131 deletions(-) delete mode 100644 arch/powerpc/cpu/mpc85xx/p4080_ids.c delete mode 100644 arch/powerpc/cpu/mpc85xx/p4080_serdes.c delete mode 100644 drivers/net/fm/p4080.c
arch/Kconfig.nxp +1 -1
@@ -5,7 +5,7 @@ config FSL_TRUST_ARCH_v1 config NXP_ESBC bool "NXP ESBC (secure boot) functionality" - select FSL_TRUST_ARCH_v1 if ARCH_P4080 || ARCH_P5040 || ARCH_P2041 + select FSL_TRUST_ARCH_v1 if ARCH_P5040 || ARCH_P2041 help Enable Freescale Secure Boot feature. Normally selected by defconfig. If unsure, do not change.
arch/powerpc/cpu/mpc85xx/Kconfig +1 -72
139 lines not on this page · raw message
arch/powerpc/cpu/mpc85xx/Makefile +0 -2
@@ -37,7 +37,6 @@ obj-$(CONFIG_SYS_DPAA_QBMAN) += portals.o # various SoC specific assignments obj-$(CONFIG_ARCH_P2041) += p2041_ids.o -obj-$(CONFIG_ARCH_P4080) += p4080_ids.o obj-$(CONFIG_ARCH_P5040) += p5040_ids.o obj-$(CONFIG_ARCH_T4240) += t4240_ids.o obj-$(CONFIG_ARCH_B4420) += b4860_ids.o
@@ -65,7 +64,6 @@ obj-$(CONFIG_ARCH_P1024) += p1021_serdes.o obj-$(CONFIG_ARCH_P1025) += p1021_serdes.o obj-$(CONFIG_ARCH_P2020) += p2020_serdes.o obj-$(CONFIG_ARCH_P2041) += p2041_serdes.o -obj-$(CONFIG_ARCH_P4080) += p4080_serdes.o obj-$(CONFIG_ARCH_P5040) += p5040_serdes.o obj-$(CONFIG_ARCH_T4240) += t4240_serdes.o obj-$(CONFIG_ARCH_B4420) += b4860_serdes.o
arch/powerpc/cpu/mpc85xx/cmd_errata.c +3 -36
@@ -20,7 +20,7 @@* Array offsets[] contains a list of offsets within DCSR. According to the * erratum document, the value at each offset should be 2. */ -static void check_erratum_a4849 (uint32_t svr) +static void check_erratum_a4849 (void ) {void __iomem *dcsr = (void *)CFG_SYS_DCSRBAR +0xb0000 ;unsigned int i;
@@ -29,11 +29,6 @@ static void check_erratum_a4849(uint32_t svr)static const uint8_t offsets[] = {0x50 ,0x54 ,0x58 ,0x90 ,0x94 ,0x98 }; -#endif -#ifdef CONFIG_ARCH_P4080 -static const uint8_t offsets[] = { -0x60 ,0x64 ,0x68 ,0x6c ,0xa0 ,0xa4 ,0xa8 ,0xac - };#endif uint32_t x108;/* The value that should be at offset 0x108 */
@@ -48,17 +43,6 @@ static void check_erratum_a4849(uint32_t svr) x108 =0x12 ;#endif -#ifdef CONFIG_ARCH_P4080 -/* -* For P4080, the erratum document says that the value at offset 0x108 -* should be 0x12 on rev2, or 0x1c on rev3. -*/ -if (SVR_MAJ (svr) ==2 ) - x108 =0x12 ; -if (SVR_MAJ (svr) ==3 ) - x108 =0x1c ; -#endif -if (in_be32 (dcsr +0x108 ) != x108) {printf ("Work-around for Erratum A004849 is not enabled\n" );return ;
@@ -146,23 +130,9 @@ static int do_errata(struct cmd_tbl *cmdtp, int flag, int argc, }#endif -#if defined(CONFIG_SYS_P4080_ERRATUM_SERDES8 ) -puts ("Work-around for Erratum SERDES8 enabled\n" ); -#endif -#if defined(CONFIG_SYS_P4080_ERRATUM_SERDES9 ) -puts ("Work-around for Erratum SERDES9 enabled\n" ); -#endif -#if defined(CONFIG_SYS_P4080_ERRATUM_SERDES_A005 ) -puts ("Work-around for Erratum SERDES-A005 enabled\n" ); -#endif -#if defined(CONFIG_SYS_P4080_ERRATUM_CPU22 ) -if (SVR_MAJ (svr) <3 ) -puts ("Work-around for Erratum CPU22 enabled\n" ); -#endif #ifdef CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011 /* -* NMG_CPU_A011 applies to P4080 rev 1.0, 2.0, fixed in 3.0 -* also applies to P2041 rev 1.0, 1.1 +* NMG_CPU_A011 applies to P2041 rev 1.0, 1.1, fixed in 2.0. * The SVR has been checked by cpu_init_r(). */ if (enable_cpu_a011_workaround)
@@ -258,15 +228,12 @@ static int do_errata(struct cmd_tbl *cmdtp, int flag, int argc,#endif #ifdef CONFIG_SYS_FSL_ERRATUM_A004849 /* This work-around is implemented in PBI, so just check for it */ -check_erratum_a4849 (svr); +check_erratum_a4849 ();#endif #ifdef CONFIG_SYS_FSL_ERRATUM_A004580 /* This work-around is implemented in PBI, so just check for it */ check_erratum_a4580 (svr);#endif -#ifdef CONFIG_SYS_P4080_ERRATUM_PCIE_A003 -puts ("Work-around for Erratum PCIe-A003 enabled\n" ); -#endif #ifdef CONFIG_SYS_FSL_ERRATUM_USB14 puts ("Work-around for Erratum USB14 enabled\n" );#endif
arch/powerpc/cpu/mpc85xx/cpu_init.c +4 -15
@@ -653,22 +653,14 @@ int cpu_init_r(void)#ifdef CONFIG_SYS_FSL_ERRATUM_SEC_A003571 ccsr_sec_t __iomem *sec = (void *)CFG_SYS_FSL_SEC_ADDR ;#endif -#if defined(CONFIG_SYS_P4080_ERRATUM_CPU22 ) || \ - defined(CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011 ) +#ifdef CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011 /* -* CPU22 and NMG_CPU_A011 share the same workaround. -* CPU22 applies to P4080 rev 1.0, 2.0, fixed in 3.0 -* NMG_CPU_A011 applies to P4080 rev 1.0, 2.0, fixed in 3.0 -* also applies to P2041 rev 1.0, 1.1, fixed in 2.0. -* NMG_CPU_A011 is activated by default and can -* be disabled by hwconfig with syntax: +* NMG_CPU_A011 applies to P2041 rev 1.0 and 1.1, fixed in 2.0. +* It is enabled by default and can be disabled with: * * fsl_cpu_a011:disable */ extern int enable_cpu_a011_workaround; -#ifdef CONFIG_SYS_P4080_ERRATUM_CPU22 - enable_cpu_a011_workaround = (SVR_MAJ (svr) <3 ); -#else char buffer[HWCONFIG_BUFFER_SIZE ];char *buf =NULL ;int n, res;
@@ -685,11 +677,8 @@ int cpu_init_r(void)printf ("fsl_cpu_a011 was not found. hwconfig variable " "may be too long\n" ); } - enable_cpu_a011_workaround = - (SVR_SOC_VER (svr) ==SVR_P4080 &&SVR_MAJ (svr) <3 ) || - (SVR_SOC_VER (svr) !=SVR_P4080 &&SVR_MAJ (svr) <2 ); + enable_cpu_a011_workaround =SVR_MAJ (svr) <2 ; } -#endif if (enable_cpu_a011_workaround) {flush_dcache ();mtspr (L1CSR2 , (mfspr (L1CSR2 ) |L1CSR2_DCWS ));
arch/powerpc/cpu/mpc85xx/fdt.c +0 -22
@@ -504,27 +504,6 @@ static void ft_fixup_qe_snum(void *blob) }#endif -#if defined(CONFIG_ARCH_P4080 ) -static void fdt_fixup_usb (void *fdt) -{ -ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR); -u32 rcwsr11 =in_be32 (&gur->rcwsr[11 ]); -int off; - - off =fdt_node_offset_by_compatible (fdt,-1 ,"fsl,mpc85xx-usb2-mph" ); -if ((rcwsr11 &FSL_CORENET_RCWSR11_EC1 ) != -FSL_CORENET_RCWSR11_EC1_FM1_USB1 ) -fdt_status_disabled (fdt, off); - - off =fdt_node_offset_by_compatible (fdt,-1 ,"fsl,mpc85xx-usb2-dr" ); -if ((rcwsr11 &FSL_CORENET_RCWSR11_EC2 ) != -FSL_CORENET_RCWSR11_EC2_USB2 ) -fdt_status_disabled (fdt, off); -} -#else -#define fdt_fixup_usb (x) -#endif -#if defined(CONFIG_ARCH_T2080 ) || defined(CONFIG_ARCH_T4240 )void fdt_fixup_dma3 (void *blob) {
@@ -719,7 +698,6 @@ void ft_cpu_setup(void *blob, struct bd_info *bd)do_fixup_by_compat_u32 (blob,"fsl,p1010-flexcan" ,"clock-frequency" , gd->bus_clk/2 ,1 ); -fdt_fixup_usb (blob);fdt_fixup_l2_switch (blob);
arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c +0 -600
681 lines not on this page · raw message
arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.h +0 -4
@@ -20,8 +20,4 @@ int serdes_get_bank_by_lane(int lane);int serdes_lane_enabled (int lane);enum srds_prtcl serdes_get_prtcl (int cfg,int lane); -#ifdef CONFIG_SYS_P4080_ERRATUM_SERDES8 -extern uint16_t srds_lpd_b[SRDS_MAX_BANK ]; -#endif -#endif /* __FSL_CORENET_SERDES_H */
arch/powerpc/cpu/mpc85xx/p4080_ids.c deleted +0 -112
112 lines not on this page · raw message
arch/powerpc/cpu/mpc85xx/p4080_serdes.c deleted +0 -80
80 lines not on this page · raw message
arch/powerpc/cpu/mpc85xx/release.S +1 -22
@@ -203,32 +203,11 @@ __secondary_start_page: #endif #endif /* CONFIG_SYS_FSL_ERRATUM_A007907 */ -#if defined(CONFIG_SYS_P4080_ERRATUM_CPU22) || \ - defined(CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011) - /* - * CPU22 applies to P4080 rev 1.0, 2.0, fixed in 3.0 - * NMG_CPU_A011 applies to P4080 rev 1.0, 2.0, fixed in 3.0 - * also applies to P2041 rev 1.0, 1.1 - */ - mfspr r3,SPRN_SVR - rlwinm r6,r3,24,~0x800 /* clear E bit */ - - lis r5,SVR_P4080@h - ori r5,r5,SVR_P4080@l - cmpw r6,r5 - bne 1f - - rlwinm r3,r3,0,0xf0 - li r5,0x30 - cmpw r3,r5 - bge 2f -1: -#ifdef CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011 +#ifdef CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011 lis r3,toreset(enable_cpu_a011_workaround)@ha lwz r3,toreset(enable_cpu_a011_workaround)@l(r3) cmpwi r3,0 beq 2f -#endif mfspr r3,L1CSR2 oris r3,r3,(L1CSR2_DCWS)@h mtspr L1CSR2,r3
arch/powerpc/cpu/mpc8xxx/cpu.c +0 -1
@@ -57,7 +57,6 @@ static struct cpu_type cpu_type_list[] = {CPU_TYPE_ENTRY (P2040 ,P2040 ,4 ),CPU_TYPE_ENTRY (P2041 ,P2041 ,4 ),CPU_TYPE_ENTRY (P4040 ,P4040 ,4 ), -CPU_TYPE_ENTRY (P4080 ,P4080 ,8 ),CPU_TYPE_ENTRY (P5010 ,P5010 ,1 ),CPU_TYPE_ENTRY (P5020 ,P5020 ,2 ), CPU_TYPE_ENTRY(P5021, P5021, 2),
arch/powerpc/include/asm/config_mpc85xx.h +0 -13
@@ -44,19 +44,6 @@#define CFG_SYS_FSL_SRIO_IB_WIN_NUM 5#define CFG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000 -#elif defined(CONFIG_ARCH_P4080 )/* also supports P4040 */ -#define CFG_SYS_NUM_FMAN 2 -#define CFG_SYS_NUM_FM1_DTSEC 4 -#define CFG_SYS_NUM_FM2_DTSEC 4 -#define CFG_SYS_NUM_FM1_10GEC 1 -#define CFG_SYS_NUM_FM2_10GEC 1 -#define CFG_SYS_FM_MURAM_SIZE 0x28000 -#define CFG_SYS_FSL_SRIO_MAX_PORTS 2 -#define CFG_SYS_FSL_SRIO_OB_WIN_NUM 9 -#define CFG_SYS_FSL_SRIO_IB_WIN_NUM 5 -#define CFG_SYS_FSL_SRIO_MSG_UNIT_NUM 2 -#define CFG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xff000000 -#elif defined(CONFIG_ARCH_P5040 )#define CFG_SYS_NUM_FMAN 2#define CFG_SYS_NUM_FM1_DTSEC 5
arch/powerpc/include/asm/fsl_serdes.h +0 -3
@@ -118,9 +118,6 @@ enum srds_prtcl serdes_get_prtcl(int serdes, int cfg, int lane);#else int serdes_get_first_lane (enum srds_prtcl device);#endif -#ifdef CONFIG_SYS_P4080_ERRATUM_SERDES9 -void serdes_reset_rx (enum srds_prtcl device); -#endif #endif #endif /* __FSL_SERDES_H */
arch/powerpc/include/asm/immap_85xx.h +0 -16
@@ -1506,22 +1506,12 @@ typedef struct ccsr_gur {#define FSL_CORENET_RCWSR5_SRDS_EN 0x00002000#define FSL_CORENET_RCWSR5_SRDS2_EN 0x00001000#define FSL_CORENET_RCWSR6_BOOT_LOC 0x0f800000 -#define FSL_CORENET_RCWSRn_SRDS_LPD_B2 0x3c000000/* bits 162..165 */ -#define FSL_CORENET_RCWSRn_SRDS_LPD_B3 0x003c0000/* bits 170..173 */ #endif /* CONFIG_SYS_FSL_QORIQ_CHASSIS2 */ #define FSL_CORENET_RCWSR7_MCK_TO_PLAT_RAT 0x00400000#define FSL_CORENET_RCWSR8_HOST_AGT_B1 0x00e00000#define FSL_CORENET_RCWSR8_HOST_AGT_B2 0x00100000#define FSL_CORENET_RCWSR11_EC1 0x00c00000/* bits 360..361 */ -#ifdef CONFIG_ARCH_P4080 -#define FSL_CORENET_RCWSR11_EC1_FM1_DTSEC1 0x00000000 -#define FSL_CORENET_RCWSR11_EC1_FM1_USB1 0x00800000 -#define FSL_CORENET_RCWSR11_EC2 0x001c0000/* bits 363..365 */ -#define FSL_CORENET_RCWSR11_EC2_FM2_DTSEC1 0x00000000 -#define FSL_CORENET_RCWSR11_EC2_FM1_DTSEC2 0x00080000 -#define FSL_CORENET_RCWSR11_EC2_USB2 0x00100000 -#endif #if defined(CONFIG_ARCH_P2041 )#define FSL_CORENET_RCWSR11_EC1_FM1_DTSEC4_RGMII 0x00000000#define FSL_CORENET_RCWSR11_EC1_FM1_DTSEC4_MII 0x00800000
@@ -2313,12 +2303,6 @@ typedef struct serdes_corenet {#define SRDS_TECR0_TEQ_TYPE_2LVL 0x10000000u32 res3;u32 ttlcr0;/* Transition Tracking Loop Ctrl 0 */ -#define SRDS_TTLCR0_FLT_SEL_MASK 0x3f000000 -#define SRDS_TTLCR0_FLT_SEL_KFR_26 0x10000000 -#define SRDS_TTLCR0_FLT_SEL_KPH_28 0x08000000 -#define SRDS_TTLCR0_FLT_SEL_750PPM 0x03000000 -#define SRDS_TTLCR0_PM_DIS 0x00004000 -#define SRDS_TTLCR0_FREQOVD_EN 0x00000001u32 res4[7 ]; } lane[24 ];u32 res6[384 ];
arch/powerpc/include/asm/processor.h +0 -1
@@ -1049,7 +1049,6 @@#define SVR_P2040 0x821000#define SVR_P2041 0x821001#define SVR_P4040 0x820100 -#define SVR_P4080 0x820000#define SVR_P5010 0x822100#define SVR_P5020 0x822000#define SVR_P5021 0x820500
doc/README.pblimage +2 -2
@@ -14,11 +14,11 @@ Building PBL Boot Image and boot steps 1. Building PBL Boot Image. The default Image is u-boot.pbl. - For eSPI boot(available on P2041/P4080/P5020/P5040/T4240): + For eSPI boot(available on P2041/P5020/P5040/T4240): To build the eSPI boot image: make <board_name>_SPIFLASH - For SD boot(available on P2041/P4080/P5020/P5040/T4240): + For SD boot(available on P2041/P5020/P5040/T4240): To build the SD boot image: make <board_name>_SDCARD
drivers/ddr/fsl/Kconfig +0 -1
@@ -52,7 +52,6 @@ config SYS_NUM_DDR_CTLRS ARCH_T4240 default 2 if ARCH_B4860 || \ ARCH_BSC9132 || \ - ARCH_P4080 || \ ARCH_P5040 || \ ARCH_LX2160A || \ ARCH_LX2162A
drivers/net/Kconfig +0 -1
@@ -969,7 +969,6 @@ config SYS_DPAA_QBMAN ARCH_T1042 || \ ARCH_T2080 || \ ARCH_T4240 || \ - ARCH_P4080 || \ ARCH_P5040 || \ ARCH_LS1043A || \ ARCH_LS1046A
drivers/net/fm/Makefile +0 -1
@@ -16,7 +16,6 @@ obj-$(CONFIG_SYS_FMAN_V3) += memac.o obj-$(CONFIG_ARCH_P1023) += p1023.o # The P204x and P5020 are the same obj-$(CONFIG_ARCH_P2041) += p5020.o -obj-$(CONFIG_ARCH_P4080) += p4080.o obj-$(CONFIG_ARCH_P5040) += p5040.o obj-$(CONFIG_ARCH_T1040) += t1040.o obj-$(CONFIG_ARCH_T1042) += t1040.o
drivers/net/fm/p4080.c deleted +0 -98
98 lines not on this page · raw message
drivers/pci/pcie_fsl.c +0 -23
@@ -12,7 +12,6 @@#include <mapmem.h> #include <pci.h> #include <asm/fsl_pci.h> -#include <asm/fsl_serdes.h> #include <asm/global_data.h> #include <asm/io.h> #include <linux/delay.h>
@@ -474,28 +473,6 @@ static int fsl_pcie_init_port(struct fsl_pcie *pcie) }#endif -#ifdef CONFIG_SYS_P4080_ERRATUM_PCIE_A003 -if (!fsl_pcie_link_up (pcie)) { -serdes_corenet_t *srds_regs; - - srds_regs = (void *)CFG_SYS_FSL_CORENET_SERDES_ADDR ; - val_32 =in_be32 (&srds_regs->srdspccr0); - -if ((val_32 >>28 ) ==3 ) { -int i; - -out_be32 (&srds_regs->srdspccr0,2 <<28 ); -setbits_be32 (®s->pdb_stat,0x08000000 ); -in_be32 (®s->pdb_stat); -udelay (100 ); -clrbits_be32 (®s->pdb_stat,0x08000000 ); - asm("sync;isync" ); -for (i =0 ; i <100 && !fsl_pcie_link_up (pcie); i++) -udelay (1000 ); - } - } -#endif -/* * The Read-Only Write Enable bit defaults to 1 instead of 0. * Set to 0 to protect the read-only registers.
drivers/usb/common/fsl-errata.c +0 -4
@@ -111,8 +111,6 @@ bool has_erratum_a007075(void)return IS_SVR_REV (svr,1 ,0 ) ||IS_SVR_REV (svr,2 ,0 );case SVR_P1010 :return IS_SVR_REV (svr,1 ,0 ); -case SVR_P4080 : -return IS_SVR_REV (svr,2 ,0 ) ||IS_SVR_REV (svr,3 ,0 );#endif }return false;
@@ -191,8 +189,6 @@ bool has_erratum_a004477(void)case SVR_B4860 :case SVR_B4420 :return IS_SVR_REV (svr,1 ,0 ) ||IS_SVR_REV (svr,2 ,0 ); -case SVR_P4080 : -return IS_SVR_REV (svr,2 ,0 ) ||IS_SVR_REV (svr,3 ,0 );#endif }
drivers/usb/host/Kconfig +1 -1
@@ -309,7 +309,7 @@ config USB_EHCI_FSL depends on PPC select EHCI_HCD_INIT_AFTER_RESET select SYS_FSL_USB_INTERNAL_UTMI_PHY if MPC85xx && \ - !(ARCH_B4860 || ARCH_B4420 || ARCH_P4080 || ARCH_P1020 || ARCH_P2020) + !(ARCH_B4860 || ARCH_B4420 || ARCH_P1020 || ARCH_P2020) help Enables support for the on-chip EHCI controller on FSL chips.
Signature · 1 line
2.47.3
PATCH v3 10/26 powerpc: mpc85xx: Remove P5040 support
In reply to Bradley MorganThe P5040DS was the last user in the tree of ARCH_P5040. With that board removed, nothing selects the option now.
Drop its unmaintained SoC specific FM, SERDES and errata support.
--- arch/Kconfig.nxp | 2 +- arch/powerpc/cpu/mpc85xx/Kconfig | 42 +------ arch/powerpc/cpu/mpc85xx/Makefile | 2 - arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c | 65 ---------- arch/powerpc/cpu/mpc85xx/p5040_ids.c | 111 ------------------ arch/powerpc/cpu/mpc85xx/p5040_serdes.c | 99 ---------------- arch/powerpc/cpu/mpc8xxx/cpu.c | 1 - arch/powerpc/include/asm/config_mpc85xx.h | 9 -- arch/powerpc/include/asm/immap_85xx.h | 12 -- arch/powerpc/include/asm/processor.h | 1 - doc/README.pblimage | 6 +- drivers/ddr/fsl/Kconfig | 1 - drivers/net/Kconfig | 1 - drivers/net/fm/Makefile | 1 - drivers/net/fm/p5040.c | 106 ----------------- drivers/usb/common/fsl-errata.c | 4 - 16 files changed, 6 insertions(+), 457 deletions(-) delete mode 100644 arch/powerpc/cpu/mpc85xx/p5040_ids.c delete mode 100644 arch/powerpc/cpu/mpc85xx/p5040_serdes.c delete mode 100644 drivers/net/fm/p5040.c
arch/Kconfig.nxp +1 -1
@@ -5,7 +5,7 @@ config FSL_TRUST_ARCH_v1 config NXP_ESBC bool "NXP ESBC (secure boot) functionality" - select FSL_TRUST_ARCH_v1 if ARCH_P5040 || ARCH_P2041 + select FSL_TRUST_ARCH_v1 if ARCH_P2041 help Enable Freescale Secure Boot feature. Normally selected by defconfig. If unsure, do not change.
arch/powerpc/cpu/mpc85xx/Kconfig +2 -40
84 lines not on this page · raw message
arch/powerpc/cpu/mpc85xx/Makefile +0 -2
@@ -37,7 +37,6 @@ obj-$(CONFIG_SYS_DPAA_QBMAN) += portals.o # various SoC specific assignments obj-$(CONFIG_ARCH_P2041) += p2041_ids.o -obj-$(CONFIG_ARCH_P5040) += p5040_ids.o obj-$(CONFIG_ARCH_T4240) += t4240_ids.o obj-$(CONFIG_ARCH_B4420) += b4860_ids.o obj-$(CONFIG_ARCH_B4860) += b4860_ids.o
@@ -64,7 +63,6 @@ obj-$(CONFIG_ARCH_P1024) += p1021_serdes.o obj-$(CONFIG_ARCH_P1025) += p1021_serdes.o obj-$(CONFIG_ARCH_P2020) += p2020_serdes.o obj-$(CONFIG_ARCH_P2041) += p2041_serdes.o -obj-$(CONFIG_ARCH_P5040) += p5040_serdes.o obj-$(CONFIG_ARCH_T4240) += t4240_serdes.o obj-$(CONFIG_ARCH_B4420) += b4860_serdes.o obj-$(CONFIG_ARCH_B4860) += b4860_serdes.o
arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c +0 -65
83 lines not on this page · raw message
arch/powerpc/cpu/mpc85xx/p5040_ids.c deleted +0 -111
111 lines not on this page · raw message
arch/powerpc/cpu/mpc85xx/p5040_serdes.c deleted +0 -99
99 lines not on this page · raw message
arch/powerpc/cpu/mpc8xxx/cpu.c +0 -1
@@ -60,7 +60,6 @@ static struct cpu_type cpu_type_list[] = {CPU_TYPE_ENTRY (P5010 ,P5010 ,1 ),CPU_TYPE_ENTRY (P5020 ,P5020 ,2 ),CPU_TYPE_ENTRY (P5021 ,P5021 ,2 ), -CPU_TYPE_ENTRY (P5040 ,P5040 ,4 ),CPU_TYPE_ENTRY (T4240 ,T4240 ,0 ),CPU_TYPE_ENTRY (T4120 ,T4120 ,0 ), CPU_TYPE_ENTRY(T4160, T4160, 0),
arch/powerpc/include/asm/config_mpc85xx.h +0 -9
@@ -44,15 +44,6 @@#define CFG_SYS_FSL_SRIO_IB_WIN_NUM 5#define CFG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000 -#elif defined(CONFIG_ARCH_P5040 ) -#define CFG_SYS_NUM_FMAN 2 -#define CFG_SYS_NUM_FM1_DTSEC 5 -#define CFG_SYS_NUM_FM1_10GEC 1 -#define CFG_SYS_NUM_FM2_DTSEC 5 -#define CFG_SYS_NUM_FM2_10GEC 1 -#define CFG_SYS_FM_MURAM_SIZE 0x28000 -#define CFG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000 -#elif defined(CONFIG_ARCH_T4240 )#ifdef CONFIG_ARCH_T4240 #define CFG_SYS_FSL_CLUSTER_CLOCKS { 1, 1, 4 }
arch/powerpc/include/asm/immap_85xx.h +0 -12
@@ -1521,15 +1521,6 @@ typedef struct ccsr_gur {#define FSL_CORENET_RCWSR11_EC2_FM1_DTSEC5_MII 0x00100000#define FSL_CORENET_RCWSR11_EC2_FM1_DTSEC5_NONE 0x00180000#endif -#if defined(CONFIG_ARCH_P5040 ) -#define FSL_CORENET_RCWSR11_EC1_FM1_DTSEC5_RGMII 0x00000000 -#define FSL_CORENET_RCWSR11_EC1_FM1_DTSEC5_MII 0x00800000 -#define FSL_CORENET_RCWSR11_EC1_FM1_DTSEC5_NONE 0x00c00000 -#define FSL_CORENET_RCWSR11_EC2 0x00180000/* bits 363..364 */ -#define FSL_CORENET_RCWSR11_EC2_FM2_DTSEC5_RGMII 0x00000000 -#define FSL_CORENET_RCWSR11_EC2_FM2_DTSEC5_MII 0x00100000 -#define FSL_CORENET_RCWSR11_EC2_FM2_DTSEC5_NONE 0x00180000 -#endif #if defined(CONFIG_ARCH_T4240 )#define FSL_CORENET_RCWSR13_EC1 0x60000000/* bits 417..418 */ #define FSL_CORENET_RCWSR13_EC1_FM2_DTSEC5_RGMII 0x00000000
@@ -2433,7 +2424,6 @@ struct ccsr_pman {#define CFG_SYS_SFP_OFFSET 0xE8000#endif #define CFG_SYS_FSL_CORENET_SERDES_OFFSET 0xEA000 -#define CFG_SYS_FSL_CORENET_SERDES2_OFFSET 0xEB000#define CFG_SYS_FSL_CORENET_SERDES3_OFFSET 0xEC000#define CFG_SYS_FSL_CORENET_SERDES4_OFFSET 0xED000#define CFG_SYS_FSL_CPC_OFFSET 0x10000
@@ -2608,8 +2598,6 @@ struct ccsr_pman { (CONFIG_SYS_IMMR + CFG_SYS_MPC85xx_SERDES2_OFFSET)#define CFG_SYS_FSL_CORENET_SERDES_ADDR \ (CONFIG_SYS_IMMR + CFG_SYS_FSL_CORENET_SERDES_OFFSET) -#define CFG_SYS_FSL_CORENET_SERDES2_ADDR \ - (CONFIG_SYS_IMMR + CFG_SYS_FSL_CORENET_SERDES2_OFFSET)#define CFG_SYS_FSL_CORENET_SERDES3_ADDR \ (CONFIG_SYS_IMMR + CFG_SYS_FSL_CORENET_SERDES3_OFFSET)#define CFG_SYS_FSL_CORENET_SERDES4_ADDR \
arch/powerpc/include/asm/processor.h +0 -1
@@ -1052,7 +1052,6 @@#define SVR_P5010 0x822100#define SVR_P5020 0x822000#define SVR_P5021 0x820500 -#define SVR_P5040 0x820400#define SVR_T4240 0x824000#define SVR_T4120 0x824001#define SVR_T4160 0x824100
doc/README.pblimage +3 -3
@@ -14,15 +14,15 @@ Building PBL Boot Image and boot steps 1. Building PBL Boot Image. The default Image is u-boot.pbl. - For eSPI boot(available on P2041/P5020/P5040/T4240): + For eSPI boot(available on P2041/P5020/T4240): To build the eSPI boot image: make <board_name>_SPIFLASH - For SD boot(available on P2041/P5020/P5040/T4240): + For SD boot(available on P2041/P5020/T4240): To build the SD boot image: make <board_name>_SDCARD - For Nand boot(available on P2041/P5020/P5040): + For Nand boot(available on P2041/P5020): To build the NAND boot image: make <board_name>_NAND
drivers/ddr/fsl/Kconfig +0 -1
@@ -52,7 +52,6 @@ config SYS_NUM_DDR_CTLRS ARCH_T4240 default 2 if ARCH_B4860 || \ ARCH_BSC9132 || \ - ARCH_P5040 || \ ARCH_LX2160A || \ ARCH_LX2162A default 1
drivers/net/Kconfig +0 -1
@@ -969,7 +969,6 @@ config SYS_DPAA_QBMAN ARCH_T1042 || \ ARCH_T2080 || \ ARCH_T4240 || \ - ARCH_P5040 || \ ARCH_LS1043A || \ ARCH_LS1046A help
drivers/net/fm/Makefile +0 -1
@@ -16,7 +16,6 @@ obj-$(CONFIG_SYS_FMAN_V3) += memac.o obj-$(CONFIG_ARCH_P1023) += p1023.o # The P204x and P5020 are the same obj-$(CONFIG_ARCH_P2041) += p5020.o -obj-$(CONFIG_ARCH_P5040) += p5040.o obj-$(CONFIG_ARCH_T1040) += t1040.o obj-$(CONFIG_ARCH_T1042) += t1040.o obj-$(CONFIG_ARCH_T1024) += t1024.o
drivers/net/fm/p5040.c deleted +0 -106
106 lines not on this page · raw message
drivers/usb/common/fsl-errata.c +0 -4
@@ -61,7 +61,6 @@ bool has_erratum_a005275(void)case SVR_P5020 :case SVR_P5021 :return IS_SVR_REV (svr,1 ,0 ) ||IS_SVR_REV (svr,2 ,0 ); -case SVR_P5040 :case SVR_P1010 :return IS_SVR_REV (svr,1 ,0 );#endif
@@ -90,9 +89,6 @@ bool has_erratum_a006261(void)return IS_SVR_REV (svr,1 ,0 ) ||IS_SVR_REV (svr,2 ,0 );case SVR_T4240 :return IS_SVR_REV (svr,1 ,0 ) ||IS_SVR_REV (svr,2 ,0 ); -case SVR_P5040 : -return IS_SVR_REV (svr,1 ,0 ) || -IS_SVR_REV (svr,2 ,0 ) ||IS_SVR_REV (svr,2 ,1 );#endif }
Signature · 1 line
2.47.3
PATCH v3 11/26 powerpc: mpc83xx: Remove MPC837x support
In reply to Bradley MorganMPC837XERDB was the last user in the tree of ARCH_MPC837X. With that board removed, nothing selects the SoC option now.
Drop its unmaintained clock, CPU, reset and peripheral support.
--- arch/powerpc/cpu/mpc83xx/Kconfig | 20 --- arch/powerpc/cpu/mpc83xx/cpu.c | 3 - arch/powerpc/cpu/mpc83xx/hid/Kconfig | 4 +- arch/powerpc/cpu/mpc83xx/hrcw/Kconfig | 52 ++++---- arch/powerpc/cpu/mpc83xx/initreg/Kconfig.spcr | 2 +- arch/powerpc/cpu/mpc83xx/speed.c | 57 ++------- arch/powerpc/include/asm/arch-mpc83xx/gpio.h | 2 +- arch/powerpc/include/asm/arch-mpc83xx/soc.h | 16 +-- arch/powerpc/include/asm/global_data.h | 8 +- arch/powerpc/include/asm/immap_83xx.h | 45 ------- arch/powerpc/include/asm/mpc8xxx_spi.h | 3 +- doc/README.sata | 68 ---------- .../clock/fsl,mpc83xx-clk.txt | 3 +- doc/device-tree-bindings/cpu/fsl,mpc83xx.txt | 3 +- drivers/clk/mpc83xx_clk.c | 1 - drivers/clk/mpc83xx_clk.h | 11 +- drivers/cpu/mpc83xx_cpu.c | 13 -- drivers/cpu/mpc83xx_cpu.h | 11 -- drivers/ram/mpc83xx_sdram.c | 12 +- include/mpc83xx.h | 120 +----------------- 20 files changed, 58 insertions(+), 396 deletions(-) delete mode 100644 doc/README.sata
arch/powerpc/cpu/mpc83xx/Kconfig +0 -20
@@ -103,15 +103,9 @@ config MPC83XX_TSEC2_SUPPORT config MPC83XX_PCIE1_SUPPORT bool -config MPC83XX_PCIE2_SUPPORT - bool - config MPC83XX_SDHC_SUPPORT bool -config MPC83XX_SATA - bool - config MPC83XX_SECOND_I2C bool
@@ -162,20 +156,6 @@ config ARCH_MPC8360 select MPC83XX_SECOND_I2C select SYS_CACHE_SHIFT_5 -config ARCH_MPC837X - bool - select MPC83XX_PCI_SUPPORT - select MPC83XX_TSEC1_SUPPORT - select MPC83XX_TSEC2_SUPPORT - select MPC83XX_PCIE1_SUPPORT - select MPC83XX_PCIE2_SUPPORT - select MPC83XX_SDHC_SUPPORT - select MPC83XX_SATA - select MPC83XX_LDP_PIN - select MPC83XX_SECOND_I2C - select SYS_CACHE_SHIFT_5 - select FSL_ELBC - source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig" source "arch/powerpc/cpu/mpc83xx/bats/Kconfig" source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig"
arch/powerpc/cpu/mpc83xx/cpu.c +0 -3
@@ -61,9 +61,6 @@ int checkcpu(void) CPU_TYPE_ENTRY(8358_TBGA_), CPU_TYPE_ENTRY(8358_PBGA_),CPU_TYPE_ENTRY (8360 ), -CPU_TYPE_ENTRY (8377 ), -CPU_TYPE_ENTRY (8378 ), -CPU_TYPE_ENTRY (8379 ), }; immr = (immap_t *)CONFIG_SYS_IMMR ;
arch/powerpc/cpu/mpc83xx/hid/Kconfig +2 -2
@@ -434,7 +434,7 @@ config HID2_IWLCK_1 config HID2_IWLCK_2 bool "Way 0 through 2 locked" -if ARCH_MPC8360 || ARCH_MPC837X +if ARCH_MPC8360 config HID2_IWLCK_3 bool "Way 0 through 3 locked"
@@ -470,7 +470,7 @@ config HID2_DWLCK_1 config HID2_DWLCK_2 bool "Way 0 through 2 locked" -if ARCH_MPC8360 || ARCH_MPC837X +if ARCH_MPC8360 config HID2_DWLCK_3 bool "Way 0 through 3 locked"
arch/powerpc/cpu/mpc83xx/hrcw/Kconfig +23 -29
148 lines not on this page · raw message
arch/powerpc/cpu/mpc83xx/initreg/Kconfig.spcr +1 -1
@@ -14,7 +14,7 @@ config SPCR_OPT_SPEC_READ endchoice -if ARCH_MPC8308 || ARCH_MPC831X || ARCH_MPC837X +if ARCH_MPC8308 || ARCH_MPC831X choice prompt "TSEC emergency priority"
arch/powerpc/cpu/mpc83xx/speed.c +10 -47
137 lines not on this page · raw message
arch/powerpc/include/asm/arch-mpc83xx/gpio.h +1 -1
@@ -8,7 +8,7 @@*/ #if defined(CONFIG_ARCH_MPC8313 ) || defined(CONFIG_ARCH_MPC8308 )#define MPC83XX_GPIO_CTRLRS 1 -#elif defined(CONFIG_ARCH_MPC834X ) || defined(CONFIG_ARCH_MPC837X ) +#elif defined(CONFIG_ARCH_MPC834X )#define MPC83XX_GPIO_CTRLRS 2#else #define MPC83XX_GPIO_CTRLRS 0
arch/powerpc/include/asm/arch-mpc83xx/soc.h +5 -11
@@ -15,14 +15,12 @@ enum soc_type {SOC_MPC832X ,SOC_MPC8349 , SOC_MPC8360, - SOC_MPC8379, };static inline bool mpc83xx_has_sdhc (int type) {return (type ==SOC_MPC8308 ) || - (type ==SOC_MPC8309 ) || - (type ==SOC_MPC8379 ); + (type ==SOC_MPC8309 ); }static inline bool mpc83xx_has_tsec (int type)
@@ -30,27 +28,23 @@ static inline bool mpc83xx_has_tsec(int type)return (type ==SOC_MPC8308 ) || (type ==SOC_MPC8313 ) || (type ==SOC_MPC8315 ) || - (type ==SOC_MPC8349 ) || - (type ==SOC_MPC8379 ); + (type ==SOC_MPC8349 ); }static inline bool mpc83xx_has_pcie1 (int type) {return (type ==SOC_MPC8308 ) || - (type ==SOC_MPC8315 ) || - (type ==SOC_MPC8379 ); + (type ==SOC_MPC8315 ); }static inline bool mpc83xx_has_pcie2 (int type) { -return (type ==SOC_MPC8315 ) || - (type ==SOC_MPC8379 ); +return type ==SOC_MPC8315 ; }static inline bool mpc83xx_has_sata (int type) { -return (type ==SOC_MPC8315 ) || - (type ==SOC_MPC8379 ); +return type ==SOC_MPC8315 ; }static inline bool mpc83xx_has_pci (int type)
arch/powerpc/include/asm/global_data.h +2 -6
@@ -27,7 +27,7 @@ struct arch_global_data {/* There are other clocks in the MPC83XX */ u32 csb_clk;# if defined(CONFIG_ARCH_MPC8308 ) || defined(CONFIG_ARCH_MPC831X ) || \ - defined(CONFIG_ARCH_MPC834X ) || defined(CONFIG_ARCH_MPC837X ) + defined(CONFIG_ARCH_MPC834X )u32 tsec1_clk;u32 tsec2_clk;u32 usbdr_clk;
@@ -39,14 +39,10 @@ struct arch_global_data {u32 enc_clk;u32 lbiu_clk;u32 lclk_clk; -# if defined(CONFIG_ARCH_MPC8308 ) || defined(CONFIG_ARCH_MPC831X ) || \ - defined(CONFIG_ARCH_MPC837X ) +# if defined(CONFIG_ARCH_MPC8308 ) || defined(CONFIG_ARCH_MPC831X )u32 pciexp1_clk;u32 pciexp2_clk;# endif -# if defined(CONFIG_ARCH_MPC837X ) -u32 sata_clk; -# endif # if defined(CONFIG_ARCH_MPC8360 )u32 mem_sec_clk;# endif /* CONFIG_ARCH_MPC8360 */
arch/powerpc/include/asm/immap_83xx.h +0 -45
51 lines not on this page · raw message
arch/powerpc/include/asm/mpc8xxx_spi.h +1 -2
@@ -13,8 +13,7 @@ #if defined(CONFIG_ARCH_MPC8308) || \ defined(CONFIG_ARCH_MPC8313) || \ defined(CONFIG_ARCH_MPC832X) || \ - defined(CONFIG_ARCH_MPC834X) || \ - defined(CONFIG_ARCH_MPC837X) + defined(CONFIG_ARCH_MPC834X) typedef struct spi8xxx { u8 res0[0x20]; /* 0x0-0x01f reserved */
doc/README.sata deleted +0 -68
68 lines not on this page · raw message
doc/device-tree-bindings/clock/fsl,mpc83xx-clk.txt +1 -2
@@ -10,8 +10,7 @@ Required properties: "fsl,mpc8315-clk", "fsl,mpc832x-clk", "fsl,mpc8349-clk", - "fsl,mpc8360-clk", - "fsl,mpc8379-clk" + "fsl,mpc8360-clk" depending on which SoC is employed - #clock-cells: Must be 1
doc/device-tree-bindings/cpu/fsl,mpc83xx.txt +1 -2
@@ -10,8 +10,7 @@ Required properties: "fsl,mpc8315", "fsl,mpc832x", "fsl,mpc8349", - "fsl,mpc8360", - "fsl,mpc8379" + "fsl,mpc8360" - clocks: has to have two entries, which must be the core clock at index 0 and the CSB (Coherent System Bus) clock at index 1. Both are given by a suitable "fsl,mpc83xx-clk" device
drivers/clk/mpc83xx_clk.c +0 -1
@@ -326,7 +326,6 @@ static const struct udevice_id mpc83xx_clk_match[] = { { .compatible = "fsl,mpc832x-clk", .data = SOC_MPC832X }, { .compatible = "fsl,mpc8349-clk", .data = SOC_MPC8349 }, { .compatible = "fsl,mpc8360-clk", .data = SOC_MPC8360 }, - { .compatible = "fsl,mpc8379-clk", .data = SOC_MPC8379 }, {/* sentinel */ } };
drivers/clk/mpc83xx_clk.h +2 -9
@@ -244,15 +244,8 @@ static int retrieve_mode(int clk, int soc_type, struct clk_mode *mode)break ;case MPC83XX_CLK_SATA :/* FIXME([email protected]): All SATA controllers must have the same clock ratio */ -if (soc_type ==SOC_MPC8379 ) { -set_mode (mode,24 ,25 ,TYPE_SCCR_STANDARD ); -set_mode (mode,26 ,27 ,TYPE_SCCR_STANDARD ); -set_mode (mode,28 ,29 ,TYPE_SCCR_STANDARD ); -set_mode (mode,30 ,31 ,TYPE_SCCR_STANDARD ); - }else { -set_mode (mode,18 ,19 ,TYPE_SCCR_STANDARD ); -set_mode (mode,20 ,21 ,TYPE_SCCR_STANDARD ); - } +set_mode (mode,18 ,19 ,TYPE_SCCR_STANDARD ); +set_mode (mode,20 ,21 ,TYPE_SCCR_STANDARD );break ;case MPC83XX_CLK_TDM :set_mode (mode,26 ,27 ,TYPE_SCCR_STANDARD );
drivers/cpu/mpc83xx_cpu.c +0 -13
@@ -82,9 +82,6 @@ static inline void determine_family(const struct udevice *dev)case 0x804 : priv->family =FAMILY_836X ;break ; -case 0x80C : - priv->family =FAMILY_837X ; -break ;default : priv->family =FAMILY_UNKNOWN ; }
@@ -150,15 +147,6 @@ static inline void determine_type(const struct udevice *dev)case 0x8048 : priv->type =TYPE_8360 ;break ; -case 0x80C6 : - priv->type =TYPE_8377 ; -break ; -case 0x80C4 : - priv->type =TYPE_8378 ; -break ; -case 0x80C2 : - priv->type =TYPE_8379 ; -break ;default : priv->type =TYPE_UNKNOWN ; }
@@ -338,7 +326,6 @@ static const struct udevice_id mpc83xx_cpu_ids[] = { { .compatible = "fsl,mpc832x", }, { .compatible = "fsl,mpc8349", }, { .compatible = "fsl,mpc8360", }, - { .compatible = "fsl,mpc8379", }, { /* sentinel */ } };
drivers/cpu/mpc83xx_cpu.h +0 -11
@@ -39,7 +39,6 @@ static const char * const e300_names[] = {* @FAMILY_832X: Identifier for the MPC832x CPU family * @FAMILY_834X: Identifier for the MPC834x CPU family * @FAMILY_836X: Identifier for the MPC836x CPU family -* @FAMILY_837X: Identifier for the MPC837x CPU family * @FAMILY_UNKNOWN: Identifier for an unknown MPC83xx CPU family */ enum mpc83xx_cpu_family {
@@ -48,7 +47,6 @@ enum mpc83xx_cpu_family {FAMILY_832X ,FAMILY_834X ,FAMILY_836X , -FAMILY_837X , FAMILY_UNKNOWN, };
@@ -73,9 +71,6 @@ enum mpc83xx_cpu_family {* @TYPE_8358_PBGA: Identifier for the MPC8358 CPU type (Plastic Ball Grid Array * version) * @TYPE_8360: Identifier for the MPC8360 CPU type -* @TYPE_8377: Identifier for the MPC8377 CPU type -* @TYPE_8378: Identifier for the MPC8378 CPU type -* @TYPE_8379: Identifier for the MPC8379 CPU type * @TYPE_UNKNOWN: Identifier for an unknown MPC83xx CPU type */ enum mpc83xx_cpu_type {
@@ -94,9 +89,6 @@ enum mpc83xx_cpu_type {TYPE_8358_TBGA ,TYPE_8358_PBGA ,TYPE_8360 , -TYPE_8377 , -TYPE_8378 , -TYPE_8379 , TYPE_UNKNOWN, };
@@ -117,9 +109,6 @@ static const char * const cpu_type_names[] = { [TYPE_8358_TBGA] = "8358_TBGA", [TYPE_8358_PBGA] = "8358_PBGA", [TYPE_8360] = "8360", - [TYPE_8377] = "8377", - [TYPE_8378] = "8378", - [TYPE_8379] = "8379", [TYPE_UNKNOWN] = "Unknown CPU", };
drivers/ram/mpc83xx_sdram.c +4 -8
@@ -167,8 +167,7 @@ static int mpc83xx_sdram_static_init(ofnode node, u32 cs, u32 mapaddr, u32 size) odt_rd_cfg =ofnode_read_u32_default (node,"odt_rd_cfg" ,0 );switch (odt_rd_cfg) {case ODT_RD_ONLY_OTHER_DIMM : -if (!IS_ENABLED (CONFIG_ARCH_MPC8360 ) && - !IS_ENABLED (CONFIG_ARCH_MPC837X )) { +if (!IS_ENABLED (CONFIG_ARCH_MPC8360 )) {debug ("%s: odt_rd_cfg value %d invalid.\n" ,ofnode_get_name (node), odt_rd_cfg);return -EINVAL ;
@@ -179,8 +178,7 @@ static int mpc83xx_sdram_static_init(ofnode node, u32 cs, u32 mapaddr, u32 size)case ODT_RD_ONLY_OTHER_CS :if (!IS_ENABLED (CONFIG_ARCH_MPC830X ) && !IS_ENABLED (CONFIG_ARCH_MPC831X ) && - !IS_ENABLED (CONFIG_ARCH_MPC8360 ) && - !IS_ENABLED (CONFIG_ARCH_MPC837X )) { + !IS_ENABLED (CONFIG_ARCH_MPC8360 )) {debug ("%s: odt_rd_cfg value %d invalid.\n" ,ofnode_get_name (node), odt_rd_cfg);return -EINVAL ;
@@ -198,8 +196,7 @@ static int mpc83xx_sdram_static_init(ofnode node, u32 cs, u32 mapaddr, u32 size) odt_wr_cfg =ofnode_read_u32_default (node,"odt_wr_cfg" ,0 );switch (odt_wr_cfg) {case ODT_WR_ONLY_OTHER_DIMM : -if (!IS_ENABLED (CONFIG_ARCH_MPC8360 ) && - !IS_ENABLED (CONFIG_ARCH_MPC837X )) { +if (!IS_ENABLED (CONFIG_ARCH_MPC8360 )) {debug ("%s: odt_wr_cfg value %d invalid.\n" ,ofnode_get_name (node), odt_wr_cfg);return -EINVAL ;
@@ -210,8 +207,7 @@ static int mpc83xx_sdram_static_init(ofnode node, u32 cs, u32 mapaddr, u32 size)case ODT_WR_ONLY_OTHER_CS :if (!IS_ENABLED (CONFIG_ARCH_MPC830X ) && !IS_ENABLED (CONFIG_ARCH_MPC831X ) && - !IS_ENABLED (CONFIG_ARCH_MPC8360 ) && - !IS_ENABLED (CONFIG_ARCH_MPC837X )) { + !IS_ENABLED (CONFIG_ARCH_MPC8360 )) {debug ("%s: odt_wr_cfg value %d invalid.\n" ,ofnode_get_name (node), odt_wr_cfg);return -EINVAL ;
include/mpc83xx.h +5 -115
172 lines not on this page · raw message
Signature · 1 line
2.47.3
PATCH v3 12/26 powerpc: mpc85xx: Remove C29x support
In reply to Bradley MorganNo board in the tree selects ARCH_C29X, and the family lacks active community maintenance. Remove the unused platform support and its C29x specific crypto, clocking and SERDES setup.
--- arch/Kconfig.nxp | 4 +- arch/powerpc/cpu/mpc85xx/Kconfig | 22 +------ arch/powerpc/cpu/mpc85xx/Makefile | 1 - arch/powerpc/cpu/mpc85xx/c29x_serdes.c | 70 ----------------------- arch/powerpc/cpu/mpc85xx/cpu_init.c | 11 ---- arch/powerpc/cpu/mpc8xxx/cpu.c | 3 - arch/powerpc/include/asm/config_mpc85xx.h | 3 - arch/powerpc/include/asm/immap_85xx.h | 22 ------- arch/powerpc/include/asm/processor.h | 3 - drivers/crypto/fsl/jr.c | 14 +---- drivers/mmc/Kconfig | 3 +- include/fsl_sec.h | 3 - 12 files changed, 7 insertions(+), 152 deletions(-) delete mode 100644 arch/powerpc/cpu/mpc85xx/c29x_serdes.c
arch/Kconfig.nxp +2 -2
@@ -286,14 +286,14 @@ config SYS_FSL_IFC_BANK_COUNT depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A || \ ARCH_LS1088A || ARCH_LS1021A || ARCH_B4860 || ARCH_B4420 || \ ARCH_T4240 || ARCH_T1040 || ARCH_T1042 || ARCH_T1024 || \ - ARCH_T2080 || ARCH_C29X || ARCH_P1010 || ARCH_BSC9131 || \ + ARCH_T2080 || ARCH_P1010 || ARCH_BSC9131 || \ ARCH_BSC9132 default 3 if ARCH_BSC9131 || ARCH_BSC9132 default 4 if ARCH_LS1043A || ARCH_LS1046A || ARCH_B4860 || \ ARCH_B4420 || ARCH_P1010 default 8 if ARCH_LS2080A || ARCH_LS1088A || ARCH_LS1021A || \ ARCH_T4240 || ARCH_T1040 || ARCH_T1042 || \ - ARCH_T1024 || ARCH_T2080 || ARCH_C29X + ARCH_T1024 || ARCH_T2080 config FSL_QIXIS bool "Enable QIXIS support"
arch/powerpc/cpu/mpc85xx/Kconfig +1 -21
@@ -321,23 +321,6 @@ config ARCH_BSC9132 imply CMD_PCI imply CMD_REGINFO -config ARCH_C29X - bool - select FSL_LAW - select SYS_FSL_DDR_VER_46 - select SYS_FSL_ERRATUM_A005125 - select SYS_FSL_ERRATUM_ESDHC111 - select FSL_PCIE_RESET - select SYS_FSL_HAS_DDR3 - select SYS_FSL_HAS_SEC - select SYS_FSL_SEC_BE - select SYS_FSL_SEC_COMPAT_6 - select SYS_PPC_E500_USE_DEBUG_TLB - select FSL_IFC - imply CMD_NAND - imply CMD_PCI - imply CMD_REGINFO - config ARCH_MPC8536 bool select FSL_LAW
@@ -843,7 +826,6 @@ config SYS_CCSRBAR_DEFAULT hex "Default CCSRBAR address" default 0xff700000 if ARCH_BSC9131 || \ ARCH_BSC9132 || \ - ARCH_C29X || \ ARCH_MPC8536 || \ ARCH_MPC8540 || \ ARCH_MPC8544 || \
@@ -1057,7 +1039,6 @@ config SYS_FSL_NUM_LAWS ARCH_T1042 default 12 if ARCH_BSC9131 || \ ARCH_BSC9132 || \ - ARCH_C29X || \ ARCH_MPC8536 || \ ARCH_P1010 || \ ARCH_P1011 || \
@@ -1182,8 +1163,7 @@ config SYS_PPC_E500_DEBUG_TLB ARCH_P1025 || \ ARCH_P2020 default 3 if ARCH_P1010 || \ - ARCH_BSC9132 || \ - ARCH_C29X + ARCH_BSC9132 help Select a temporary TLB entry to be used during boot to work around limitations in e500v1 and e500v2 external debugger
arch/powerpc/cpu/mpc85xx/Makefile +0 -1
@@ -51,7 +51,6 @@ obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS1) += fsl_corenet_serdes.o obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS2) += fsl_corenet2_serdes.o # SoC specific SERDES support -obj-$(CONFIG_ARCH_C29X) += c29x_serdes.o obj-$(CONFIG_ARCH_MPC8536) += mpc8536_serdes.o obj-$(CONFIG_ARCH_MPC8544) += mpc8544_serdes.o obj-$(CONFIG_ARCH_P1010) += p1010_serdes.o
arch/powerpc/cpu/mpc85xx/c29x_serdes.c deleted +0 -70
70 lines not on this page · raw message
arch/powerpc/cpu/mpc85xx/cpu_init.c +0 -11
@@ -881,17 +881,6 @@ int cpu_init_r(void)pamu_init ();#endif -#ifdef CONFIG_FSL_CAAM -#if defined(CONFIG_ARCH_C29X ) -if ((SVR_SOC_VER (svr) ==SVR_C292 ) || - (SVR_SOC_VER (svr) ==SVR_C293 )) -sec_init_idx (1 ); - -if (SVR_SOC_VER (svr) ==SVR_C293 ) -sec_init_idx (2 ); -#endif -#endif -#if defined(CONFIG_FSL_SATA_V2 ) && defined(CONFIG_SYS_FSL_ERRATUM_SATA_A001 )/* * For P1022/1013 Rev1.0 silicon, after power on SATA host
arch/powerpc/cpu/mpc8xxx/cpu.c +0 -3
@@ -87,9 +87,6 @@ static struct cpu_type cpu_type_list[] = { CPU_TYPE_ENTRY(BSC9131, 9131, 1), CPU_TYPE_ENTRY(BSC9132, 9132, 2), CPU_TYPE_ENTRY(BSC9232, 9232, 2), - CPU_TYPE_ENTRY(C291, C291, 1), - CPU_TYPE_ENTRY(C292, C292, 1), - CPU_TYPE_ENTRY(C293, C293, 1), #elif defined(CONFIG_MPC86xx)CPU_TYPE_ENTRY (8610 ,8610 ,1 ), CPU_TYPE_ENTRY(8641, 8641, 2),
arch/powerpc/include/asm/config_mpc85xx.h +0 -3
@@ -126,9 +126,6 @@#define CFG_SYS_FM1_CLK 0#define CFG_SYS_FM_MURAM_SIZE 0x28000 -#elif defined(CONFIG_ARCH_C29X ) -#define CFG_SYS_FSL_SEC_IDX_OFFSET 0x20000 -#endif #endif /* _ASM_MPC85xx_CONFIG_H_ */
arch/powerpc/include/asm/immap_85xx.h +0 -22
@@ -1768,11 +1768,6 @@ typedef struct ccsr_gur {#ifdef CONFIG_ARCH_MPC8536 #define MPC85xx_PORPLLSR_DDR_RATIO 0x3e000000#define MPC85xx_PORPLLSR_DDR_RATIO_SHIFT 25 -#elif defined(CONFIG_ARCH_C29X ) -#define MPC85xx_PORPLLSR_DDR_RATIO 0x00003f00 -#define MPC85xx_PORPLLSR_DDR_RATIO_SHIFT (9 - ((gur->pordevsr2 \ - & MPC85xx_PORDEVSR2_DDR_SPD_0) \ - >> MPC85xx_PORDEVSR2_DDR_SPD_0_SHIFT))#else #if defined(CONFIG_ARCH_BSC9131 ) || defined(CONFIG_ARCH_BSC9132 )#define MPC85xx_PORPLLSR_DDR_RATIO 0x00003f00
@@ -1817,9 +1812,6 @@ typedef struct ccsr_gur {#elif defined(CONFIG_ARCH_BSC9132 )#define MPC85xx_PORDEVSR_IO_SEL 0x00FE0000#define MPC85xx_PORDEVSR_IO_SEL_SHIFT 17 -#elif defined(CONFIG_ARCH_C29X ) -#define MPC85xx_PORDEVSR_IO_SEL 0x00e00000 -#define MPC85xx_PORDEVSR_IO_SEL_SHIFT 21#else #define MPC85xx_PORDEVSR_IO_SEL 0x00780000#define MPC85xx_PORDEVSR_IO_SEL_SHIFT 19
@@ -1835,10 +1827,6 @@ typedef struct ccsr_gur {#define MPC85xx_PORDEVSR_RIO_DEV_ID 0x00000007u32 pordbgmsr;/* POR debug mode status */ u32 pordevsr2;/* POR I/O device status 2 */ -#if defined(CONFIG_ARCH_C29X ) -#define MPC85xx_PORDEVSR2_DDR_SPD_0 0x00000008 -#define MPC85xx_PORDEVSR2_DDR_SPD_0_SHIFT 3 -#endif #define MPC85xx_PORDEVSR2_SBC_MASK 0x10000000/* The 8544 RM says this is bit 26, but it's really bit 24 */ #define MPC85xx_PORDEVSR2_SEC_CFG 0x00000080
@@ -1972,11 +1960,6 @@ typedef struct ccsr_gur {#ifdef CONFIG_ARCH_BSC9132 #define MPC85xx_PMUXCR0_SIM_SEL_MASK 0x0003b000#define MPC85xx_PMUXCR0_SIM_SEL 0x00014000 -#endif -#if defined(CONFIG_ARCH_C29X ) -#define MPC85xx_PMUXCR_SPI_MASK 0x00000300 -#define MPC85xx_PMUXCR_SPI 0x00000000 -#define MPC85xx_PMUXCR_SPI_GPIO 0x00000100#endif u32 pmuxcr2;/* Alt. function signal multiplex control 2 */ #if defined(CONFIG_ARCH_P1010 )
@@ -2515,13 +2498,8 @@ struct ccsr_pman {#define CFG_SYS_MPC85xx_USB2_PHY_OFFSET 0xE5100#define CFG_SYS_MDIO1_OFFSET 0x24000#define CFG_SYS_MPC85xx_ESDHC_OFFSET 0x2e000 -#if defined(CONFIG_ARCH_C29X ) -#define CFG_SYS_FSL_SEC_OFFSET 0x80000 -#define CFG_SYS_FSL_JR0_OFFSET 0x81000 -#else #define CFG_SYS_FSL_SEC_OFFSET 0x30000#define CFG_SYS_FSL_JR0_OFFSET 0x31000 -#endif #define CFG_SYS_MPC85xx_SERDES2_OFFSET 0xE3100#define CFG_SYS_MPC85xx_SERDES1_OFFSET 0xE3000#define CFG_SYS_SEC_MON_OFFSET 0xE6000
arch/powerpc/include/asm/processor.h +0 -3
@@ -1056,9 +1056,6 @@#define SVR_T4120 0x824001#define SVR_T4160 0x824100#define SVR_T4080 0x824102 -#define SVR_C291 0x850000 -#define SVR_C292 0x850020 -#define SVR_C293 0x850030#define SVR_B4860 0x868000#define SVR_G4860 0x868001#define SVR_B4460 0x868003
drivers/crypto/fsl/jr.c +3 -11
@@ -30,22 +30,14 @@#define CIRC_CNT (head, tail, size) (((head) - (tail)) & (size - 1))#define CIRC_SPACE (head, tail, size) CIRC_CNT((tail), (head) + 1, (size)) -uint32_t sec_offset[CONFIG_SYS_FSL_MAX_NUM_OF_SEC ] = { -0 , -#if defined(CONFIG_ARCH_C29X) -CFG_SYS_FSL_SEC_IDX_OFFSET , -2 *CFG_SYS_FSL_SEC_IDX_OFFSET -#endif -}; -#if CONFIG_IS_ENABLED (DM )struct udevice *caam_dev;#else #define SEC_ADDR (idx) \ - (ulong)((CFG_SYS_FSL_SEC_ADDR + sec_offset[idx])) + (ulong)CFG_SYS_FSL_SEC_ADDR#define SEC_JR0_ADDR (idx) \ - (ulong)(SEC_ADDR(idx) + \ + (ulong)(CFG_SYS_FSL_SEC_ADDR + \ (CFG_SYS_FSL_JR0_OFFSET - CFG_SYS_FSL_SEC_OFFSET))struct caam_regs caam_st;#endif
@@ -688,7 +680,7 @@ static void jr_setown_non_trusted(ccsr_sec_t *sec) }#endif -int sec_init_idx (uint8_t sec_idx) +static int sec_init_idx (uint8_t sec_idx) {int ret =0 ;struct caam_regs *caam;
drivers/mmc/Kconfig +1 -2
@@ -911,8 +911,7 @@ config FSL_SDHC_V2_3 config FSL_ESDHC bool "Freescale/NXP eSDHC controller support" depends on ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3 || PPC - select FSL_SDHC_V2_3 if ARCH_P1010 || ARCH_BSC9131 || ARCH_BSC9132 \ - || ARCH_C29X + select FSL_SDHC_V2_3 if ARCH_P1010 || ARCH_BSC9131 || ARCH_BSC9132 help This selects support for the eSDHC (Enhanced Secure Digital Host Controller) found on numerous Freescale/NXP SoCs.
include/fsl_sec.h +0 -3
@@ -374,9 +374,6 @@ int gen_mppubk(u8 *dst);int sign_mppubk (const u8 *m,int data_size,u8 *dgst,u8 *c,u8 *d); -#if defined(CONFIG_ARCH_C29X ) -int sec_init_idx (uint8_t ); -#endif int sec_init (void );u8 caam_get_era (void );
Signature · 1 line
2.47.3
PATCH v3 13/26 powerpc: mpc85xx: Remove P1011 support
In reply to Bradley MorganNo board in the tree selects ARCH_P1011, and the SoC lacks active community maintenance. Remove the unused SoC configuration, CPU identification, and stale boot documentation entry.
--- arch/Kconfig | 2 +- arch/powerpc/cpu/mpc85xx/Kconfig | 20 +------------------- arch/powerpc/cpu/mpc85xx/Makefile | 1 - arch/powerpc/cpu/mpc8xxx/cpu.c | 1 - arch/powerpc/include/asm/processor.h | 1 - doc/README.mpc85xx-sd-spi-boot | 1 - 6 files changed, 2 insertions(+), 24 deletions(-)
arch/Kconfig +1 -1
@@ -470,7 +470,7 @@ config SYS_IMMR default 0xF0000000 if ARCH_MPC8313 default 0xE0000000 if MPC83xx && !ARCH_MPC8313 default 0x01000000 if ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3 - default 0xFFE00000 if ARCH_P1010 || ARCH_P1011 || ARCH_P1020 || \ + default 0xFFE00000 if ARCH_P1010 || ARCH_P1020 || \ ARCH_P1021 || ARCH_P1024 || ARCH_P1025 || \ ARCH_P2020 default SYS_CCSRBAR_DEFAULT
arch/powerpc/cpu/mpc85xx/Kconfig +1 -19
@@ -399,21 +399,6 @@ config ARCH_P1010 imply FSL_SATA imply TIMESTAMP -config ARCH_P1011 - bool - select FSL_LAW - select SYS_FSL_ERRATUM_A004508 - select SYS_FSL_ERRATUM_A005125 - select SYS_FSL_ERRATUM_ELBC_A001 - select SYS_FSL_ERRATUM_ESDHC111 - select FSL_PCIE_DISABLE_ASPM - select SYS_FSL_HAS_DDR3 - select SYS_FSL_HAS_SEC - select SYS_FSL_SEC_BE - select SYS_FSL_SEC_COMPAT_2 - select SYS_PPC_E500_USE_DEBUG_TLB - select FSL_ELBC - config ARCH_P1020 bool select BTB
@@ -831,7 +816,6 @@ config SYS_CCSRBAR_DEFAULT ARCH_MPC8544 || \ ARCH_MPC8560 || \ ARCH_P1010 || \ - ARCH_P1011 || \ ARCH_P1020 || \ ARCH_P1021 || \ ARCH_P1024 || \
@@ -1041,7 +1025,6 @@ config SYS_FSL_NUM_LAWS ARCH_BSC9132 || \ ARCH_MPC8536 || \ ARCH_P1010 || \ - ARCH_P1011 || \ ARCH_P1020 || \ ARCH_P1021 || \ ARCH_P1023 || \
@@ -1156,8 +1139,7 @@ config SYS_PPC_E500_DEBUG_TLB depends on SYS_PPC_E500_USE_DEBUG_TLB default 0 if ARCH_MPC8544 default 1 if ARCH_MPC8536 - default 2 if ARCH_P1011 || \ - ARCH_P1020 || \ + default 2 if ARCH_P1020 || \ ARCH_P1021 || \ ARCH_P1024 || \ ARCH_P1025 || \
arch/powerpc/cpu/mpc85xx/Makefile +0 -1
@@ -54,7 +54,6 @@ obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS2) += fsl_corenet2_serdes.o obj-$(CONFIG_ARCH_MPC8536) += mpc8536_serdes.o obj-$(CONFIG_ARCH_MPC8544) += mpc8544_serdes.o obj-$(CONFIG_ARCH_P1010) += p1010_serdes.o -obj-$(CONFIG_ARCH_P1011) += p1021_serdes.o obj-$(CONFIG_ARCH_P1020) += p1021_serdes.o obj-$(CONFIG_ARCH_P1021) += p1021_serdes.o obj-$(CONFIG_ARCH_P1023) += p1023_serdes.o
arch/powerpc/cpu/mpc8xxx/cpu.c +0 -1
@@ -41,7 +41,6 @@ static struct cpu_type cpu_type_list[] = {CPU_TYPE_ENTRY (8569 ,8569 ,1 ),CPU_TYPE_ENTRY (8572 ,8572 ,2 ),CPU_TYPE_ENTRY (P1010 ,P1010 ,1 ), -CPU_TYPE_ENTRY (P1011 ,P1011 ,1 ),CPU_TYPE_ENTRY (P1012 ,P1012 ,1 ),CPU_TYPE_ENTRY (P1013 ,P1013 ,1 ), CPU_TYPE_ENTRY(P1014, P1014, 1),
arch/powerpc/include/asm/processor.h +0 -1
@@ -1033,7 +1033,6 @@#define SVR_8569 0x808000#define SVR_8572 0x80E000#define SVR_P1010 0x80F100 -#define SVR_P1011 0x80E500#define SVR_P1012 0x80E501#define SVR_P1013 0x80E700#define SVR_P1014 0x80F101
doc/README.mpc85xx-sd-spi-boot +0 -1
@@ -60,7 +60,6 @@ P2020DS config_sram_p2020ds.dat P1020RDB config_ddr2_1g_p1020rdb_533M.dat P1020RDB config_ddr2_1g_p1020rdb_667M.dat P1020RDB config_ddr3_1gb_p1_p2_rdb_pc_800M.dat -P1011RDB config_ddr3_1gb_p1_p2_rdb_pc_800M.dat P1010RDB config_ddr3_1gb_p1010rdb_800M.dat P1021RDB config_ddr3_1gb_p1_p2_rdb_pc_800M.dat P1022DS config_ddr3_2gb_p1022ds.dat
Signature · 1 line
2.47.3
PATCH v3 14/26 powerpc: mpc85xx: Remove P1023 support
In reply to Bradley MorganNo board in the tree selects ARCH_P1023, and the family is unmaintained. Remove the unused SoC, FMan, and SERDES support.
--- arch/powerpc/cpu/mpc85xx/Kconfig | 19 +----- arch/powerpc/cpu/mpc85xx/Makefile | 1 - arch/powerpc/cpu/mpc85xx/p1023_serdes.c | 59 ------------------- arch/powerpc/cpu/mpc8xxx/cpu.c | 1 - arch/powerpc/include/asm/config_mpc85xx.h | 7 --- arch/powerpc/include/asm/immap_85xx.h | 15 ----- arch/powerpc/include/asm/processor.h | 1 - drivers/net/Kconfig | 1 - drivers/net/fm/Makefile | 1 - drivers/net/fm/fm.h | 4 -- drivers/net/fm/p1023.c | 72 ----------------------- 11 files changed, 1 insertion(+), 180 deletions(-) delete mode 100644 arch/powerpc/cpu/mpc85xx/p1023_serdes.c delete mode 100644 drivers/net/fm/p1023.c
arch/powerpc/cpu/mpc85xx/Kconfig +1 -18
@@ -443,20 +443,6 @@ config ARCH_P1021 imply CMD_REGINFO imply SATA_SIL -config ARCH_P1023 - bool - select FSL_LAW - select SYS_FSL_ERRATUM_A004508 - select SYS_FSL_ERRATUM_A005125 - select SYS_FSL_ERRATUM_I2C_A004447 - select FSL_PCIE_RESET - select SYS_FSL_HAS_DDR3 - select SYS_FSL_HAS_SEC - select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22 - select SYS_FSL_SEC_BE - select SYS_FSL_SEC_COMPAT_4 - select FSL_ELBC - config ARCH_P1024 bool select FSL_LAW
@@ -794,7 +780,6 @@ config MAX_CPUS ARCH_BSC9132 || \ ARCH_P1020 || \ ARCH_P1021 || \ - ARCH_P1023 || \ ARCH_P1024 || \ ARCH_P1025 || \ ARCH_P2020 || \
@@ -821,7 +806,6 @@ config SYS_CCSRBAR_DEFAULT ARCH_P1024 || \ ARCH_P1025 || \ ARCH_P2020 - default 0xff600000 if ARCH_P1023 default 0xfe000000 if ARCH_B4420 || \ ARCH_B4860 || \ ARCH_P2041 || \
@@ -957,7 +941,7 @@ config SYS_FSL_A004447_SVR_REV hex depends on SYS_FSL_ERRATUM_I2C_A004447 default 0x10 if ARCH_P1010 - default 0x11 if ARCH_P1023 || ARCH_P2041 || ARCH_BSC9132 + default 0x11 if ARCH_P2041 || ARCH_BSC9132 config SYS_FSL_ERRATUM_IFC_A002769 bool
@@ -1027,7 +1011,6 @@ config SYS_FSL_NUM_LAWS ARCH_P1010 || \ ARCH_P1020 || \ ARCH_P1021 || \ - ARCH_P1023 || \ ARCH_P1024 || \ ARCH_P1025 || \ ARCH_P2020
arch/powerpc/cpu/mpc85xx/Makefile +0 -1
@@ -56,7 +56,6 @@ obj-$(CONFIG_ARCH_MPC8544) += mpc8544_serdes.o obj-$(CONFIG_ARCH_P1010) += p1010_serdes.o obj-$(CONFIG_ARCH_P1020) += p1021_serdes.o obj-$(CONFIG_ARCH_P1021) += p1021_serdes.o -obj-$(CONFIG_ARCH_P1023) += p1023_serdes.o obj-$(CONFIG_ARCH_P1024) += p1021_serdes.o obj-$(CONFIG_ARCH_P1025) += p1021_serdes.o obj-$(CONFIG_ARCH_P2020) += p2020_serdes.o
arch/powerpc/cpu/mpc85xx/p1023_serdes.c deleted +0 -59
59 lines not on this page · raw message
arch/powerpc/cpu/mpc8xxx/cpu.c +0 -1
@@ -48,7 +48,6 @@ static struct cpu_type cpu_type_list[] = {CPU_TYPE_ENTRY (P1020 ,P1020 ,2 ),CPU_TYPE_ENTRY (P1021 ,P1021 ,2 ),CPU_TYPE_ENTRY (P1022 ,P1022 ,2 ), -CPU_TYPE_ENTRY (P1023 ,P1023 ,2 ),CPU_TYPE_ENTRY (P1024 ,P1024 ,2 ),CPU_TYPE_ENTRY (P1025 ,P1025 ,2 ), CPU_TYPE_ENTRY(P2010, P2010, 1),
arch/powerpc/include/asm/config_mpc85xx.h +0 -7
@@ -15,13 +15,6 @@#define MAX_QE_RISC 1#define QE_NUM_OF_SNUM 28 -#elif defined(CONFIG_ARCH_P1023 ) -#define CFG_SYS_NUM_FMAN 1 -#define CFG_SYS_NUM_FM1_DTSEC 2 -#define CFG_SYS_QMAN_NUM_PORTALS 3 -#define CFG_SYS_BMAN_NUM_PORTALS 3 -#define CFG_SYS_FM_MURAM_SIZE 0x10000 -/* P1025 is lower end variant of P1021 */ #elif defined(CONFIG_ARCH_P1025 )#define QE_MURAM_SIZE 0x6000UL
arch/powerpc/include/asm/immap_85xx.h +0 -15
@@ -1790,22 +1790,12 @@ typedef struct ccsr_gur {#define PORBMSR_ROMLOC_NOR 0xfu32 porimpscr;/* POR I/O impedance status & control */ u32 pordevsr;/* POR I/O device status regsiter */ -#if defined(CONFIG_ARCH_P1023 ) -#define MPC85xx_PORDEVSR_SGMII1_DIS 0x10000000 -#define MPC85xx_PORDEVSR_SGMII2_DIS 0x08000000 -#define MPC85xx_PORDEVSR_TSEC1_PRTC 0x02000000 -#else #define MPC85xx_PORDEVSR_SGMII1_DIS 0x20000000#define MPC85xx_PORDEVSR_SGMII2_DIS 0x10000000 -#endif #define MPC85xx_PORDEVSR_SGMII3_DIS 0x08000000#define MPC85xx_PORDEVSR_SGMII4_DIS 0x04000000#define MPC85xx_PORDEVSR_SRDS2_IO_SEL 0x38000000#define MPC85xx_PORDEVSR_PCI1 0x00800000 -#if defined(CONFIG_ARCH_P1023 ) -#define MPC85xx_PORDEVSR_IO_SEL 0x00600000 -#define MPC85xx_PORDEVSR_IO_SEL_SHIFT 21 -#else #if defined(CONFIG_ARCH_P1010 )#define MPC85xx_PORDEVSR_IO_SEL 0x00600000#define MPC85xx_PORDEVSR_IO_SEL_SHIFT 21
@@ -1816,7 +1806,6 @@ typedef struct ccsr_gur {#define MPC85xx_PORDEVSR_IO_SEL 0x00780000#define MPC85xx_PORDEVSR_IO_SEL_SHIFT 19#endif /* if defined(CONFIG_ARCH_P1010) */ -#endif #define MPC85xx_PORDEVSR_PCI2_ARB 0x00040000#define MPC85xx_PORDEVSR_PCI1_ARB 0x00020000#define MPC85xx_PORDEVSR_PCI1_PCI32 0x00010000
@@ -1891,9 +1880,6 @@ typedef struct ccsr_gur {#define MPC85xx_PMUXCR_CAN2_TDM 0x00000002#define MPC85xx_PMUXCR_CAN2_RES 0x00000003#endif -#if defined(CONFIG_ARCH_P1023 ) -#define MPC85xx_PMUXCR_TSEC1_1 0x10000000 -#else #define MPC85xx_PMUXCR_SD_DATA 0x80000000#define MPC85xx_PMUXCR_SDHC_CD 0x40000000#define MPC85xx_PMUXCR_SDHC_WP 0x20000000
@@ -1912,7 +1898,6 @@ typedef struct ccsr_gur {#define MPC85xx_PMUXCR_QE10 0x00000020#define MPC85xx_PMUXCR_QE11 0x00000010#define MPC85xx_PMUXCR_QE12 0x00000008 -#endif #if defined(CONFIG_ARCH_BSC9131 )#define MPC85xx_PMUXCR_TSEC2_DMA_GPIO_IRQ 0x40000000#define MPC85xx_PMUXCR_TSEC2_USB 0xC0000000
arch/powerpc/include/asm/processor.h +0 -1
@@ -1040,7 +1040,6 @@#define SVR_P1020 0x80E400#define SVR_P1021 0x80E401#define SVR_P1022 0x80E600 -#define SVR_P1023 0x80F600#define SVR_P1024 0x80E402#define SVR_P1025 0x80E403#define SVR_P2010 0x80E300
drivers/net/Kconfig +0 -1
@@ -962,7 +962,6 @@ config SYS_DPAA_QBMAN depends on ARM || PPC default y if ARCH_B4860 || \ ARCH_B4420 || \ - ARCH_P1023 || \ ARCH_P2041 || \ ARCH_T1024 || \ ARCH_T1040 || \
drivers/net/fm/Makefile +0 -1
@@ -13,7 +13,6 @@ obj-y += tgec_phy.o obj-$(CONFIG_SYS_FMAN_V3) += memac.o # SoC specific SERDES support -obj-$(CONFIG_ARCH_P1023) += p1023.o # The P204x and P5020 are the same obj-$(CONFIG_ARCH_P2041) += p5020.o obj-$(CONFIG_ARCH_T1040) += t1040.o
drivers/net/fm/fm.h +0 -4
@@ -96,11 +96,7 @@ struct fm_port_global_pram {#define PRAM_MODE_GLOBAL 0x20000000#define PRAM_MODE_GRACEFUL_STOP 0x00800000 -#if defined(CONFIG_ARCH_P1023 ) -#define FM_FREE_POOL_SIZE 0x2000/* 8K bytes */ -#else #define FM_FREE_POOL_SIZE 0x20000/* 128K bytes */ -#endif #define FM_FREE_POOL_ALIGN 256void *fm_muram_alloc (int fm_idx,size_t size,ulong align);
drivers/net/fm/p1023.c deleted +0 -72
72 lines not on this page · raw message
Signature · 1 line
2.47.3
PATCH v3 15/26 powerpc: mpc85xx: Remove P1025 support
In reply to Bradley MorganNo board in the tree selects ARCH_P1025, and the variant is unmaintained. Remove its configuration and variant specific code while retaining the shared P1021 support.
--- arch/Kconfig | 2 +- arch/powerpc/cpu/mpc85xx/Kconfig | 22 ---------------------- arch/powerpc/cpu/mpc85xx/Makefile | 1 - arch/powerpc/cpu/mpc85xx/speed.c | 2 +- arch/powerpc/cpu/mpc8xxx/cpu.c | 1 - arch/powerpc/include/asm/config_mpc85xx.h | 6 ------ arch/powerpc/include/asm/immap_85xx.h | 2 +- arch/powerpc/include/asm/processor.h | 1 - doc/README.mpc85xx-sd-spi-boot | 2 -- drivers/qe/Kconfig | 3 +-- 10 files changed, 4 insertions(+), 38 deletions(-)
arch/Kconfig +1 -1
@@ -471,7 +471,7 @@ config SYS_IMMR default 0xE0000000 if MPC83xx && !ARCH_MPC8313 default 0x01000000 if ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3 default 0xFFE00000 if ARCH_P1010 || ARCH_P1020 || \ - ARCH_P1021 || ARCH_P1024 || ARCH_P1025 || \ + ARCH_P1021 || ARCH_P1024 || \ ARCH_P2020 default SYS_CCSRBAR_DEFAULT help
arch/powerpc/cpu/mpc85xx/Kconfig +0 -22
@@ -466,24 +466,6 @@ config ARCH_P1024 imply CMD_REGINFO imply SATA_SIL -config ARCH_P1025 - bool - select FSL_LAW - select SYS_FSL_ERRATUM_A004508 - select SYS_FSL_ERRATUM_A005125 - select SYS_FSL_ERRATUM_ELBC_A001 - select SYS_FSL_ERRATUM_ESDHC111 - select FSL_PCIE_DISABLE_ASPM - select FSL_PCIE_RESET - select SYS_FSL_HAS_DDR3 - select SYS_FSL_HAS_SEC - select SYS_FSL_SEC_BE - select SYS_FSL_SEC_COMPAT_2 - select SYS_PPC_E500_USE_DEBUG_TLB - select FSL_ELBC - imply SATA - imply CMD_REGINFO - config ARCH_P2020 bool select BTB
@@ -781,7 +763,6 @@ config MAX_CPUS ARCH_P1020 || \ ARCH_P1021 || \ ARCH_P1024 || \ - ARCH_P1025 || \ ARCH_P2020 || \ ARCH_T1024 default 1
@@ -804,7 +785,6 @@ config SYS_CCSRBAR_DEFAULT ARCH_P1020 || \ ARCH_P1021 || \ ARCH_P1024 || \ - ARCH_P1025 || \ ARCH_P2020 default 0xfe000000 if ARCH_B4420 || \ ARCH_B4860 || \
@@ -1012,7 +992,6 @@ config SYS_FSL_NUM_LAWS ARCH_P1020 || \ ARCH_P1021 || \ ARCH_P1024 || \ - ARCH_P1025 || \ ARCH_P2020 default 10 if ARCH_MPC8544 default 8 if ARCH_MPC8540 || \
@@ -1125,7 +1104,6 @@ config SYS_PPC_E500_DEBUG_TLB default 2 if ARCH_P1020 || \ ARCH_P1021 || \ ARCH_P1024 || \ - ARCH_P1025 || \ ARCH_P2020 default 3 if ARCH_P1010 || \ ARCH_BSC9132
arch/powerpc/cpu/mpc85xx/Makefile +0 -1
@@ -57,7 +57,6 @@ obj-$(CONFIG_ARCH_P1010) += p1010_serdes.o obj-$(CONFIG_ARCH_P1020) += p1021_serdes.o obj-$(CONFIG_ARCH_P1021) += p1021_serdes.o obj-$(CONFIG_ARCH_P1024) += p1021_serdes.o -obj-$(CONFIG_ARCH_P1025) += p1021_serdes.o obj-$(CONFIG_ARCH_P2020) += p2020_serdes.o obj-$(CONFIG_ARCH_P2041) += p2041_serdes.o obj-$(CONFIG_ARCH_T4240) += t4240_serdes.o
arch/powerpc/cpu/mpc85xx/speed.c +1 -1
@@ -544,7 +544,7 @@ void get_sys_info(sys_info_t *sys_info)#endif #ifdef CONFIG_QE -#if defined(CONFIG_ARCH_P1021 ) || defined(CONFIG_ARCH_P1025 ) +#if defined(CONFIG_ARCH_P1021 ) sys_info->freq_qe = sys_info->freq_systembus;#else qe_ratio = ((gur->porpllsr) & MPC85xx_PORPLLSR_QE_RATIO)
arch/powerpc/cpu/mpc8xxx/cpu.c +0 -1
@@ -49,7 +49,6 @@ static struct cpu_type cpu_type_list[] = {CPU_TYPE_ENTRY (P1021 ,P1021 ,2 ),CPU_TYPE_ENTRY (P1022 ,P1022 ,2 ),CPU_TYPE_ENTRY (P1024 ,P1024 ,2 ), -CPU_TYPE_ENTRY (P1025 ,P1025 ,2 ),CPU_TYPE_ENTRY (P2010 ,P2010 ,1 ),CPU_TYPE_ENTRY (P2020 ,P2020 ,2 ), CPU_TYPE_ENTRY(P2040, P2040, 4),
arch/powerpc/include/asm/config_mpc85xx.h +0 -6
@@ -15,12 +15,6 @@#define MAX_QE_RISC 1#define QE_NUM_OF_SNUM 28 -/* P1025 is lower end variant of P1021 */ -#elif defined(CONFIG_ARCH_P1025 ) -#define QE_MURAM_SIZE 0x6000UL -#define MAX_QE_RISC 1 -#define QE_NUM_OF_SNUM 28 -#elif defined(CONFIG_ARCH_P2020 )#define CFG_SYS_FSL_SRIO_MAX_PORTS 2#define CFG_SYS_FSL_SRIO_OB_WIN_NUM 9
arch/powerpc/include/asm/immap_85xx.h +1 -1
@@ -2077,7 +2077,7 @@ typedef struct ccsr_gur {u32 svr;/* System version */ u8 res10[8 ];u32 rstcr;/* Reset control */ -#if defined(CONFIG_ARCH_P1021 ) || defined(CONFIG_ARCH_P1025 ) +#if defined(CONFIG_ARCH_P1021 )u8 res11a[12 ];u32 iovselsr;u8 res11b[60 ];
arch/powerpc/include/asm/processor.h +0 -1
@@ -1041,7 +1041,6 @@#define SVR_P1021 0x80E401#define SVR_P1022 0x80E600#define SVR_P1024 0x80E402 -#define SVR_P1025 0x80E403#define SVR_P2010 0x80E300#define SVR_P2020 0x80E200#define SVR_P2040 0x821000
doc/README.mpc85xx-sd-spi-boot +0 -2
@@ -64,8 +64,6 @@ P1010RDB config_ddr3_1gb_p1010rdb_800M.dat P1021RDB config_ddr3_1gb_p1_p2_rdb_pc_800M.dat P1022DS config_ddr3_2gb_p1022ds.dat P1024RDB config_ddr3_1gb_p1_p2_rdb_pc_667M.dat -P1025RDB config_ddr3_1gb_p1_p2_rdb_pc_667M.dat -P1016RDB config_ddr3_1gb_p1_p2_rdb_pc_667M.dat P1020UTM config_ddr3_1gb_p1_p2_rdb_pc_800M.dat P1020MBG config_ddr3_1gb_p1_p2_rdb_pc_800M.dat MPC8536DS config_ddr2_512m_mpc8536ds_667M.dat
drivers/qe/Kconfig +1 -2
@@ -4,8 +4,7 @@ config QE bool "Enable support for QUICC Engine" depends on PPC - default y if ARCH_T1040 || ARCH_T1042 || ARCH_T1024 || ARCH_P1021 \ - || ARCH_P1025 + default y if ARCH_T1040 || ARCH_T1042 || ARCH_T1024 || ARCH_P1021 help Chose this option to add support for the QUICC Engine.
Signature · 1 line
2.47.3
PATCH v3 16/26 powerpc: mpc85xx: Remove MPC8536 support
In reply to Bradley MorganNo board in the tree selects ARCH_MPC8536, and the SoC lacks active community maintenance. Remove the unused SoC configuration, SERDES setup, and CPU identification.
--- arch/powerpc/cpu/mpc85xx/Kconfig | 20 -- arch/powerpc/cpu/mpc85xx/Makefile | 1 - arch/powerpc/cpu/mpc85xx/mpc8536_serdes.c | 250 ---------------------- arch/powerpc/cpu/mpc8xxx/cpu.c | 1 - arch/powerpc/include/asm/immap_85xx.h | 10 - arch/powerpc/include/asm/processor.h | 5 - doc/README.mpc85xx-sd-spi-boot | 1 - 7 files changed, 288 deletions(-) delete mode 100644 arch/powerpc/cpu/mpc85xx/mpc8536_serdes.c
arch/powerpc/cpu/mpc85xx/Kconfig +0 -20
@@ -321,23 +321,6 @@ config ARCH_BSC9132 imply CMD_PCI imply CMD_REGINFO -config ARCH_MPC8536 - bool - select FSL_LAW - select SYS_FSL_ERRATUM_A004508 - select SYS_FSL_ERRATUM_A005125 - select FSL_PCIE_RESET - select SYS_FSL_HAS_DDR2 - select SYS_FSL_HAS_DDR3 - select SYS_FSL_HAS_SEC - select SYS_FSL_SEC_BE - select SYS_FSL_SEC_COMPAT_2 - select SYS_PPC_E500_USE_DEBUG_TLB - select FSL_ELBC - imply CMD_NAND - imply SATA - imply CMD_REGINFO - config ARCH_MPC8540 bool select FSL_LAW
@@ -777,7 +760,6 @@ config SYS_CCSRBAR_DEFAULT hex "Default CCSRBAR address" default 0xff700000 if ARCH_BSC9131 || \ ARCH_BSC9132 || \ - ARCH_MPC8536 || \ ARCH_MPC8540 || \ ARCH_MPC8544 || \ ARCH_MPC8560 || \
@@ -987,7 +969,6 @@ config SYS_FSL_NUM_LAWS ARCH_T1042 default 12 if ARCH_BSC9131 || \ ARCH_BSC9132 || \ - ARCH_MPC8536 || \ ARCH_P1010 || \ ARCH_P1020 || \ ARCH_P1021 || \
@@ -1100,7 +1081,6 @@ config SYS_PPC_E500_DEBUG_TLB int "Temporary TLB entry for external debugger" depends on SYS_PPC_E500_USE_DEBUG_TLB default 0 if ARCH_MPC8544 - default 1 if ARCH_MPC8536 default 2 if ARCH_P1020 || \ ARCH_P1021 || \ ARCH_P1024 || \
arch/powerpc/cpu/mpc85xx/Makefile +0 -1
@@ -51,7 +51,6 @@ obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS1) += fsl_corenet_serdes.o obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS2) += fsl_corenet2_serdes.o # SoC specific SERDES support -obj-$(CONFIG_ARCH_MPC8536) += mpc8536_serdes.o obj-$(CONFIG_ARCH_MPC8544) += mpc8544_serdes.o obj-$(CONFIG_ARCH_P1010) += p1010_serdes.o obj-$(CONFIG_ARCH_P1020) += p1021_serdes.o
arch/powerpc/cpu/mpc85xx/mpc8536_serdes.c deleted +0 -250
250 lines not on this page · raw message
arch/powerpc/cpu/mpc8xxx/cpu.c +0 -1
@@ -26,7 +26,6 @@ static struct cpu_type cpu_type_list[] = {#if defined(CONFIG_MPC85xx)CPU_TYPE_ENTRY (8533 ,8533 ,1 ),CPU_TYPE_ENTRY (8535 ,8535 ,1 ), -CPU_TYPE_ENTRY (8536 ,8536 ,1 ),CPU_TYPE_ENTRY (8540 ,8540 ,1 ),CPU_TYPE_ENTRY (8541 ,8541 ,1 ), CPU_TYPE_ENTRY(8543, 8543, 1),
arch/powerpc/include/asm/immap_85xx.h +0 -10
@@ -1765,17 +1765,12 @@ typedef struct ccsr_rcpm { #else typedef struct ccsr_gur { u32 porpllsr; /* POR PLL ratio status */ -#ifdef CONFIG_ARCH_MPC8536 -#define MPC85xx_PORPLLSR_DDR_RATIO 0x3e000000 -#define MPC85xx_PORPLLSR_DDR_RATIO_SHIFT 25 -#else #if defined(CONFIG_ARCH_BSC9131) || defined(CONFIG_ARCH_BSC9132) #define MPC85xx_PORPLLSR_DDR_RATIO 0x00003f00 #else #define MPC85xx_PORPLLSR_DDR_RATIO 0x00003e00 #endif #define MPC85xx_PORPLLSR_DDR_RATIO_SHIFT 9 -#endif #define MPC85xx_PORPLLSR_QE_RATIO 0x3e000000 #define MPC85xx_PORPLLSR_QE_RATIO_SHIFT 25 #define MPC85xx_PORPLLSR_PLAT_RATIO 0x0000003e
@@ -1822,12 +1817,7 @@ typedef struct ccsr_gur {u8 res1[8 ];u32 gpporcr;/* General-purpose POR configuration */ u8 res2[12 ]; -#if defined(CONFIG_ARCH_MPC8536 ) -u32 gencfgr;/* General Configuration Register */ -#define MPC85xx_GENCFGR_SDHC_WP_INV 0x20000000 -#else u32 gpiocr;/* GPIO control */ -#endif u8 res3[12 ];u32 gpoutdr;/* General-purpose output data */ u8 res4[12 ];
arch/powerpc/include/asm/processor.h +0 -5
@@ -990,11 +990,7 @@#define SVR_FAM (svr) (((svr) >> 20) & 0xFFF)/* Family field */ #define SVR_MEM (svr) (((svr) >> 16) & 0xF)/* Member field */ -#ifdef CONFIG_ARCH_MPC8536 -#define SVR_MAJ (svr) (((svr) >> 4) & 0x7)/* Major revision field*/ -#else #define SVR_MAJ (svr) (((svr) >> 4) & 0xF)/* Major revision field*/ -#endif #define SVR_MIN (svr) (((svr) >> 0) & 0xF)/* Minor revision field*/ /* Some parts define SVR[0:23] as the SOC version */
@@ -1018,7 +1014,6 @@#define SVR_8533 0x803400#define SVR_8535 0x803701 -#define SVR_8536 0x803700#define SVR_8540 0x803000#define SVR_8541 0x807200#define SVR_8543 0x803200
doc/README.mpc85xx-sd-spi-boot +0 -1
@@ -66,4 +66,3 @@ P1022DS config_ddr3_2gb_p1022ds.dat P1024RDB config_ddr3_1gb_p1_p2_rdb_pc_667M.dat P1020UTM config_ddr3_1gb_p1_p2_rdb_pc_800M.dat P1020MBG config_ddr3_1gb_p1_p2_rdb_pc_800M.dat -MPC8536DS config_ddr2_512m_mpc8536ds_667M.dat
Signature · 1 line
2.47.3
PATCH v3 17/26 powerpc: mpc85xx: Remove MPC8540 support
In reply to Bradley MorganNo board in the tree selects ARCH_MPC8540, and the SoC is unmaintained. Remove its architecture configuration, DUART definitions, and CPU specific cache handling.
--- README | 2 +- arch/powerpc/cpu/mpc85xx/Kconfig | 12 ++------- arch/powerpc/cpu/mpc85xx/cpu.c | 2 +- arch/powerpc/cpu/mpc85xx/cpu_init.c | 4 +-- arch/powerpc/cpu/mpc85xx/fdt.c | 4 +-- arch/powerpc/cpu/mpc85xx/speed.c | 2 +- arch/powerpc/cpu/mpc8xxx/cpu.c | 1 - arch/powerpc/include/asm/fsl_lbc.h | 3 +-- arch/powerpc/include/asm/immap_85xx.h | 35 --------------------------- arch/powerpc/include/asm/processor.h | 1 - 10 files changed, 10 insertions(+), 56 deletions(-)
README +1 -1
@@ -137,7 +137,7 @@ The following options need to be configured: - CPU Type: Define exactly one, e.g. CONFIG_MPC85XX. -- Board Type: Define exactly one, e.g. CONFIG_MPC8540ADS. +- Board Type: Define exactly one. - 85xx CPU Options: CONFIG_SYS_PPC64
arch/powerpc/cpu/mpc85xx/Kconfig +2 -10
@@ -321,11 +321,6 @@ config ARCH_BSC9132 imply CMD_PCI imply CMD_REGINFO -config ARCH_MPC8540 - bool - select FSL_LAW - select SYS_FSL_HAS_DDR1 - config ARCH_MPC8544 bool select BTB
@@ -760,7 +755,6 @@ config SYS_CCSRBAR_DEFAULT hex "Default CCSRBAR address" default 0xff700000 if ARCH_BSC9131 || \ ARCH_BSC9132 || \ - ARCH_MPC8540 || \ ARCH_MPC8544 || \ ARCH_MPC8560 || \ ARCH_P1010 || \
@@ -975,8 +969,7 @@ config SYS_FSL_NUM_LAWS ARCH_P1024 || \ ARCH_P2020 default 10 if ARCH_MPC8544 - default 8 if ARCH_MPC8540 || \ - ARCH_MPC8560 + default 8 if ARCH_MPC8560 help Number of local access windows. This is fixed per SoC. If not sure, do not change.
@@ -1111,8 +1104,7 @@ config SYS_FSL_IFC_CLK_DIV config SYS_FSL_LBC_CLK_DIV int "Divider of platform clock" - depends on FSL_ELBC || ARCH_MPC8540 || \ - ARCH_MPC8560 + depends on FSL_ELBC || ARCH_MPC8560 default 2 if ARCH_P2041 default 1
arch/powerpc/cpu/mpc85xx/cpu.c +1 -1
@@ -302,7 +302,7 @@ int checkcpu (void)int do_reset (struct cmd_tbl *cmdtp,int flag,int argc,char *const argv[]) {/* Everything after the first generation of PQ3 parts has RSTCR */ -#if defined(CONFIG_ARCH_MPC8540 ) || defined(CONFIG_ARCH_MPC8560 ) +#if defined(CONFIG_ARCH_MPC8560 )unsigned long val, msr;/*
arch/powerpc/cpu/mpc85xx/cpu_init.c +2 -2
@@ -546,7 +546,7 @@ int l2cache_init(void)return -1 ;break ;case 0x1 : -if (ver ==SVR_8540 || ver ==SVR_8560 || +if (ver ==SVR_8560 || ver ==SVR_8541 || ver ==SVR_8555 ) {puts ("128 KiB " );/* set L2E=1, L2I=1, & L2BLKSZ=1 (128 KiBibyte) */
@@ -557,7 +557,7 @@ int l2cache_init(void) }break ;case 0x2 : -if (ver ==SVR_8540 || ver ==SVR_8560 || +if (ver ==SVR_8560 || ver ==SVR_8541 || ver ==SVR_8555 ) {puts ("256 KiB " );/* set L2E=1, L2I=1, & L2BLKSZ=2 (256 KiBibyte) */
arch/powerpc/cpu/mpc85xx/fdt.c +2 -2
@@ -229,14 +229,14 @@ static inline u32 l2cache_size(void)case 0x0 :break ;case 0x1 : -if (ver ==SVR_8540 || ver ==SVR_8560 || +if (ver ==SVR_8560 || ver ==SVR_8541 || ver ==SVR_8555 )return 128 ;else return 256 ;break ;case 0x2 : -if (ver ==SVR_8540 || ver ==SVR_8560 || +if (ver ==SVR_8560 || ver ==SVR_8541 || ver ==SVR_8555 )return 256 ;else
arch/powerpc/cpu/mpc85xx/speed.c +1 -1
@@ -593,7 +593,7 @@ int get_clocks(void)* for that SOC. This information is taken from application note * AN2919. */ -#if defined(CONFIG_ARCH_MPC8540 ) || defined(CONFIG_ARCH_MPC8560 ) +#if defined(CONFIG_ARCH_MPC8560 ) gd->arch.i2c1_clk = sys_info.freq_systembus;#elif defined(CONFIG_ARCH_MPC8544 )/*
arch/powerpc/cpu/mpc8xxx/cpu.c +0 -1
@@ -26,7 +26,6 @@ static struct cpu_type cpu_type_list[] = {#if defined(CONFIG_MPC85xx)CPU_TYPE_ENTRY (8533 ,8533 ,1 ),CPU_TYPE_ENTRY (8535 ,8535 ,1 ), -CPU_TYPE_ENTRY (8540 ,8540 ,1 ),CPU_TYPE_ENTRY (8541 ,8541 ,1 ),CPU_TYPE_ENTRY (8543 ,8543 ,1 ), CPU_TYPE_ENTRY(8544, 8544, 1),
arch/powerpc/include/asm/fsl_lbc.h +1 -2
@@ -321,8 +321,7 @@ void lbc_sdram_init(void);*/ #define LCRR_CLKDIV 0x0000001F#define LCRR_CLKDIV_SHIFT 0 -#if defined(CONFIG_MPC83xx) || defined(CONFIG_ARCH_MPC8540 ) || \ - defined(CONFIG_ARCH_MPC8560 ) +#if defined(CONFIG_MPC83xx) || defined(CONFIG_ARCH_MPC8560 )#define LCRR_CLKDIV_2 0x00000002#define LCRR_CLKDIV_4 0x00000004#define LCRR_CLKDIV_8 0x00000008
arch/powerpc/include/asm/immap_85xx.h +0 -35
@@ -123,44 +123,9 @@ typedef struct ccsr_i2c {u8 res[4096 -1 *sizeof (struct fsl_i2c_base )]; } ccsr_i2c_t; -#if defined(CONFIG_ARCH_MPC8540 ) -/* DUART Registers */ -typedef struct ccsr_duart { -u8 res1[1280 ]; -/* URBR1, UTHR1, UDLB1 with the same addr */ -u8 urbr1_uthr1_udlb1; -/* UIER1, UDMB1 with the same addr01 */ -u8 uier1_udmb1; -/* UIIR1, UFCR1, UAFR1 with the same addr */ -u8 uiir1_ufcr1_uafr1; -u8 ulcr1;/* UART1 Line Control */ -u8 umcr1;/* UART1 Modem Control */ -u8 ulsr1;/* UART1 Line Status */ -u8 umsr1;/* UART1 Modem Status */ -u8 uscr1;/* UART1 Scratch */ -u8 res2[8 ]; -u8 udsr1;/* UART1 DMA Status */ -u8 res3[239 ]; -/* URBR2, UTHR2, UDLB2 with the same addr */ -u8 urbr2_uthr2_udlb2; -/* UIER2, UDMB2 with the same addr */ -u8 uier2_udmb2; -/* UIIR2, UFCR2, UAFR2 with the same addr */ -u8 uiir2_ufcr2_uafr2; -u8 ulcr2;/* UART2 Line Control */ -u8 umcr2;/* UART2 Modem Control */ -u8 ulsr2;/* UART2 Line Status */ -u8 umsr2;/* UART2 Modem Status */ -u8 uscr2;/* UART2 Scratch */ -u8 res4[8 ]; -u8 udsr2;/* UART2 DMA Status */ -u8 res5[2543 ]; -}ccsr_duart_t ; -#else /* MPC8560 uses UART on its CPM */ typedef struct ccsr_duart {u8 res[4096 ]; }ccsr_duart_t ; -#endif /* eSPI Registers */ typedef struct ccsr_espi {
arch/powerpc/include/asm/processor.h +0 -1
@@ -1014,7 +1014,6 @@#define SVR_8533 0x803400#define SVR_8535 0x803701 -#define SVR_8540 0x803000#define SVR_8541 0x807200#define SVR_8543 0x803200#define SVR_8544 0x803401
Signature · 1 line
2.47.3
PATCH v3 18/26 powerpc: mpc85xx: Remove MPC8560 support
In reply to Bradley MorganNo board in the tree selects ARCH_MPC8560, and the SoC is unmaintained. Remove the unused architecture configuration, reset and clock handling, and CPU identification.
--- arch/powerpc/cpu/mpc85xx/Kconfig | 9 +-------- arch/powerpc/cpu/mpc85xx/cpu.c | 17 ----------------- arch/powerpc/cpu/mpc85xx/cpu_init.c | 6 ++---- arch/powerpc/cpu/mpc85xx/fdt.c | 6 ++---- arch/powerpc/cpu/mpc85xx/speed.c | 4 +--- arch/powerpc/cpu/mpc8xxx/cpu.c | 1 - arch/powerpc/include/asm/fsl_lbc.h | 2 +- arch/powerpc/include/asm/immap_85xx.h | 4 ---- arch/powerpc/include/asm/processor.h | 1 - 9 files changed, 7 insertions(+), 43 deletions(-)
arch/powerpc/cpu/mpc85xx/Kconfig +1 -8
@@ -335,11 +335,6 @@ config ARCH_MPC8544 select SYS_PPC_E500_USE_DEBUG_TLB select FSL_ELBC -config ARCH_MPC8560 - bool - select FSL_LAW - select SYS_FSL_HAS_DDR1 - config ARCH_P1010 bool select A003399_NOR_WORKAROUND if SYS_FSL_ERRATUM_IFC_A003399 && !SPL
@@ -756,7 +751,6 @@ config SYS_CCSRBAR_DEFAULT default 0xff700000 if ARCH_BSC9131 || \ ARCH_BSC9132 || \ ARCH_MPC8544 || \ - ARCH_MPC8560 || \ ARCH_P1010 || \ ARCH_P1020 || \ ARCH_P1021 || \
@@ -969,7 +963,6 @@ config SYS_FSL_NUM_LAWS ARCH_P1024 || \ ARCH_P2020 default 10 if ARCH_MPC8544 - default 8 if ARCH_MPC8560 help Number of local access windows. This is fixed per SoC. If not sure, do not change.
@@ -1104,7 +1097,7 @@ config SYS_FSL_IFC_CLK_DIV config SYS_FSL_LBC_CLK_DIV int "Divider of platform clock" - depends on FSL_ELBC || ARCH_MPC8560 + depends on FSL_ELBC default 2 if ARCH_P2041 default 1
arch/powerpc/cpu/mpc85xx/cpu.c +0 -17
@@ -301,22 +301,6 @@ int checkcpu (void)int do_reset (struct cmd_tbl *cmdtp,int flag,int argc,char *const argv[]) { -/* Everything after the first generation of PQ3 parts has RSTCR */ -#if defined(CONFIG_ARCH_MPC8560 ) -unsigned long val, msr; - -/* -* Initiate hard reset in debug control register DBCR0 -* Make sure MSR[DE] = 1. This only resets the core. -*/ - msr =mfmsr (); - msr |=MSR_DE ; -mtmsr (msr); - - val =mfspr (DBCR0 ); - val |=0x70000000 ; -mtspr (DBCR0 ,val); -#else volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);/* Call board-specific preparation for reset */
@@ -331,7 +315,6 @@ int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])/* Attempt last-stage board-specific reset */ board_reset_last (); -#endif return 1 ; }
arch/powerpc/cpu/mpc85xx/cpu_init.c +2 -4
@@ -546,8 +546,7 @@ int l2cache_init(void)return -1 ;break ;case 0x1 : -if (ver ==SVR_8560 || - ver ==SVR_8541 || ver ==SVR_8555 ) { +if (ver ==SVR_8541 || ver ==SVR_8555 ) {puts ("128 KiB " );/* set L2E=1, L2I=1, & L2BLKSZ=1 (128 KiBibyte) */ cache_ctl =0xc4000000 ;
@@ -557,8 +556,7 @@ int l2cache_init(void) }break ;case 0x2 : -if (ver ==SVR_8560 || - ver ==SVR_8541 || ver ==SVR_8555 ) { +if (ver ==SVR_8541 || ver ==SVR_8555 ) {puts ("256 KiB " );/* set L2E=1, L2I=1, & L2BLKSZ=2 (256 KiBibyte) */ cache_ctl =0xc8000000 ;
arch/powerpc/cpu/mpc85xx/fdt.c +2 -4
@@ -229,15 +229,13 @@ static inline u32 l2cache_size(void)case 0x0 :break ;case 0x1 : -if (ver ==SVR_8560 || - ver ==SVR_8541 || ver ==SVR_8555 ) +if (ver ==SVR_8541 || ver ==SVR_8555 )return 128 ;else return 256 ;break ;case 0x2 : -if (ver ==SVR_8560 || - ver ==SVR_8541 || ver ==SVR_8555 ) +if (ver ==SVR_8541 || ver ==SVR_8555 )return 256 ;else return 512 ;
arch/powerpc/cpu/mpc85xx/speed.c +1 -3
@@ -593,9 +593,7 @@ int get_clocks(void)* for that SOC. This information is taken from application note * AN2919. */ -#if defined(CONFIG_ARCH_MPC8560 ) - gd->arch.i2c1_clk = sys_info.freq_systembus; -#elif defined(CONFIG_ARCH_MPC8544 ) +#if defined(CONFIG_ARCH_MPC8544 )/* * On the 8544, the I2C clock is the same as the SEC clock. This can be * either CCB/2 or CCB/3, depending on the value of cfg_sec_freq. See
arch/powerpc/cpu/mpc8xxx/cpu.c +0 -1
@@ -33,7 +33,6 @@ static struct cpu_type cpu_type_list[] = {CPU_TYPE_ENTRY (8547 ,8547 ,1 ),CPU_TYPE_ENTRY (8548 ,8548 ,1 ),CPU_TYPE_ENTRY (8555 ,8555 ,1 ), -CPU_TYPE_ENTRY (8560 ,8560 ,1 ),CPU_TYPE_ENTRY (8567 ,8567 ,1 ),CPU_TYPE_ENTRY (8568 ,8568 ,1 ), CPU_TYPE_ENTRY(8569, 8569, 1),
arch/powerpc/include/asm/fsl_lbc.h +1 -1
@@ -321,7 +321,7 @@ void lbc_sdram_init(void);*/ #define LCRR_CLKDIV 0x0000001F#define LCRR_CLKDIV_SHIFT 0 -#if defined(CONFIG_MPC83xx) || defined(CONFIG_ARCH_MPC8560 ) +#if defined(CONFIG_MPC83xx)#define LCRR_CLKDIV_2 0x00000002#define LCRR_CLKDIV_4 0x00000004#define LCRR_CLKDIV_8 0x00000008
arch/powerpc/include/asm/immap_85xx.h +0 -4
@@ -123,10 +123,6 @@ typedef struct ccsr_i2c {u8 res[4096 -1 *sizeof (struct fsl_i2c_base )]; } ccsr_i2c_t; -typedef struct ccsr_duart { -u8 res[4096 ]; -}ccsr_duart_t ; -/* eSPI Registers */ typedef struct ccsr_espi { u32 mode; /* eSPI mode */
arch/powerpc/include/asm/processor.h +0 -1
@@ -1021,7 +1021,6 @@#define SVR_8547 0x803101#define SVR_8548 0x803100#define SVR_8555 0x807100 -#define SVR_8560 0x807000#define SVR_8567 0x807501#define SVR_8568 0x807500#define SVR_8569 0x808000
Signature · 1 line
2.47.3
PATCH v3 19/26 powerpc: mpc85xx: Remove BSC9132 support
In reply to Bradley MorganNo board in the tree selects ARCH_BSC9132, and the platform lacks active community maintenance. Remove its SoC and SERDES configuration, register code and errata paths.
--- arch/Kconfig.nxp | 5 +- arch/powerpc/cpu/mpc85xx/Kconfig | 32 +------ arch/powerpc/cpu/mpc85xx/Makefile | 1 - arch/powerpc/cpu/mpc85xx/bsc9132_serdes.c | 101 ---------------------- arch/powerpc/cpu/mpc8xxx/cpu.c | 1 - arch/powerpc/include/asm/fsl_law.h | 6 +- arch/powerpc/include/asm/immap_85xx.h | 19 +--- arch/powerpc/include/asm/processor.h | 1 - board/nxp/common/sdhc_boot.c | 2 +- boot/Kconfig | 2 +- drivers/ddr/fsl/Kconfig | 1 - drivers/mmc/Kconfig | 2 +- drivers/usb/common/fsl-errata.c | 2 - 13 files changed, 9 insertions(+), 166 deletions(-) delete mode 100644 arch/powerpc/cpu/mpc85xx/bsc9132_serdes.c
arch/Kconfig.nxp +2 -3
@@ -286,9 +286,8 @@ config SYS_FSL_IFC_BANK_COUNT depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A || \ ARCH_LS1088A || ARCH_LS1021A || ARCH_B4860 || ARCH_B4420 || \ ARCH_T4240 || ARCH_T1040 || ARCH_T1042 || ARCH_T1024 || \ - ARCH_T2080 || ARCH_P1010 || ARCH_BSC9131 || \ - ARCH_BSC9132 - default 3 if ARCH_BSC9131 || ARCH_BSC9132 + ARCH_T2080 || ARCH_P1010 || ARCH_BSC9131 + default 3 if ARCH_BSC9131 default 4 if ARCH_LS1043A || ARCH_LS1046A || ARCH_B4860 || \ ARCH_B4420 || ARCH_P1010 default 8 if ARCH_LS2080A || ARCH_LS1088A || ARCH_LS1021A || \
arch/powerpc/cpu/mpc85xx/Kconfig +2 -30
@@ -297,30 +297,6 @@ config ARCH_BSC9131 imply CMD_NAND imply CMD_REGINFO -config ARCH_BSC9132 - bool - select FSL_LAW - select SYS_FSL_DDR_VER_46 - select SYS_FSL_ERRATUM_A004477 - select SYS_FSL_ERRATUM_A005125 - select SYS_FSL_ERRATUM_A005434 - select SYS_FSL_ERRATUM_ESDHC111 - select SYS_FSL_ERRATUM_I2C_A004447 - select SYS_FSL_ERRATUM_IFC_A002769 - select FSL_PCIE_RESET - select SYS_FSL_HAS_DDR3 - select SYS_FSL_HAS_SEC - select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22 - select SYS_FSL_SEC_BE - select SYS_FSL_SEC_COMPAT_4 - select SYS_PPC_E500_USE_DEBUG_TLB - select FSL_IFC - imply CMD_EEPROM - imply CMD_MTDPARTS - imply CMD_NAND - imply CMD_PCI - imply CMD_REGINFO - config ARCH_MPC8544 bool select BTB
@@ -732,7 +708,6 @@ config MAX_CPUS ARCH_T1042 || \ ARCH_T2080 default 2 if ARCH_B4420 || \ - ARCH_BSC9132 || \ ARCH_P1020 || \ ARCH_P1021 || \ ARCH_P1024 || \
@@ -749,7 +724,6 @@ config MAX_CPUS config SYS_CCSRBAR_DEFAULT hex "Default CCSRBAR address" default 0xff700000 if ARCH_BSC9131 || \ - ARCH_BSC9132 || \ ARCH_MPC8544 || \ ARCH_P1010 || \ ARCH_P1020 || \
@@ -891,7 +865,7 @@ config SYS_FSL_A004447_SVR_REV hex depends on SYS_FSL_ERRATUM_I2C_A004447 default 0x10 if ARCH_P1010 - default 0x11 if ARCH_P2041 || ARCH_BSC9132 + default 0x11 if ARCH_P2041 config SYS_FSL_ERRATUM_IFC_A002769 bool
@@ -956,7 +930,6 @@ config SYS_FSL_NUM_LAWS ARCH_T1040 || \ ARCH_T1042 default 12 if ARCH_BSC9131 || \ - ARCH_BSC9132 || \ ARCH_P1010 || \ ARCH_P1020 || \ ARCH_P1021 || \
@@ -1071,8 +1044,7 @@ config SYS_PPC_E500_DEBUG_TLB ARCH_P1021 || \ ARCH_P1024 || \ ARCH_P2020 - default 3 if ARCH_P1010 || \ - ARCH_BSC9132 + default 3 if ARCH_P1010 help Select a temporary TLB entry to be used during boot to work around limitations in e500v1 and e500v2 external debugger
arch/powerpc/cpu/mpc85xx/Makefile +0 -1
@@ -61,7 +61,6 @@ obj-$(CONFIG_ARCH_P2041) += p2041_serdes.o obj-$(CONFIG_ARCH_T4240) += t4240_serdes.o obj-$(CONFIG_ARCH_B4420) += b4860_serdes.o obj-$(CONFIG_ARCH_B4860) += b4860_serdes.o -obj-$(CONFIG_ARCH_BSC9132) += bsc9132_serdes.o obj-$(CONFIG_ARCH_T1040) += t1040_serdes.o obj-$(CONFIG_ARCH_T1042) += t1040_serdes.o obj-$(CONFIG_ARCH_T1024) += t1024_serdes.o
arch/powerpc/cpu/mpc85xx/bsc9132_serdes.c deleted +0 -101
101 lines not on this page · raw message
arch/powerpc/cpu/mpc8xxx/cpu.c +0 -1
@@ -79,7 +79,6 @@ static struct cpu_type cpu_type_list[] = { CPU_TYPE_ENTRY(T2081, T2081, 0), CPU_TYPE_ENTRY(BSC9130, 9130, 1), CPU_TYPE_ENTRY(BSC9131, 9131, 1), - CPU_TYPE_ENTRY(BSC9132, 9132, 2), CPU_TYPE_ENTRY(BSC9232, 9232, 2), #elif defined(CONFIG_MPC86xx) CPU_TYPE_ENTRY(8610, 8610, 1),
arch/powerpc/include/asm/fsl_law.h +1 -5
@@ -79,7 +79,7 @@ enum law_trgt_if { LAW_TRGT_IF_PCI = 0x00, LAW_TRGT_IF_PCI_2 = 0x01, LAW_TRGT_IF_PCIE_1 = 0x02, -#if defined(CONFIG_ARCH_BSC9131 ) || defined(CONFIG_ARCH_BSC9132 ) +#if defined(CONFIG_ARCH_BSC9131 ) LAW_TRGT_IF_OCN_DSP = 0x03,#else #if !defined(CONFIG_ARCH_P2020 )
@@ -92,11 +92,7 @@ enum law_trgt_if {LAW_TRGT_IF_PLATFORM_SRAM =0x0a ,LAW_TRGT_IF_DDR_INTRLV =0x0b ,LAW_TRGT_IF_RIO =0x0c , -#if defined(CONFIG_ARCH_BSC9132 ) -LAW_TRGT_IF_CLASS_DSP =0x0d , -#elseLAW_TRGT_IF_RIO_2 =0x0d , -#endifLAW_TRGT_IF_DPAA_SWP_SRAM =0x0e ,LAW_TRGT_IF_DDR =0x0f , LAW_TRGT_IF_DDR_2 = 0x16, /* 2nd controller */
arch/powerpc/include/asm/immap_85xx.h +1 -18
@@ -1726,7 +1726,7 @@ typedef struct ccsr_rcpm { #else typedef struct ccsr_gur { u32 porpllsr; /* POR PLL ratio status */ -#if defined(CONFIG_ARCH_BSC9131) || defined(CONFIG_ARCH_BSC9132) +#if defined(CONFIG_ARCH_BSC9131) #define MPC85xx_PORPLLSR_DDR_RATIO 0x00003f00 #else #define MPC85xx_PORPLLSR_DDR_RATIO 0x00003e00
@@ -1755,9 +1755,6 @@ typedef struct ccsr_gur {#if defined(CONFIG_ARCH_P1010 )#define MPC85xx_PORDEVSR_IO_SEL 0x00600000#define MPC85xx_PORDEVSR_IO_SEL_SHIFT 21 -#elif defined(CONFIG_ARCH_BSC9132 ) -#define MPC85xx_PORDEVSR_IO_SEL 0x00FE0000 -#define MPC85xx_PORDEVSR_IO_SEL_SHIFT 17#else #define MPC85xx_PORDEVSR_IO_SEL 0x00780000#define MPC85xx_PORDEVSR_IO_SEL_SHIFT 19
@@ -1892,10 +1889,6 @@ typedef struct ccsr_gur {#define MPC85xx_PMUXCR_SPI1_CS3_ANT_TCXO_PWM 0x00000001#define MPC85xx_PMUXCR_SPI1_CS3_dbg_adi2_rxen 0x00000002#define MPC85xx_PMUXCR_SPI1_CS3_GPO76 0x00000003 -#endif -#ifdef CONFIG_ARCH_BSC9132 -#define MPC85xx_PMUXCR0_SIM_SEL_MASK 0x0003b000 -#define MPC85xx_PMUXCR0_SIM_SEL 0x00014000#endif u32 pmuxcr2;/* Alt. function signal multiplex control 2 */ #if defined(CONFIG_ARCH_P1010 )
@@ -1923,7 +1916,6 @@ typedef struct ccsr_gur {#define MPC85xx_PMUXCR2_DEBUG_MUX_SEL_USBPHY 0x00002000#define MPC85xx_PMUXCR2_PLL_LKDT_EXPOSE 0x00001000#endif -#if defined(CONFIG_ARCH_BSC9131 ) || defined(CONFIG_ARCH_BSC9132 )#if defined(CONFIG_ARCH_BSC9131 )#define MPC85xx_PMUXCR2_UART_CTS_B0_SIM_PD 0x40000000#define MPC85xx_PMUXCR2_UART_CTS_B0_DSP_TMS 0x80000000
@@ -1967,9 +1959,7 @@ typedef struct ccsr_gur {#define MPC85xx_PMUXCR2_ANT3_AGC_GPO53 0x00000004#define MPC85xx_PMUXCR2_ANT3_DO_TDM 0x00000001#define MPC85xx_PMUXCR2_ANT3_DO_GPIO46_49 0x00000002 -#endif u32 pmuxcr3; -#if defined(CONFIG_ARCH_BSC9131 )#define MPC85xx_PMUXCR3_ANT3_DO4_5_TDM 0x40000000#define MPC85xx_PMUXCR3_ANT3_DO4_5_GPIO_50_51 0x80000000#define MPC85xx_PMUXCR3_ANT3_DO6_7_TRIG_IN_SRESET_B 0x10000000
@@ -1984,13 +1974,6 @@ typedef struct ccsr_gur {#define MPC85xx_PMUXCR3_SPI2_CS3_GPO94 0x00040000#define MPC85xx_PMUXCR3_ANT2_AGC_RSVD 0x00010000#define MPC85xx_PMUXCR3_ANT2_GPO89 0x00030000 -#endif -#ifdef CONFIG_ARCH_BSC9132 -#define MPC85xx_PMUXCR3_USB_SEL_MASK 0x0000ff00 -#define MPC85xx_PMUXCR3_UART2_SEL 0x00005000 -#define MPC85xx_PMUXCR3_UART3_SEL_MASK 0xc0000000 -#define MPC85xx_PMUXCR3_UART3_SEL 0x40000000 -#endif u32 pmuxcr4;#else u8 res6[8 ];
arch/powerpc/include/asm/processor.h +0 -1
@@ -1072,7 +1072,6 @@#define SVR_9130 0x860001#define SVR_9131 0x860000 -#define SVR_9132 0x861000#define SVR_9232 0x861400#define SVR_Unknown 0xFFFFFF
board/nxp/common/sdhc_boot.c +1 -1
@@ -45,7 +45,7 @@ int mmc_get_env_addr(struct mmc *mmc, int copy, u64 *env_addr)#ifdef CONFIG_ESDHC_HC_BLK_ADDR /* -* On soc BSC9131, BSC9132: +* On P1010 and BSC9131: * In High Capacity SD Cards (> 2 GBytes), the 32-bit source address and * code length of these soc specify the memory address in block address * format. Block length is fixed to 512 bytes as per the SD High
boot/Kconfig +1 -1
@@ -1199,7 +1199,7 @@ config FSL_FIXED_MMC_LOCATION config ESDHC_HC_BLK_ADDR def_bool y - depends on FSL_FIXED_MMC_LOCATION && (ARCH_BSC9131 || ARCH_BSC9132 || ARCH_P1010) + depends on FSL_FIXED_MMC_LOCATION && (ARCH_BSC9131 || ARCH_P1010) help In High Capacity SD Cards (> 2 GBytes), the 32-bit source address and code length of these soc specify the memory address in block address
drivers/ddr/fsl/Kconfig +0 -1
@@ -51,7 +51,6 @@ config SYS_NUM_DDR_CTLRS default 3 if ARCH_LS2080A || \ ARCH_T4240 default 2 if ARCH_B4860 || \ - ARCH_BSC9132 || \ ARCH_LX2160A || \ ARCH_LX2162A default 1
drivers/mmc/Kconfig +1 -1
@@ -911,7 +911,7 @@ config FSL_SDHC_V2_3 config FSL_ESDHC bool "Freescale/NXP eSDHC controller support" depends on ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3 || PPC - select FSL_SDHC_V2_3 if ARCH_P1010 || ARCH_BSC9131 || ARCH_BSC9132 + select FSL_SDHC_V2_3 if ARCH_P1010 || ARCH_BSC9131 help This selects support for the eSDHC (Enhanced Secure Digital Host Controller) found on numerous Freescale/NXP SoCs.
drivers/usb/common/fsl-errata.c +0 -2
@@ -155,7 +155,6 @@ bool has_erratum_a005697(void)switch (soc) {#ifdef CONFIG_PPC case SVR_9131 : -case SVR_9132 :return IS_SVR_REV (svr,1 ,0 ) ||IS_SVR_REV (svr,1 ,1 );#endif #ifdef ONFIG_ARM64
@@ -177,7 +176,6 @@ bool has_erratum_a004477(void)return IS_SVR_REV (svr,1 ,0 ) ||IS_SVR_REV (svr,2 ,0 );case SVR_P1022 :case SVR_9131 : -case SVR_9132 :return IS_SVR_REV (svr,1 ,0 ) ||IS_SVR_REV (svr,1 ,1 );case SVR_P2020 : return IS_SVR_REV(svr, 1, 0) || IS_SVR_REV(svr, 2, 0) ||
Signature · 1 line
2.47.3
PATCH v3 20/26 powerpc: mpc83xx: Remove MPC831x support
In reply to Bradley MorganNo target in the tree selects ARCH_MPC831X, and the family lacks active community maintenance. Remove the orphaned family support, register handling, and device tree code.
--- arch/Kconfig | 3 +- arch/powerpc/cpu/mpc83xx/Kconfig | 13 ---- arch/powerpc/cpu/mpc83xx/cpu.c | 6 +- arch/powerpc/cpu/mpc83xx/cpu_init.c | 14 +--- arch/powerpc/cpu/mpc83xx/fdt.c | 42 +---------- arch/powerpc/cpu/mpc83xx/hid/hid.h | 5 -- arch/powerpc/cpu/mpc83xx/hrcw/Kconfig | 38 +--------- arch/powerpc/cpu/mpc83xx/initreg/Kconfig.lcrr | 2 +- arch/powerpc/cpu/mpc83xx/initreg/Kconfig.spcr | 2 +- arch/powerpc/cpu/mpc83xx/spd_sdram.c | 2 +- arch/powerpc/cpu/mpc83xx/speed.c | 27 +++---- arch/powerpc/include/asm/arch-mpc83xx/gpio.h | 2 +- arch/powerpc/include/asm/arch-mpc83xx/soc.h | 20 +----- arch/powerpc/include/asm/global_data.h | 4 +- arch/powerpc/include/asm/immap_83xx.h | 35 --------- arch/powerpc/include/asm/mpc8xxx_spi.h | 1 - .../clock/fsl,mpc83xx-clk.txt | 2 - doc/device-tree-bindings/cpu/fsl,mpc83xx.txt | 8 +-- drivers/clk/mpc83xx_clk.c | 8 +-- drivers/clk/mpc83xx_clk.h | 8 +-- drivers/cpu/mpc83xx_cpu.c | 17 ----- drivers/cpu/mpc83xx_cpu.h | 14 ---- drivers/ram/mpc83xx_sdram.c | 2 - include/mpc83xx.h | 72 ++----------------- 24 files changed, 42 insertions(+), 305 deletions(-)
arch/Kconfig +1 -2
@@ -467,8 +467,7 @@ config SYS_IMMR hex "Address for the Internal Memory-Mapped Registers (IMMR) window" depends on PPC || FSL_LSCH2 || FSL_LSCH3 || ARCH_LS1021A default 0xFF000000 if MPC8xx - default 0xF0000000 if ARCH_MPC8313 - default 0xE0000000 if MPC83xx && !ARCH_MPC8313 + default 0xE0000000 if MPC83xx default 0x01000000 if ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3 default 0xFFE00000 if ARCH_P1010 || ARCH_P1020 || \ ARCH_P1021 || ARCH_P1024 || \
arch/powerpc/cpu/mpc83xx/Kconfig +0 -13
@@ -125,19 +125,6 @@ config ARCH_MPC8308 select MPC83XX_PCIE1_SUPPORT select MPC83XX_SECOND_I2C -config ARCH_MPC831X - bool - select MPC83XX_PCI_SUPPORT - select MPC83XX_TSEC1_SUPPORT - select MPC83XX_TSEC2_SUPPORT - select SYS_CACHE_SHIFT_5 - -config ARCH_MPC8313 - bool - select ARCH_MPC831X - select MPC83XX_SECOND_I2C - select FSL_ELBC - config ARCH_MPC832X bool select MPC83XX_QUICC_ENGINE
arch/powerpc/cpu/mpc83xx/cpu.c +1 -5
@@ -24,7 +24,7 @@#include <tsec.h> #include <netdev.h> #include <fsl_esdhc.h> -#if defined(CONFIG_BOOTCOUNT_LIMIT ) && !defined(CONFIG_ARCH_MPC831X ) +#if defined(CONFIG_BOOTCOUNT_LIMIT )#include <linux/immap_qe.h> #include <asm/io.h> #endif
@@ -48,10 +48,6 @@ int checkcpu(void) } cpu_type_list [] = {CPU_TYPE_ENTRY (8308 ),CPU_TYPE_ENTRY (8309 ), -CPU_TYPE_ENTRY (8311 ), -CPU_TYPE_ENTRY (8313 ), -CPU_TYPE_ENTRY (8314 ), -CPU_TYPE_ENTRY (8315 ),CPU_TYPE_ENTRY (8321 ),CPU_TYPE_ENTRY (8323 ), CPU_TYPE_ENTRY(8343),
arch/powerpc/cpu/mpc83xx/cpu_init.c +1 -13
@@ -84,12 +84,6 @@ void cpu_init_f (volatile immap_t * im)#ifdef CFG_SYS_SCCR_TSEC2CM /* TSEC2 clock mode */ SCCR_TSEC2CM |#endif -#ifdef CONFIG_SYS_SCCR_TSEC1ON /* TSEC1 clock switch */ - SCCR_TSEC1ON | -#endif -#ifdef CONFIG_SYS_SCCR_TSEC2ON /* TSEC2 clock switch */ - SCCR_TSEC2ON | -#endif #ifdef CONFIG_SYS_SCCR_USBMPHCM /* USB MPH clock mode */ SCCR_USBMPHCM |#endif
@@ -122,12 +116,6 @@ void cpu_init_f (volatile immap_t * im)#ifdef CFG_SYS_SCCR_TSEC2CM /* TSEC2 clock mode */ (CFG_SYS_SCCR_TSEC2CM << SCCR_TSEC2CM_SHIFT) | #endif -#ifdef CONFIG_SYS_SCCR_TSEC1ON /* TSEC1 clock switch */ - (CONFIG_SYS_SCCR_TSEC1ON <<SCCR_TSEC1ON_SHIFT ) | -#endif -#ifdef CONFIG_SYS_SCCR_TSEC2ON /* TSEC2 clock switch */ - (CONFIG_SYS_SCCR_TSEC2ON <<SCCR_TSEC2ON_SHIFT ) | -#endif #ifdef CONFIG_SYS_SCCR_USBMPHCM /* USB MPH clock mode */ (CONFIG_SYS_SCCR_USBMPHCM << SCCR_USBMPHCM_SHIFT) |#endif
@@ -177,7 +165,7 @@ void cpu_init_f (volatile immap_t * im)/* System General Purpose Register */ #ifdef CFG_SYS_SICRH -#if defined(CONFIG_ARCH_MPC834X ) || defined(CONFIG_ARCH_MPC8313 ) +#if defined(CONFIG_ARCH_MPC834X )/* regarding to MPC34x manual rev.1 bits 28..29 must be preserved */ __raw_writel ((im->sysconf.sicrh &0x0000000C ) |CFG_SYS_SICRH , &im->sysconf.sicrh);
arch/powerpc/cpu/mpc83xx/fdt.c +2 -40
60 lines not on this page · raw message
arch/powerpc/cpu/mpc83xx/hid/hid.h +0 -5
@@ -48,12 +48,7 @@ CONFIG_HID0_INIT_SLEEP_BIT \ ) -#ifdef CONFIG_TARGET_IDS8313 -/* IDS8313 defines a reserved bit; keep to not break compatibility */ -#define CFG_HID2_SPECIAL 0x00020000 -#else #define CFG_HID2_SPECIAL 0x0 -#endif #define CFG_SYS_HID2 ( \ CONFIG_HID2_LET_BIT |\
arch/powerpc/cpu/mpc83xx/hrcw/Kconfig +3 -35
@@ -24,7 +24,7 @@ config DDR_MC_CLOCK_MODE_1_1 endchoice -if !ARCH_MPC8313 && !ARCH_MPC832X +if !ARCH_MPC832X choice prompt "System PLL VCO division"
@@ -36,11 +36,9 @@ config SYSTEM_PLL_VCO_DIV_2 bool "2" config SYSTEM_PLL_VCO_DIV_4 - depends on !ARCH_MPC831X bool "4" config SYSTEM_PLL_VCO_DIV_8 - depends on !ARCH_MPC831X bool "8" endchoice
@@ -418,21 +416,9 @@ choice config TSEC1_MODE_MII bool "MII" -config TSEC1_MODE_RMII - depends on ARCH_MPC831X - bool "RMII" - config TSEC1_MODE_RGMII bool "RGMII" -config TSEC1_MODE_RTBI - depends on ARCH_MPC831X - bool "RTBI" - -config TSEC1_MODE_SGMII - depends on ARCH_MPC831X - bool "SGMII" - endchoice endif
@@ -445,21 +431,9 @@ choice config TSEC2_MODE_MII bool "MII" -config TSEC2_MODE_RMII - depends on ARCH_MPC831X - bool "RMII" - config TSEC2_MODE_RGMII bool "RGMII" -config TSEC2_MODE_RTBI - depends on ARCH_MPC831X - bool "RTBI" - -config TSEC2_MODE_SGMII - depends on ARCH_MPC831X - bool "SGMII" - endchoice endif
@@ -490,7 +464,7 @@ endchoice endif -if ARCH_MPC831X || ARCH_MPC832X || ARCH_MPC8360 +if ARCH_MPC832X || ARCH_MPC8360 choice prompt "LALE timing"
@@ -534,7 +508,7 @@ config DDR_MC_CLOCK_MODE config SYSTEM_PLL_VCO_DIV int - default 2 if ARCH_MPC8313 || ARCH_MPC832X + default 2 if ARCH_MPC832X default 0 if SYSTEM_PLL_VCO_DIV_2 && !ARCH_MPC8360 default 1 if SYSTEM_PLL_VCO_DIV_4 && !ARCH_MPC8360 default 2 if SYSTEM_PLL_VCO_DIV_8 && !ARCH_MPC8360
@@ -615,19 +589,13 @@ config TSEC1_MODE hex default 0x0 if !MPC83XX_TSEC1_SUPPORT default 0x0 if TSEC1_MODE_MII - default 0x1 if TSEC1_MODE_RMII default 0x3 if TSEC1_MODE_RGMII - default 0x5 if TSEC1_MODE_RTBI - default 0x6 if TSEC1_MODE_SGMII config TSEC2_MODE hex default 0x0 if !MPC83XX_TSEC2_SUPPORT default 0x0 if TSEC2_MODE_MII - default 0x1 if TSEC2_MODE_RMII default 0x3 if TSEC2_MODE_RGMII - default 0x5 if TSEC2_MODE_RTBI - default 0x6 if TSEC2_MODE_SGMII config SECONDARY_DDR_IO int
arch/powerpc/cpu/mpc83xx/initreg/Kconfig.lcrr +1 -1
@@ -1,6 +1,6 @@ menu "LCRR - Clock Ratio Register register" -if !ARCH_MPC831X && !ARCH_MPC832X +if !ARCH_MPC832X choice prompt "DLL bypass"
arch/powerpc/cpu/mpc83xx/initreg/Kconfig.spcr +1 -1
@@ -14,7 +14,7 @@ config SPCR_OPT_SPEC_READ endchoice -if ARCH_MPC8308 || ARCH_MPC831X +if ARCH_MPC8308 choice prompt "TSEC emergency priority"
arch/powerpc/cpu/mpc83xx/spd_sdram.c +1 -1
@@ -37,7 +37,7 @@ void board_add_ram_info(int use_default)printf (" (DDR%d" , ((ddr->sdram_cfg &SDRAM_CFG_SDRAM_TYPE_MASK ) >>SDRAM_CFG_SDRAM_TYPE_SHIFT ) -1 ); -#if defined(CONFIG_ARCH_MPC8308 ) || defined(CONFIG_ARCH_MPC831X ) +#if defined(CONFIG_ARCH_MPC8308 )if ((ddr->sdram_cfg &SDRAM_CFG_DBW_MASK ) ==SDRAM_CFG_DBW_16 )puts (", 16-bit" );else if ((ddr->sdram_cfg &SDRAM_CFG_DBW_MASK ) ==SDRAM_CFG_DBW_32 )
arch/powerpc/cpu/mpc83xx/speed.c +10 -17
@@ -87,7 +87,7 @@ int get_clocks(void)u32 lcrr;u32 csb_clk; -#if defined(CONFIG_ARCH_MPC8308 ) || defined(CONFIG_ARCH_MPC831X ) || \ +#if defined(CONFIG_ARCH_MPC8308 ) || \ defined(CONFIG_ARCH_MPC834X )u32 tsec1_clk;u32 tsec2_clk;
@@ -117,7 +117,7 @@ int get_clocks(void)u32 qe_clk;u32 brg_clk;#endif -#if defined(CONFIG_ARCH_MPC8308 ) || defined(CONFIG_ARCH_MPC831X ) +#if defined(CONFIG_ARCH_MPC8308 )u32 pciexp1_clk;u32 pciexp2_clk;#endif
@@ -146,7 +146,7 @@ int get_clocks(void) sccr = im->clk.sccr; -#if defined(CONFIG_ARCH_MPC8308 ) || defined(CONFIG_ARCH_MPC831X ) || \ +#if defined(CONFIG_ARCH_MPC8308 ) || \ defined(CONFIG_ARCH_MPC834X )switch ((sccr &SCCR_TSEC1CM ) >>SCCR_TSEC1CM_SHIFT ) {case 0 :
@@ -167,7 +167,7 @@ int get_clocks(void) }#endif -#if defined(CONFIG_ARCH_MPC830X ) || defined(CONFIG_ARCH_MPC831X ) || \ +#if defined(CONFIG_ARCH_MPC830X ) || \ defined(CONFIG_ARCH_MPC834X )switch ((sccr &SCCR_USBDRCM ) >>SCCR_USBDRCM_SHIFT ) {case 0 :
@@ -206,13 +206,6 @@ int get_clocks(void)/* unknown SCCR_TSEC2CM value */ return -4; } -#elif defined(CONFIG_ARCH_MPC8313) - tsec2_clk = tsec1_clk; - -if (!(sccr &SCCR_TSEC1ON )) - tsec1_clk =0 ; -if (!(sccr &SCCR_TSEC2ON )) - tsec2_clk =0 ;#endif #if defined(CONFIG_ARCH_MPC834X )
@@ -286,7 +279,7 @@ int get_clocks(void) i2c1_clk = csb_clk;#elif defined(CONFIG_ARCH_MPC832X ) i2c1_clk = enc_clk; -#elif defined(CONFIG_ARCH_MPC8308 ) || defined(CONFIG_ARCH_MPC831X ) +#elif defined(CONFIG_ARCH_MPC8308 ) i2c1_clk = enc_clk;#elif defined(CONFIG_FSL_ESDHC ) i2c1_clk = sdhc_clk;
@@ -295,7 +288,7 @@ int get_clocks(void) i2c2_clk = csb_clk;/* i2c-2 clk is equal to csb clk */ #endif -#if defined(CONFIG_ARCH_MPC8308 ) || defined(CONFIG_ARCH_MPC831X ) +#if defined(CONFIG_ARCH_MPC8308 )switch ((sccr &SCCR_PCIEXP1CM ) >>SCCR_PCIEXP1CM_SHIFT ) {case 0 : pciexp1_clk =0 ;
@@ -392,7 +385,7 @@ int get_clocks(void)#endif gd->arch.csb_clk = csb_clk; -#if defined(CONFIG_ARCH_MPC8308 ) || defined(CONFIG_ARCH_MPC831X ) || \ +#if defined(CONFIG_ARCH_MPC8308 ) || \ defined(CONFIG_ARCH_MPC834X ) gd->arch.tsec1_clk = tsec1_clk; gd->arch.tsec2_clk = tsec2_clk;
@@ -420,7 +413,7 @@ int get_clocks(void) gd->arch.qe_clk = qe_clk; gd->arch.brg_clk = brg_clk;#endif -#if defined(CONFIG_ARCH_MPC8308 ) || defined(CONFIG_ARCH_MPC831X ) +#if defined(CONFIG_ARCH_MPC8308 ) gd->arch.pciexp1_clk = pciexp1_clk; gd->arch.pciexp2_clk = pciexp2_clk;#endif
@@ -491,7 +484,7 @@ static int do_clocks(struct cmd_tbl *cmdtp, int flag, int argc,printf (" SDHC: %-4s MHz\n" ,strmhz (buf, gd->arch.sdhc_clk));#endif -#if defined(CONFIG_ARCH_MPC8308 ) || defined(CONFIG_ARCH_MPC831X ) || \ +#if defined(CONFIG_ARCH_MPC8308 ) || \ defined(CONFIG_ARCH_MPC834X )printf (" TSEC1: %-4s MHz\n" ,strmhz (buf, gd->arch.tsec1_clk));
@@ -504,7 +497,7 @@ static int do_clocks(struct cmd_tbl *cmdtp, int flag, int argc,printf (" USB MPH: %-4s MHz\n" ,strmhz (buf, gd->arch.usbmph_clk));#endif -#if defined(CONFIG_ARCH_MPC8308 ) || defined(CONFIG_ARCH_MPC831X ) +#if defined(CONFIG_ARCH_MPC8308 )printf (" PCIEXP1: %-4s MHz\n" ,strmhz (buf, gd->arch.pciexp1_clk)); printf(" PCIEXP2: %-4s MHz\n",
arch/powerpc/include/asm/arch-mpc83xx/gpio.h +1 -1
@@ -6,7 +6,7 @@/* * The MCP83xx's 1-2 GPIO controllers each with 32 bits. */ -#if defined(CONFIG_ARCH_MPC8313 ) || defined(CONFIG_ARCH_MPC8308 ) +#if defined(CONFIG_ARCH_MPC8308 )#define MPC83XX_GPIO_CTRLRS 1#elif defined(CONFIG_ARCH_MPC834X )#define MPC83XX_GPIO_CTRLRS 2
arch/powerpc/include/asm/arch-mpc83xx/soc.h +2 -18
@@ -10,8 +10,6 @@enum soc_type {SOC_MPC8308 ,SOC_MPC8309 , -SOC_MPC8313 , -SOC_MPC8315 ,SOC_MPC832X ,SOC_MPC8349 ,SOC_MPC8360 ,
@@ -26,25 +24,12 @@ static inline bool mpc83xx_has_sdhc(int type)static inline bool mpc83xx_has_tsec (int type) {return (type ==SOC_MPC8308 ) || - (type ==SOC_MPC8313 ) || - (type ==SOC_MPC8315 ) || (type ==SOC_MPC8349 ); }static inline bool mpc83xx_has_pcie1 (int type) { -return (type ==SOC_MPC8308 ) || - (type ==SOC_MPC8315 ); -} - -static inline bool mpc83xx_has_pcie2 (int type) -{ -return type ==SOC_MPC8315 ; -} - -static inline bool mpc83xx_has_sata (int type) -{ -return type ==SOC_MPC8315 ; +return type ==SOC_MPC8308 ; }static inline bool mpc83xx_has_pci (int type)
@@ -54,8 +39,7 @@ static inline bool mpc83xx_has_pci(int type)static inline bool mpc83xx_has_second_i2c (int type) { -return (type !=SOC_MPC8315 ) && - (type !=SOC_MPC832X ); +return type !=SOC_MPC832X ; }static inline bool mpc83xx_has_quicc_engine (int type)
arch/powerpc/include/asm/global_data.h +2 -2
@@ -26,7 +26,7 @@ struct arch_global_data {#else /* There are other clocks in the MPC83XX */ u32 csb_clk; -# if defined(CONFIG_ARCH_MPC8308 ) || defined(CONFIG_ARCH_MPC831X ) || \ +# if defined(CONFIG_ARCH_MPC8308 ) || \ defined(CONFIG_ARCH_MPC834X )u32 tsec1_clk;u32 tsec2_clk;
@@ -39,7 +39,7 @@ struct arch_global_data {u32 enc_clk;u32 lbiu_clk;u32 lclk_clk; -# if defined(CONFIG_ARCH_MPC8308 ) || defined(CONFIG_ARCH_MPC831X ) +# if defined(CONFIG_ARCH_MPC8308 )u32 pciexp1_clk;u32 pciexp2_clk;# endif
arch/powerpc/include/asm/immap_83xx.h +0 -35
@@ -688,41 +688,6 @@ typedef struct immap { u8 res7[0xC0000]; } immap_t; -#elif defined(CONFIG_ARCH_MPC8313) -typedef struct immap { - sysconf83xx_t sysconf; /* System configuration */ - wdt83xx_t wdt; /* Watch Dog Timer (WDT) Registers */ - rtclk83xx_t rtc; /* Real Time Clock Module Registers */ - rtclk83xx_t pit; /* Periodic Interval Timer */ - gtm83xx_t gtm[2]; /* Global Timers Module */ - ipic83xx_t ipic; /* Integrated Programmable Interrupt Controller */ - arbiter83xx_t arbiter; /* System Arbiter Registers */ - reset83xx_t reset; /* Reset Module */ - clk83xx_t clk; /* System Clock Module */ - pmc83xx_t pmc; /* Power Management Control Module */ - gpio83xx_t gpio[1]; /* General purpose I/O module */ - u8 res0[0x1300]; - ddr83xx_t ddr; /* DDR Memory Controller Memory */ - fsl_i2c_t i2c[2]; /* I2C Controllers */ - u8 res1[0x1300]; - duart83xx_t duart[2]; /* DUART */ - u8 res2[0x900]; - fsl_lbc_t im_lbc; /* Local Bus Controller Regs */ - u8 res3[0x1000]; - spi8xxx_t spi; /* Serial Peripheral Interface */ - dma83xx_t dma; /* DMA */ - pciconf83xx_t pci_conf[1]; /* PCI Software Configuration Registers */ - u8 res4[0x80]; - ios83xx_t ios; /* Sequencer */ - pcictrl83xx_t pci_ctrl[1]; /* PCI Controller Control and Status Registers */ - u8 res5[0x1aa00]; - usb83xx_t usb[1]; - tsec83xx_t tsec[2]; - u8 res6[0xA000]; - security83xx_t security; - u8 res7[0xC0000]; -} immap_t; - #elif defined(CONFIG_ARCH_MPC8308) typedef struct immap { sysconf83xx_t sysconf; /* System configuration */
arch/powerpc/include/asm/mpc8xxx_spi.h +0 -1
@@ -11,7 +11,6 @@#include <asm/types.h> #if defined(CONFIG_ARCH_MPC8308 ) || \ - defined(CONFIG_ARCH_MPC8313 ) || \ defined(CONFIG_ARCH_MPC832X ) || \ defined(CONFIG_ARCH_MPC834X )
doc/device-tree-bindings/clock/fsl,mpc83xx-clk.txt +0 -2
@@ -6,8 +6,6 @@ system. Required properties: - compatible: must be one of "fsl,mpc8308-clk", "fsl,mpc8309-clk", - "fsl,mpc8313-clk", - "fsl,mpc8315-clk", "fsl,mpc832x-clk", "fsl,mpc8349-clk", "fsl,mpc8360-clk"
doc/device-tree-bindings/cpu/fsl,mpc83xx.txt +3 -5
@@ -6,8 +6,6 @@ Required properties: - compatible: must be one of "fsl,mpc83xx", "fsl,mpc8308", "fsl,mpc8309", - "fsl,mpc8313", - "fsl,mpc8315", "fsl,mpc832x", "fsl,mpc8349", "fsl,mpc8360"
@@ -18,15 +16,15 @@ Required properties: Example: socclocks: clocks { - compatible = "fsl,mpc8315-clk"; + compatible = "fsl,mpc832x-clk"; #clock-cells = <1>; }; cpus { compatible = "cpu_bus"; - PowerPC,8315@0 { - compatible = "fsl,mpc8315"; + PowerPC,8321@0 { + compatible = "fsl,mpc832x"; clocks = <&socclocks MPC83XX_CLK_CORE &socclocks MPC83XX_CLK_CSB>; };
drivers/clk/mpc83xx_clk.c +3 -5
@@ -51,7 +51,7 @@ static inline bool is_clk_valid(struct udevice *clk, int id)case MPC83XX_CLK_I2C1 :return true;case MPC83XX_CLK_TDM : -return type ==SOC_MPC8315 ; +return false;case MPC83XX_CLK_SDHC :return mpc83xx_has_sdhc (type);case MPC83XX_CLK_TSEC1 :
@@ -64,9 +64,9 @@ static inline bool is_clk_valid(struct udevice *clk, int id)case MPC83XX_CLK_PCIEXP1 :return mpc83xx_has_pcie1 (type);case MPC83XX_CLK_PCIEXP2 : -return mpc83xx_has_pcie2 (type); +return false;case MPC83XX_CLK_SATA : -return mpc83xx_has_sata (type); +return false;case MPC83XX_CLK_DMAC :return (type ==SOC_MPC8308 ) || (type ==SOC_MPC8309 );case MPC83XX_CLK_PCI :
@@ -321,8 +321,6 @@ const struct clk_ops mpc83xx_clk_ops = {static const struct udevice_id mpc83xx_clk_match[] = { { .compatible ="fsl,mpc8308-clk" , .data =SOC_MPC8308 }, { .compatible ="fsl,mpc8309-clk" , .data =SOC_MPC8309 }, - { .compatible ="fsl,mpc8313-clk" , .data =SOC_MPC8313 }, - { .compatible ="fsl,mpc8315-clk" , .data =SOC_MPC8315 }, { .compatible ="fsl,mpc832x-clk" , .data =SOC_MPC832X }, { .compatible ="fsl,mpc8349-clk" , .data =SOC_MPC8349 }, { .compatible ="fsl,mpc8360-clk" , .data =SOC_MPC8360 },
drivers/clk/mpc83xx_clk.h +3 -5
@@ -204,10 +204,8 @@ static int retrieve_mode(int clk, int soc_type, struct clk_mode *mode)set_mode (mode,0 ,1 ,TYPE_SCCR_STANDARD );break ;case MPC83XX_CLK_TSEC2 : -if (soc_type ==SOC_MPC8313 )/* I2C and TSEC2 are the same register */ -set_mode (mode,2 ,3 ,TYPE_SCCR_STANDARD ); -else /* FIXME([email protected]): This has separate enable/disable bit! */ -set_mode (mode,0 ,1 ,TYPE_SCCR_STANDARD ); +/* FIXME([email protected]): This has separate enable/disable bit! */ +set_mode (mode,0 ,1 ,TYPE_SCCR_STANDARD );break ;case MPC83XX_CLK_SDHC :set_mode (mode,4 ,5 ,TYPE_SCCR_STANDARD );
@@ -228,7 +226,7 @@ static int retrieve_mode(int clk, int soc_type, struct clk_mode *mode)set_mode (mode,12 ,13 ,TYPE_SCCR_STANDARD );break ;case MPC83XX_CLK_USBDR : -if (soc_type ==SOC_MPC8313 || soc_type ==SOC_MPC8349 ) +if (soc_type ==SOC_MPC8349 )set_mode (mode,10 ,11 ,TYPE_SCCR_STANDARD );else set_mode (mode,8 ,9 ,TYPE_SCCR_STANDARD );
drivers/cpu/mpc83xx_cpu.c +0 -17
@@ -70,9 +70,6 @@ static inline void determine_family(const struct udevice *dev)case 0x811 : priv->family =FAMILY_830X ;break ; -case 0x80B : - priv->family =FAMILY_831X ; -break ;case 0x806 : priv->family =FAMILY_832X ;break ;
@@ -108,18 +105,6 @@ static inline void determine_type(const struct udevice *dev)case 0x8110 : priv->type =TYPE_8309 ;break ; -case 0x80B2 : - priv->type =TYPE_8311 ; -break ; -case 0x80B0 : - priv->type =TYPE_8313 ; -break ; -case 0x80B6 : - priv->type =TYPE_8314 ; -break ; -case 0x80B4 : - priv->type =TYPE_8315 ; -break ;case 0x8066 : priv->type =TYPE_8321 ;break ;
@@ -321,8 +306,6 @@ static const struct udevice_id mpc83xx_cpu_ids[] = { { .compatible = "fsl,mpc83xx", }, { .compatible = "fsl,mpc8308", }, { .compatible = "fsl,mpc8309", }, - { .compatible = "fsl,mpc8313", }, - { .compatible = "fsl,mpc8315", }, { .compatible = "fsl,mpc832x", }, { .compatible = "fsl,mpc8349", }, { .compatible = "fsl,mpc8360", },
drivers/cpu/mpc83xx_cpu.h +0 -14
@@ -35,7 +35,6 @@ static const char * const e300_names[] = {/** * enum mpc83xx_cpu_family - Identifiers for MPC83xx CPU families * @FAMILY_830X: Identifier for the MPC830x CPU family -* @FAMILY_831X: Identifier for the MPC831x CPU family * @FAMILY_832X: Identifier for the MPC832x CPU family * @FAMILY_834X: Identifier for the MPC834x CPU family * @FAMILY_836X: Identifier for the MPC836x CPU family
@@ -43,7 +42,6 @@ static const char * const e300_names[] = {*/ enum mpc83xx_cpu_family {FAMILY_830X , -FAMILY_831X ,FAMILY_832X ,FAMILY_834X ,FAMILY_836X ,
@@ -54,10 +52,6 @@ enum mpc83xx_cpu_family {* enum mpc83xx_cpu_type - Identifiers for MPC83xx CPU types * @TYPE_8308: Identifier for the MPC8308 CPU type * @TYPE_8309: Identifier for the MPC8309 CPU type -* @TYPE_8311: Identifier for the MPC8311 CPU type -* @TYPE_8313: Identifier for the MPC8313 CPU type -* @TYPE_8314: Identifier for the MPC8314 CPU type -* @TYPE_8315: Identifier for the MPC8315 CPU type * @TYPE_8321: Identifier for the MPC8321 CPU type * @TYPE_8323: Identifier for the MPC8323 CPU type * @TYPE_8343: Identifier for the MPC8343 CPU type
@@ -76,10 +70,6 @@ enum mpc83xx_cpu_family {enum mpc83xx_cpu_type {TYPE_8308 ,TYPE_8309 , -TYPE_8311 , -TYPE_8313 , -TYPE_8314 , -TYPE_8315 ,TYPE_8321 ,TYPE_8323 ,TYPE_8343 ,
@@ -96,10 +86,6 @@ enum mpc83xx_cpu_type {static const char *const cpu_type_names[] = { [TYPE_8308 ] ="8308" , [TYPE_8309 ] ="8309" , - [TYPE_8311 ] ="8311" , - [TYPE_8313 ] ="8313" , - [TYPE_8314 ] ="8314" , - [TYPE_8315 ] ="8315" , [TYPE_8321 ] ="8321" , [TYPE_8323 ] ="8323" , [TYPE_8343 ] ="8343" ,
drivers/ram/mpc83xx_sdram.c +0 -2
@@ -177,7 +177,6 @@ static int mpc83xx_sdram_static_init(ofnode node, u32 cs, u32 mapaddr, u32 size)case ODT_RD_ONLY_CURRENT :case ODT_RD_ONLY_OTHER_CS :if (!IS_ENABLED (CONFIG_ARCH_MPC830X ) && - !IS_ENABLED (CONFIG_ARCH_MPC831X ) && !IS_ENABLED (CONFIG_ARCH_MPC8360 )) {debug ("%s: odt_rd_cfg value %d invalid.\n" ,ofnode_get_name (node), odt_rd_cfg);
@@ -206,7 +205,6 @@ static int mpc83xx_sdram_static_init(ofnode node, u32 cs, u32 mapaddr, u32 size)case ODT_WR_ONLY_CURRENT :case ODT_WR_ONLY_OTHER_CS :if (!IS_ENABLED (CONFIG_ARCH_MPC830X ) && - !IS_ENABLED (CONFIG_ARCH_MPC831X ) && !IS_ENABLED (CONFIG_ARCH_MPC8360 )) {debug ("%s: odt_wr_cfg value %d invalid.\n" ,ofnode_get_name (node), odt_wr_cfg);
include/mpc83xx.h +7 -65
121 lines not on this page · raw message
Signature · 1 line
2.47.3
PATCH v3 21/26 powerpc: mpc83xx: Remove MPC834x support
In reply to Bradley MorganNo board selects ARCH_MPC834X, and the family has no active community maintenance or testing. None of its clock, register or CPU ID paths has a consumer.
Remove the family code.
--- arch/powerpc/cpu/mpc83xx/Kconfig | 4 - arch/powerpc/cpu/mpc83xx/cpu.c | 7 +- arch/powerpc/cpu/mpc83xx/cpu_init.c | 12 -- arch/powerpc/cpu/mpc83xx/fdt.c | 5 +- arch/powerpc/cpu/mpc83xx/initreg/Kconfig.lcrr | 4 +- arch/powerpc/cpu/mpc83xx/pci.c | 2 - arch/powerpc/cpu/mpc83xx/spd_sdram.c | 2 +- arch/powerpc/cpu/mpc83xx/speed.c | 58 +----- arch/powerpc/cpu/mpc83xx/traps.c | 1 - arch/powerpc/include/asm/arch-mpc83xx/gpio.h | 2 - arch/powerpc/include/asm/arch-mpc83xx/soc.h | 4 +- arch/powerpc/include/asm/fsl_lbc.h | 10 +- arch/powerpc/include/asm/global_data.h | 6 +- arch/powerpc/include/asm/immap_83xx.h | 43 +---- arch/powerpc/include/asm/mpc8349_pci.h | 165 ------------------ arch/powerpc/include/asm/mpc8xxx_spi.h | 3 +- doc/README.mpc83xxads | 97 ---------- .../clock/fsl,mpc83xx-clk.txt | 1 - doc/device-tree-bindings/cpu/fsl,mpc83xx.txt | 1 - drivers/clk/mpc83xx_clk.c | 3 - drivers/clk/mpc83xx_clk.h | 13 +- drivers/cpu/mpc83xx_cpu.c | 28 +-- drivers/cpu/mpc83xx_cpu.h | 16 -- drivers/pci/pci_auto.c | 14 -- include/dt-bindings/clk/mpc83xx-clk.h | 1 - include/mpc83xx.h | 136 +-------------- 26 files changed, 28 insertions(+), 610 deletions(-) delete mode 100644 arch/powerpc/include/asm/mpc8349_pci.h delete mode 100644 doc/README.mpc83xxads
arch/powerpc/cpu/mpc83xx/Kconfig +0 -4
@@ -131,10 +131,6 @@ config ARCH_MPC832X select MPC83XX_PCI_SUPPORT select SYS_CACHE_SHIFT_5 -config ARCH_MPC834X - bool - select SYS_CACHE_SHIFT_5 - config ARCH_MPC8360 bool select MPC83XX_QUICC_ENGINE
arch/powerpc/cpu/mpc83xx/cpu.c +1 -6
@@ -50,10 +50,6 @@ int checkcpu(void)CPU_TYPE_ENTRY (8309 ),CPU_TYPE_ENTRY (8321 ),CPU_TYPE_ENTRY (8323 ), -CPU_TYPE_ENTRY (8343 ), - CPU_TYPE_ENTRY(8347_TBGA_), - CPU_TYPE_ENTRY(8347_PBGA_), -CPU_TYPE_ENTRY (8349 ), CPU_TYPE_ENTRY(8358_TBGA_), CPU_TYPE_ENTRY(8358_PBGA_), CPU_TYPE_ENTRY(8360),
@@ -96,8 +92,7 @@ int checkcpu(void)puts (cpu_type_list[i].name);if (IS_E_PROCESSOR (spridr))puts ("E" ); -if ((SPR_FAMILY (spridr) ==SPR_834X_FAMILY || -SPR_FAMILY (spridr) ==SPR_836X_FAMILY ) && +if (SPR_FAMILY (spridr) ==SPR_836X_FAMILY &&REVID_MAJOR (spridr) >=2 )puts ("A" ); printf(", Rev: %d.%d", REVID_MAJOR(spridr),
arch/powerpc/cpu/mpc83xx/cpu_init.c +0 -12
@@ -84,9 +84,6 @@ void cpu_init_f (volatile immap_t * im)#ifdef CFG_SYS_SCCR_TSEC2CM /* TSEC2 clock mode */ SCCR_TSEC2CM |#endif -#ifdef CONFIG_SYS_SCCR_USBMPHCM /* USB MPH clock mode */ - SCCR_USBMPHCM | -#endif #ifdef CFG_SYS_SCCR_USBDRCM /* USB DR clock mode */ SCCR_USBDRCM |#endif
@@ -116,9 +113,6 @@ void cpu_init_f (volatile immap_t * im)#ifdef CFG_SYS_SCCR_TSEC2CM /* TSEC2 clock mode */ (CFG_SYS_SCCR_TSEC2CM << SCCR_TSEC2CM_SHIFT) | #endif -#ifdef CONFIG_SYS_SCCR_USBMPHCM /* USB MPH clock mode */ - (CONFIG_SYS_SCCR_USBMPHCM << SCCR_USBMPHCM_SHIFT) | -#endif #ifdef CFG_SYS_SCCR_USBDRCM /* USB DR clock mode */ (CFG_SYS_SCCR_USBDRCM << SCCR_USBDRCM_SHIFT) |#endif
@@ -165,14 +159,8 @@ void cpu_init_f (volatile immap_t * im)/* System General Purpose Register */ #ifdef CFG_SYS_SICRH -#if defined(CONFIG_ARCH_MPC834X ) -/* regarding to MPC34x manual rev.1 bits 28..29 must be preserved */ -__raw_writel ((im->sysconf.sicrh &0x0000000C ) |CFG_SYS_SICRH , - &im->sysconf.sicrh); -#else __raw_writel (CFG_SYS_SICRH , &im->sysconf.sicrh);#endif -#endif #ifdef CFG_SYS_SICRL __raw_writel (CFG_SYS_SICRL , &im->sysconf.sicrl);#endif
arch/powerpc/cpu/mpc83xx/fdt.c +2 -3
@@ -38,15 +38,14 @@ void ft_cpu_setup(void *blob, struct bd_info *bd)/* * delete crypto node if not on an E-processor -* initial revisions of the MPC834xE/6xE have the original SEC 2.0. +* Initial revisions of the MPC836xE have the original SEC 2.0. * EA revisions got the SEC uprevved to 2.4 but since the default device * tree contains SEC 2.0 properties we uprev them here. */ if (!IS_E_PROCESSOR (spridr))fdt_fixup_crypto_node (blob,0 );else if (IS_E_PROCESSOR (spridr) && - (SPR_FAMILY (spridr) ==SPR_834X_FAMILY || -SPR_FAMILY (spridr) ==SPR_836X_FAMILY ) && +SPR_FAMILY (spridr) ==SPR_836X_FAMILY &&REVID_MAJOR (spridr) >=2 )fdt_fixup_crypto_node (blob,0x0204 );
arch/powerpc/cpu/mpc83xx/initreg/Kconfig.lcrr +2 -2
@@ -18,7 +18,7 @@ endchoice endif -if ARCH_MPC834X || ARCH_MPC8360 +if ARCH_MPC8360 choice prompt "Additional delay cycles for SDRAM control signals"
@@ -60,7 +60,7 @@ config LCRR_ECL_7 endchoice -endif # ARCH_MPC834X || ARCH_MPC8360 +endif # ARCH_MPC8360 if !ARCH_MPC8308
arch/powerpc/cpu/mpc83xx/pci.c +0 -2
@@ -17,8 +17,6 @@#include <fdt_support.h> #endif -#include <asm/mpc8349_pci.h> -#define MAX_BUSES 2DECLARE_GLOBAL_DATA_PTR ;
arch/powerpc/cpu/mpc83xx/spd_sdram.c +1 -1
@@ -432,7 +432,7 @@ long int spd_sdram()/* * Errata DDR6 work around: input enable 2 cycles earlier. -* including MPC834X Rev1.0/1.1 and MPC8360 Rev1.1/1.2. +* including MPC8360 Rev1.1/1.2. */ if (PVR_MAJ (pvr) <=1 && spd.mem_type ==SPD_MEMTYPE_DDR ){if (caslat ==2 )
arch/powerpc/cpu/mpc83xx/speed.c +7 -51
119 lines not on this page · raw message
arch/powerpc/cpu/mpc83xx/traps.c +0 -1
@@ -16,7 +16,6 @@#include <command.h> #include <kgdb.h> #include <asm/processor.h> -#include <asm/mpc8349_pci.h> DECLARE_GLOBAL_DATA_PTR ;
arch/powerpc/include/asm/arch-mpc83xx/gpio.h +0 -2
@@ -8,8 +8,6 @@*/ #if defined(CONFIG_ARCH_MPC8308 )#define MPC83XX_GPIO_CTRLRS 1 -#elif defined(CONFIG_ARCH_MPC834X ) -#define MPC83XX_GPIO_CTRLRS 2#else #define MPC83XX_GPIO_CTRLRS 0#endif
arch/powerpc/include/asm/arch-mpc83xx/soc.h +1 -3
@@ -11,7 +11,6 @@ enum soc_type {SOC_MPC8308 ,SOC_MPC8309 ,SOC_MPC832X , -SOC_MPC8349 , SOC_MPC8360, };
@@ -23,8 +22,7 @@ static inline bool mpc83xx_has_sdhc(int type)static inline bool mpc83xx_has_tsec (int type) { -return (type ==SOC_MPC8308 ) || - (type ==SOC_MPC8349 ); +return type ==SOC_MPC8308 ; }static inline bool mpc83xx_has_pcie1 (int type)
arch/powerpc/include/asm/fsl_lbc.h +2 -8
@@ -40,10 +40,10 @@ void lbc_sdram_init(void);#define BR_MSEL 0x000000E0#define BR_MSEL_SHIFT 5#define BR_MS_GPCM 0x00000000/* GPCM */ -#if !defined(CONFIG_ARCH_MPC834X ) && !defined(CONFIG_ARCH_MPC8360 ) +#if !defined(CONFIG_ARCH_MPC8360 )#define BR_MS_FCM 0x00000020/* FCM */ #endif -#if defined(CONFIG_ARCH_MPC834X ) || defined(CONFIG_ARCH_MPC8360 ) +#if defined(CONFIG_ARCH_MPC8360 )#define BR_MS_SDRAM 0x00000060/* SDRAM */ #elif defined(CONFIG_MPC85xx)#define BR_MS_SDRAM 0x00000000/* SDRAM */
@@ -51,10 +51,8 @@ void lbc_sdram_init(void);#define BR_MS_UPMA 0x00000080/* UPMA */ #define BR_MS_UPMB 0x000000A0/* UPMB */ #define BR_MS_UPMC 0x000000C0/* UPMC */ -#if !defined(CONFIG_ARCH_MPC834X )#define BR_ATOM 0x0000000C#define BR_ATOM_SHIFT 2 -#endif #define BR_V 0x00000001#define BR_V_SHIFT 0
@@ -64,11 +62,7 @@ void lbc_sdram_init(void);#define UPMB 1#define UPMC 2 -#if defined(CONFIG_ARCH_MPC834X ) -#define BR_RES ~(BR_BA | BR_PS | BR_DECC | BR_WP | BR_MSEL | BR_V) -#else #define BR_RES ~(BR_BA | BR_PS | BR_DECC | BR_WP | BR_MSEL | BR_ATOM | BR_V) -#endif /* Convert an address into the right format for the BR registers */ #if defined(CONFIG_PHYS_64BIT ) && !defined(CONFIG_FSL_ELBC )
arch/powerpc/include/asm/global_data.h +1 -5
@@ -26,15 +26,11 @@ struct arch_global_data {#else /* There are other clocks in the MPC83XX */ u32 csb_clk; -# if defined(CONFIG_ARCH_MPC8308 ) || \ - defined(CONFIG_ARCH_MPC834X ) +# if defined(CONFIG_ARCH_MPC8308 )u32 tsec1_clk;u32 tsec2_clk;u32 usbdr_clk;# endif -# if defined(CONFIG_ARCH_MPC834X ) -u32 usbmph_clk; -# endif /* CONFIG_ARCH_MPC834X */ u32 core_clk;u32 enc_clk;u32 lbiu_clk;
arch/powerpc/include/asm/immap_83xx.h +1 -42
49 lines not on this page · raw message
arch/powerpc/include/asm/mpc8349_pci.h deleted +0 -165
165 lines not on this page · raw message
arch/powerpc/include/asm/mpc8xxx_spi.h +1 -2
@@ -11,8 +11,7 @@#include <asm/types.h> #if defined(CONFIG_ARCH_MPC8308) || \ - defined(CONFIG_ARCH_MPC832X) || \ - defined(CONFIG_ARCH_MPC834X) + defined(CONFIG_ARCH_MPC832X) typedef struct spi8xxx { u8 res0[0x20]; /* 0x0-0x01f reserved */
doc/README.mpc83xxads deleted +0 -97
97 lines not on this page · raw message
doc/device-tree-bindings/clock/fsl,mpc83xx-clk.txt +0 -1
@@ -7,7 +7,6 @@ Required properties: - compatible: must be one of "fsl,mpc8308-clk", "fsl,mpc8309-clk", "fsl,mpc832x-clk", - "fsl,mpc8349-clk", "fsl,mpc8360-clk" depending on which SoC is employed - #clock-cells: Must be 1
doc/device-tree-bindings/cpu/fsl,mpc83xx.txt +0 -1
@@ -7,7 +7,6 @@ Required properties: "fsl,mpc8308", "fsl,mpc8309", "fsl,mpc832x", - "fsl,mpc8349", "fsl,mpc8360" - clocks: has to have two entries, which must be the core clock at index 0 and the CSB (Coherent System Bus) clock at index 1. Both are given by a suitable
drivers/clk/mpc83xx_clk.c +0 -3
@@ -59,8 +59,6 @@ static inline bool is_clk_valid(struct udevice *clk, int id)return mpc83xx_has_tsec (type);case MPC83XX_CLK_USBDR :return type ==SOC_MPC8360 ; -case MPC83XX_CLK_USBMPH : -return type ==SOC_MPC8349 ;case MPC83XX_CLK_PCIEXP1 :return mpc83xx_has_pcie1 (type);case MPC83XX_CLK_PCIEXP2 :
@@ -322,7 +320,6 @@ static const struct udevice_id mpc83xx_clk_match[] = { { .compatible = "fsl,mpc8308-clk", .data = SOC_MPC8308 }, { .compatible = "fsl,mpc8309-clk", .data = SOC_MPC8309 }, { .compatible = "fsl,mpc832x-clk", .data = SOC_MPC832X }, - { .compatible = "fsl,mpc8349-clk", .data = SOC_MPC8349 }, { .compatible = "fsl,mpc8360-clk", .data = SOC_MPC8360 }, {/* sentinel */ } };
drivers/clk/mpc83xx_clk.h +2 -11
@@ -125,7 +125,6 @@ static const char * const names[] = { [MPC83XX_CLK_TSEC1] = "TSEC1", [MPC83XX_CLK_TSEC2] = "TSEC2", [MPC83XX_CLK_USBDR] = "USB DR", - [MPC83XX_CLK_USBMPH] = "USB MPH", [MPC83XX_CLK_PCIEXP1] = "PCIEXP1", [MPC83XX_CLK_PCIEXP2] = "PCIEXP2", [MPC83XX_CLK_SATA] = "SATA",
@@ -214,10 +213,8 @@ static int retrieve_mode(int clk, int soc_type, struct clk_mode *mode)set_mode (mode,6 ,7 ,TYPE_SCCR_STANDARD );break ;case MPC83XX_CLK_I2C1 : -if (soc_type ==SOC_MPC8349 ) -set_mode (mode,2 ,3 ,TYPE_SCCR_STANDARD ); -else /* I2C and ENC are the same register */ -set_mode (mode,6 ,7 ,TYPE_SCCR_STANDARD ); +/* I2C and ENC use the same register */ +set_mode (mode,6 ,7 ,TYPE_SCCR_STANDARD );break ;case MPC83XX_CLK_PCIEXP1 :set_mode (mode,10 ,11 ,TYPE_SCCR_STANDARD );
@@ -226,12 +223,6 @@ static int retrieve_mode(int clk, int soc_type, struct clk_mode *mode)set_mode (mode,12 ,13 ,TYPE_SCCR_STANDARD );break ;case MPC83XX_CLK_USBDR : -if (soc_type ==SOC_MPC8349 ) -set_mode (mode,10 ,11 ,TYPE_SCCR_STANDARD ); -else -set_mode (mode,8 ,9 ,TYPE_SCCR_STANDARD ); -break ; -case MPC83XX_CLK_USBMPH :set_mode (mode,8 ,9 ,TYPE_SCCR_STANDARD );break ;case MPC83XX_CLK_PCI :
drivers/cpu/mpc83xx_cpu.c +3 -25
@@ -73,9 +73,6 @@ static inline void determine_family(const struct udevice *dev)case 0x806 : priv->family =FAMILY_832X ;break ; -case 0x803 : - priv->family =FAMILY_834X ; -break ;case 0x804 : priv->family =FAMILY_836X ;break ;
@@ -111,18 +108,6 @@ static inline void determine_type(const struct udevice *dev)case 0x8062 : priv->type =TYPE_8323 ;break ; -case 0x8036 : - priv->type =TYPE_8343 ; -break ; -case 0x8032 : - priv->type =TYPE_8347_TBGA ; -break ; -case 0x8034 : - priv->type =TYPE_8347_PBGA ; -break ; -case 0x8030 : - priv->type =TYPE_8349 ; -break ;case 0x804A : priv->type =TYPE_8358_TBGA ;break ;
@@ -177,13 +162,8 @@ static inline void determine_revid(const struct udevice *dev)u32 REVID_MINOR_MASK ;u32 spridr =get_spridr (); -if (priv->family ==FAMILY_834X ) { -REVID_MAJOR_MASK =0x0000FF00 ; -REVID_MINOR_MASK =0x000000FF ; - }else { -REVID_MAJOR_MASK =0x000000F0 ; -REVID_MINOR_MASK =0x0000000F ; - } +REVID_MAJOR_MASK =0x000000F0 ; +REVID_MINOR_MASK =0x0000000F ; priv->revid.major =bitfield_extract_by_mask (spridr,REVID_MAJOR_MASK ); priv->revid.minor =bitfield_extract_by_mask (spridr,REVID_MINOR_MASK );
@@ -204,8 +184,7 @@ static void determine_cpu_data(const struct udevice *dev)determine_e300_type (dev);determine_revid (dev); -if ((priv->family ==FAMILY_834X || - priv->family ==FAMILY_836X ) && priv->revid.major >=2 ) +if (priv->family ==FAMILY_836X && priv->revid.major >=2 ) priv->is_a_variant = true; priv->is_e_processor = !bitfield_extract_by_mask (spridr,E_FLAG_MASK );
@@ -307,7 +286,6 @@ static const struct udevice_id mpc83xx_cpu_ids[] = { { .compatible = "fsl,mpc8308", }, { .compatible = "fsl,mpc8309", }, { .compatible = "fsl,mpc832x", }, - { .compatible = "fsl,mpc8349", }, { .compatible = "fsl,mpc8360", }, { /* sentinel */ } };
drivers/cpu/mpc83xx_cpu.h +0 -16
@@ -36,14 +36,12 @@ static const char * const e300_names[] = {* enum mpc83xx_cpu_family - Identifiers for MPC83xx CPU families * @FAMILY_830X: Identifier for the MPC830x CPU family * @FAMILY_832X: Identifier for the MPC832x CPU family -* @FAMILY_834X: Identifier for the MPC834x CPU family * @FAMILY_836X: Identifier for the MPC836x CPU family * @FAMILY_UNKNOWN: Identifier for an unknown MPC83xx CPU family */ enum mpc83xx_cpu_family {FAMILY_830X ,FAMILY_832X , -FAMILY_834X ,FAMILY_836X ,FAMILY_UNKNOWN , };
@@ -54,12 +52,6 @@ enum mpc83xx_cpu_family {* @TYPE_8309: Identifier for the MPC8309 CPU type * @TYPE_8321: Identifier for the MPC8321 CPU type * @TYPE_8323: Identifier for the MPC8323 CPU type -* @TYPE_8343: Identifier for the MPC8343 CPU type -* @TYPE_8347_TBGA: Identifier for the MPC8347 CPU type (Tape Ball Grid Array -* version) -* @TYPE_8347_PBGA: Identifier for the MPC8347 CPU type (Plastic Ball Grid Array -* version) -* @TYPE_8349: Identifier for the MPC8349 CPU type * @TYPE_8358_TBGA: Identifier for the MPC8358 CPU type (Tape Ball Grid Array * version) * @TYPE_8358_PBGA: Identifier for the MPC8358 CPU type (Plastic Ball Grid Array
@@ -72,10 +64,6 @@ enum mpc83xx_cpu_type {TYPE_8309 ,TYPE_8321 ,TYPE_8323 , -TYPE_8343 , -TYPE_8347_TBGA , -TYPE_8347_PBGA , -TYPE_8349 ,TYPE_8358_TBGA ,TYPE_8358_PBGA , TYPE_8360,
@@ -88,10 +76,6 @@ static const char * const cpu_type_names[] = { [TYPE_8309] = "8309", [TYPE_8321] = "8321", [TYPE_8323] = "8323", - [TYPE_8343] = "8343", - [TYPE_8347_TBGA] = "8347_TBGA", - [TYPE_8347_PBGA] = "8347_PBGA", - [TYPE_8349] = "8349", [TYPE_8358_TBGA] = "8358_TBGA", [TYPE_8358_PBGA] = "8358_PBGA", [TYPE_8360] = "8360",
drivers/pci/pci_auto.c +0 -14
@@ -567,20 +567,6 @@ int dm_pciauto_config_device(struct udevice *dev) PCI_DEV(dm_pci_get_bdf(dev)));break ;#endif -#if defined(CONFIG_ARCH_MPC834X ) -case PCI_CLASS_BRIDGE_OTHER : -/* -* The host/PCI bridge 1 seems broken in 8349 - it presents -* itself as 'PCI_CLASS_BRIDGE_OTHER' and appears as an _agent_ -* device claiming resources io/mem/irq.. we only allow for -* the PIMMR window to be allocated (BAR0 - 1MB size) -*/ -debug ("PCI Autoconfig: Broken bridge found, only minimal config\n" ); -dm_pciauto_setup_device (dev,0 , hose->pci_mem, - hose->pci_prefetch, hose->pci_io); -break ; -#endif -default :dm_pciauto_setup_device (dev, pci_mem, pci_prefetch, pci_io);break ;
include/dt-bindings/clk/mpc83xx-clk.h +0 -1
@@ -22,7 +22,6 @@#define MPC83XX_CLK_TSEC1 13#define MPC83XX_CLK_TSEC2 14#define MPC83XX_CLK_USBDR 15 -#define MPC83XX_CLK_USBMPH 16#define MPC83XX_CLK_PCIEXP1 17#define MPC83XX_CLK_PCIEXP2 18#define MPC83XX_CLK_SATA 19
include/mpc83xx.h +4 -132
192 lines not on this page · raw message
Signature · 1 line
2.47.3
PATCH v3 22/26 powerpc: mpc85xx: Remove P1024 support
In reply to Bradley MorganNo target in the tree selects ARCH_P1024, and the variant is unmaintained. Its timing branch and SoC defaults still hang around in the shared P1020 code.
Drop those paths.
--- arch/Kconfig | 2 +- arch/powerpc/cpu/mpc85xx/Kconfig | 27 -------------------- arch/powerpc/cpu/mpc85xx/Makefile | 1 - arch/powerpc/cpu/mpc8xxx/cpu.c | 1 - arch/powerpc/include/asm/processor.h | 1 - board/nxp/p1_p2_rdb_pc/README | 1 - board/nxp/p1_p2_rdb_pc/ddr.c | 37 ---------------------------- doc/README.mpc85xx-sd-spi-boot | 1 - 8 files changed, 1 insertion(+), 70 deletions(-)
arch/Kconfig +1 -1
@@ -470,7 +470,7 @@ config SYS_IMMR default 0xE0000000 if MPC83xx default 0x01000000 if ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3 default 0xFFE00000 if ARCH_P1010 || ARCH_P1020 || \ - ARCH_P1021 || ARCH_P1024 || \ + ARCH_P1021 || \ ARCH_P2020 default SYS_CCSRBAR_DEFAULT help
arch/powerpc/cpu/mpc85xx/Kconfig +0 -27
@@ -392,29 +392,6 @@ config ARCH_P1021 imply CMD_REGINFO imply SATA_SIL -config ARCH_P1024 - bool - select FSL_LAW - select SYS_FSL_ERRATUM_A004508 - select SYS_FSL_ERRATUM_A005125 - select SYS_FSL_ERRATUM_ELBC_A001 - select SYS_FSL_ERRATUM_ESDHC111 - select FSL_PCIE_DISABLE_ASPM - select FSL_PCIE_RESET - select SYS_FSL_HAS_DDR3 - select SYS_FSL_HAS_SEC - select SYS_FSL_RMU - select SYS_FSL_SEC_BE - select SYS_FSL_SEC_COMPAT_2 - select SYS_PPC_E500_USE_DEBUG_TLB - select FSL_ELBC - imply CMD_EEPROM - imply CMD_NAND - imply SATA - imply CMD_PCI - imply CMD_REGINFO - imply SATA_SIL - config ARCH_P2020 bool select BTB
@@ -710,7 +687,6 @@ config MAX_CPUS default 2 if ARCH_B4420 || \ ARCH_P1020 || \ ARCH_P1021 || \ - ARCH_P1024 || \ ARCH_P2020 || \ ARCH_T1024 default 1
@@ -728,7 +704,6 @@ config SYS_CCSRBAR_DEFAULT ARCH_P1010 || \ ARCH_P1020 || \ ARCH_P1021 || \ - ARCH_P1024 || \ ARCH_P2020 default 0xfe000000 if ARCH_B4420 || \ ARCH_B4860 || \
@@ -933,7 +908,6 @@ config SYS_FSL_NUM_LAWS ARCH_P1010 || \ ARCH_P1020 || \ ARCH_P1021 || \ - ARCH_P1024 || \ ARCH_P2020 default 10 if ARCH_MPC8544 help
@@ -1042,7 +1016,6 @@ config SYS_PPC_E500_DEBUG_TLB default 0 if ARCH_MPC8544 default 2 if ARCH_P1020 || \ ARCH_P1021 || \ - ARCH_P1024 || \ ARCH_P2020 default 3 if ARCH_P1010 help
arch/powerpc/cpu/mpc85xx/Makefile +0 -1
@@ -55,7 +55,6 @@ obj-$(CONFIG_ARCH_MPC8544) += mpc8544_serdes.o obj-$(CONFIG_ARCH_P1010) += p1010_serdes.o obj-$(CONFIG_ARCH_P1020) += p1021_serdes.o obj-$(CONFIG_ARCH_P1021) += p1021_serdes.o -obj-$(CONFIG_ARCH_P1024) += p1021_serdes.o obj-$(CONFIG_ARCH_P2020) += p2020_serdes.o obj-$(CONFIG_ARCH_P2041) += p2041_serdes.o obj-$(CONFIG_ARCH_T4240) += t4240_serdes.o
arch/powerpc/cpu/mpc8xxx/cpu.c +0 -1
@@ -45,7 +45,6 @@ static struct cpu_type cpu_type_list[] = {CPU_TYPE_ENTRY (P1020 ,P1020 ,2 ),CPU_TYPE_ENTRY (P1021 ,P1021 ,2 ),CPU_TYPE_ENTRY (P1022 ,P1022 ,2 ), -CPU_TYPE_ENTRY (P1024 ,P1024 ,2 ),CPU_TYPE_ENTRY (P2010 ,P2010 ,1 ),CPU_TYPE_ENTRY (P2020 ,P2020 ,2 ), CPU_TYPE_ENTRY(P2040, P2040, 4),
arch/powerpc/include/asm/processor.h +0 -1
@@ -1033,7 +1033,6 @@#define SVR_P1020 0x80E400#define SVR_P1021 0x80E401#define SVR_P1022 0x80E600 -#define SVR_P1024 0x80E402#define SVR_P2010 0x80E300#define SVR_P2020 0x80E200#define SVR_P2040 0x821000
board/nxp/p1_p2_rdb_pc/README +0 -1
@@ -5,7 +5,6 @@ P1_P2_RDB_PC represents a set of boards including P1020RDB-PC P1020RDB-PD P1021RDB-PC - P1024RDB They have similar design of P1020RDB but have DDR3 instead of DDR2.
board/nxp/p1_p2_rdb_pc/ddr.c +0 -37
@@ -114,43 +114,6 @@ dimm_params_t ddr_raw_timing = { .refresh_rate_ps = 7800000, .tfaw_ps = 37500, }; -#elif defined(CONFIG_TARGET_P1024RDB ) -/* -* Samsung K4B2G0846C-HCH9 -* The following timing are for "downshift" -* i.e. to use CL9 part as CL7 -* otherwise, tAA, tRCD, tRP will be 13500ps -* and tRC will be 49500ps -*/ -dimm_params_t ddr_raw_timing = { - .n_ranks =1 , - .rank_density =1073741824u , - .capacity =1073741824u , - .primary_sdram_width =32 , - .ec_sdram_width =0 , - .registered_dimm =0 , - .mirrored_dimm =0 , - .n_row_addr =15 , - .n_col_addr =10 , - .n_banks_per_sdram_device =8 , - .edc_config =0 , - .burst_lengths_bitmask =0x0c , - - .tckmin_x_ps =1500 , - .caslat_x =0x3e <<4 ,/* 5,6,7,8,9 */ - .taa_ps =13125 , - .twr_ps =15000 , - .trcd_ps =13125 , - .trrd_ps =6000 , - .trp_ps =13125 , - .tras_ps =36000 , - .trc_ps =49125 , - .trfc_ps =160000 , - .twtr_ps =7500 , - .trtp_ps =7500 , - .refresh_rate_ps =7800000 , - .tfaw_ps =30000 , -};#else #error Missing raw timing data for this board#endif
doc/README.mpc85xx-sd-spi-boot +0 -1
@@ -63,6 +63,5 @@ P1020RDB config_ddr3_1gb_p1_p2_rdb_pc_800M.dat P1010RDB config_ddr3_1gb_p1010rdb_800M.dat P1021RDB config_ddr3_1gb_p1_p2_rdb_pc_800M.dat P1022DS config_ddr3_2gb_p1022ds.dat -P1024RDB config_ddr3_1gb_p1_p2_rdb_pc_667M.dat P1020UTM config_ddr3_1gb_p1_p2_rdb_pc_800M.dat P1020MBG config_ddr3_1gb_p1_p2_rdb_pc_800M.dat
Signature · 1 line
2.47.3
PATCH v3 23/26 powerpc: mpc85xx: Remove BSC9131 support
In reply to Bradley MorganNo target selects ARCH_BSC9131, and the platform lacks active community maintenance. Its mux, LAW and reset register paths have no users.
Remove that family support.
--- arch/Kconfig.nxp | 3 +- arch/powerpc/cpu/mpc85xx/Kconfig | 22 +---- arch/powerpc/cpu/mpc8xxx/cpu.c | 1 - arch/powerpc/include/asm/fsl_law.h | 4 - arch/powerpc/include/asm/immap_85xx.h | 116 -------------------------- board/nxp/common/sdhc_boot.c | 2 +- boot/Kconfig | 2 +- drivers/mmc/Kconfig | 2 +- 8 files changed, 6 insertions(+), 146 deletions(-)
arch/Kconfig.nxp +1 -2
@@ -286,8 +286,7 @@ config SYS_FSL_IFC_BANK_COUNT depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A || \ ARCH_LS1088A || ARCH_LS1021A || ARCH_B4860 || ARCH_B4420 || \ ARCH_T4240 || ARCH_T1040 || ARCH_T1042 || ARCH_T1024 || \ - ARCH_T2080 || ARCH_P1010 || ARCH_BSC9131 - default 3 if ARCH_BSC9131 + ARCH_T2080 || ARCH_P1010 default 4 if ARCH_LS1043A || ARCH_LS1046A || ARCH_B4860 || \ ARCH_B4420 || ARCH_P1010 default 8 if ARCH_LS2080A || ARCH_LS1088A || ARCH_LS1021A || \
arch/powerpc/cpu/mpc85xx/Kconfig +2 -20
@@ -281,22 +281,6 @@ config ARCH_B4860 imply CMD_NAND imply CMD_REGINFO -config ARCH_BSC9131 - bool - select FSL_LAW - select SYS_FSL_DDR_VER_44 - select SYS_FSL_ERRATUM_A004477 - select SYS_FSL_ERRATUM_A005125 - select SYS_FSL_ERRATUM_ESDHC111 - select SYS_FSL_HAS_DDR3 - select SYS_FSL_HAS_SEC - select SYS_FSL_SEC_BE - select SYS_FSL_SEC_COMPAT_4 - select FSL_IFC - imply CMD_EEPROM - imply CMD_NAND - imply CMD_REGINFO - config ARCH_MPC8544 bool select BTB
@@ -699,8 +683,7 @@ config MAX_CPUS config SYS_CCSRBAR_DEFAULT hex "Default CCSRBAR address" - default 0xff700000 if ARCH_BSC9131 || \ - ARCH_MPC8544 || \ + default 0xff700000 if ARCH_MPC8544 || \ ARCH_P1010 || \ ARCH_P1020 || \ ARCH_P1021 || \
@@ -904,8 +887,7 @@ config SYS_FSL_NUM_LAWS default 16 if ARCH_T1024 || \ ARCH_T1040 || \ ARCH_T1042 - default 12 if ARCH_BSC9131 || \ - ARCH_P1010 || \ + default 12 if ARCH_P1010 || \ ARCH_P1020 || \ ARCH_P1021 || \ ARCH_P2020
arch/powerpc/cpu/mpc8xxx/cpu.c +0 -1
@@ -77,7 +77,6 @@ static struct cpu_type cpu_type_list[] = { CPU_TYPE_ENTRY(T2080, T2080, 0), CPU_TYPE_ENTRY(T2081, T2081, 0), CPU_TYPE_ENTRY(BSC9130, 9130, 1), - CPU_TYPE_ENTRY(BSC9131, 9131, 1), CPU_TYPE_ENTRY(BSC9232, 9232, 2), #elif defined(CONFIG_MPC86xx) CPU_TYPE_ENTRY(8610, 8610, 1),
arch/powerpc/include/asm/fsl_law.h +0 -4
@@ -79,12 +79,8 @@ enum law_trgt_if {LAW_TRGT_IF_PCI =0x00 ,LAW_TRGT_IF_PCI_2 =0x01 ,LAW_TRGT_IF_PCIE_1 =0x02 , -#if defined(CONFIG_ARCH_BSC9131) - LAW_TRGT_IF_OCN_DSP = 0x03, -#else #if !defined(CONFIG_ARCH_P2020)LAW_TRGT_IF_PCIE_3 =0x03 , -#endif #endifLAW_TRGT_IF_LBC =0x04 , LAW_TRGT_IF_CCSR = 0x08,
arch/powerpc/include/asm/immap_85xx.h +0 -116
143 lines not on this page · raw message
board/nxp/common/sdhc_boot.c +1 -1
@@ -45,7 +45,7 @@ int mmc_get_env_addr(struct mmc *mmc, int copy, u64 *env_addr)#ifdef CONFIG_ESDHC_HC_BLK_ADDR /* -* On P1010 and BSC9131: +* On P1010: * In High Capacity SD Cards (> 2 GBytes), the 32-bit source address and * code length of these soc specify the memory address in block address * format. Block length is fixed to 512 bytes as per the SD High
boot/Kconfig +1 -1
@@ -1199,7 +1199,7 @@ config FSL_FIXED_MMC_LOCATION config ESDHC_HC_BLK_ADDR def_bool y - depends on FSL_FIXED_MMC_LOCATION && (ARCH_BSC9131 || ARCH_P1010) + depends on FSL_FIXED_MMC_LOCATION && ARCH_P1010 help In High Capacity SD Cards (> 2 GBytes), the 32-bit source address and code length of these soc specify the memory address in block address
drivers/mmc/Kconfig +1 -1
@@ -911,7 +911,7 @@ config FSL_SDHC_V2_3 config FSL_ESDHC bool "Freescale/NXP eSDHC controller support" depends on ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3 || PPC - select FSL_SDHC_V2_3 if ARCH_P1010 || ARCH_BSC9131 + select FSL_SDHC_V2_3 if ARCH_P1010 help This selects support for the eSDHC (Enhanced Secure Digital Host Controller) found on numerous Freescale/NXP SoCs.
Signature · 1 line
2.47.3
PATCH v3 24/26 powerpc: mpc83xx: Remove MPC8309 support
In reply to Bradley MorganNo board selects ARCH_MPC8309, and the SoC is unmaintained. The CPU, clock and GPIO match tables still accepted it.
Remove those stale entries.
--- arch/powerpc/cpu/mpc83xx/cpu.c | 1 - arch/powerpc/include/asm/arch-mpc83xx/soc.h | 7 ++----- doc/device-tree-bindings/clock/fsl,mpc83xx-clk.txt | 1 - doc/device-tree-bindings/cpu/fsl,mpc83xx.txt | 1 - doc/device-tree-bindings/gpio/fsl,mpc83xx-spisel-boot.txt | 4 ++-- drivers/clk/mpc83xx_clk.c | 7 +++---- drivers/cpu/mpc83xx_cpu.c | 4 ---- drivers/cpu/mpc83xx_cpu.h | 3 --- drivers/gpio/mpc83xx_spisel_boot.c | 1 - drivers/qe/qe.c | 1 - include/mpc83xx.h | 1 - 11 files changed, 7 insertions(+), 24 deletions(-)
arch/powerpc/cpu/mpc83xx/cpu.c +0 -1
@@ -47,7 +47,6 @@ int checkcpu(void)u32 partid; } cpu_type_list [] = {CPU_TYPE_ENTRY (8308 ), -CPU_TYPE_ENTRY (8309 ),CPU_TYPE_ENTRY (8321 ),CPU_TYPE_ENTRY (8323 ), CPU_TYPE_ENTRY(8358_TBGA_),
arch/powerpc/include/asm/arch-mpc83xx/soc.h +2 -5
@@ -9,15 +9,13 @@enum soc_type {SOC_MPC8308 , -SOC_MPC8309 ,SOC_MPC832X ,SOC_MPC8360 , };static inline bool mpc83xx_has_sdhc (int type) { -return (type ==SOC_MPC8308 ) || - (type ==SOC_MPC8309 ); +return type ==SOC_MPC8308 ; }static inline bool mpc83xx_has_tsec (int type)
@@ -42,8 +40,7 @@ static inline bool mpc83xx_has_second_i2c(int type)static inline bool mpc83xx_has_quicc_engine (int type) { -return (type ==SOC_MPC8309 ) || - (type ==SOC_MPC832X ) || +return (type ==SOC_MPC832X ) || (type ==SOC_MPC8360 ); }
doc/device-tree-bindings/clock/fsl,mpc83xx-clk.txt +0 -1
@@ -5,7 +5,6 @@ system. Required properties: - compatible: must be one of "fsl,mpc8308-clk", - "fsl,mpc8309-clk", "fsl,mpc832x-clk", "fsl,mpc8360-clk" depending on which SoC is employed
doc/device-tree-bindings/cpu/fsl,mpc83xx.txt +0 -1
@@ -5,7 +5,6 @@ MPC83xx SoCs contain a e300 core as their main processor. Required properties: - compatible: must be one of "fsl,mpc83xx", "fsl,mpc8308", - "fsl,mpc8309", "fsl,mpc832x", "fsl,mpc8360" - clocks: has to have two entries, which must be the core clock at index 0 and
doc/device-tree-bindings/gpio/fsl,mpc83xx-spisel-boot.txt +2 -2
@@ -7,14 +7,14 @@ The SPISEL_BOOT signal is always an output. Required properties: -- compatible: must be "fsl,mpc83xx-spisel-boot" or "fsl,mpc8309-spisel-boot". +- compatible: must be "fsl,mpc83xx-spisel-boot". - reg: must point to the SPI_CS register in the SoC register map. - ngpios: number of gpios provided by driver, normally 1. Example: spisel_boot: spisel_boot@14c { - compatible = "fsl,mpc8309-spisel-boot"; + compatible = "fsl,mpc83xx-spisel-boot"; reg = <0x14c 0x04>; #gpio-cells = <2>; device_type = "gpio";
drivers/clk/mpc83xx_clk.c +3 -4
@@ -47,7 +47,7 @@ static inline bool is_clk_valid(struct udevice *clk, int id)case MPC83XX_CLK_MEM_SEC :return type ==SOC_MPC8360 ;case MPC83XX_CLK_ENC : -return (type ==SOC_MPC8308 ) || (type ==SOC_MPC8309 ); +return type ==SOC_MPC8308 ;case MPC83XX_CLK_I2C1 :return true;case MPC83XX_CLK_TDM :
@@ -66,7 +66,7 @@ static inline bool is_clk_valid(struct udevice *clk, int id)case MPC83XX_CLK_SATA :return false;case MPC83XX_CLK_DMAC : -return (type ==SOC_MPC8308 ) || (type ==SOC_MPC8309 ); +return type ==SOC_MPC8308 ;case MPC83XX_CLK_PCI :/* * FIXME: implement proper support for this.
@@ -78,7 +78,7 @@ static inline bool is_clk_valid(struct udevice *clk, int id)return mpc83xx_has_second_i2c (type);case MPC83XX_CLK_QE :case MPC83XX_CLK_BRG : -return mpc83xx_has_quicc_engine (type) && (type !=SOC_MPC8309 ); +return mpc83xx_has_quicc_engine (type);case MPC83XX_CLK_LCLK :case MPC83XX_CLK_LBIU :case MPC83XX_CLK_CORE :
@@ -318,7 +318,6 @@ const struct clk_ops mpc83xx_clk_ops = {static const struct udevice_id mpc83xx_clk_match[] = { { .compatible ="fsl,mpc8308-clk" , .data =SOC_MPC8308 }, - { .compatible ="fsl,mpc8309-clk" , .data =SOC_MPC8309 }, { .compatible ="fsl,mpc832x-clk" , .data =SOC_MPC832X }, { .compatible ="fsl,mpc8360-clk" , .data =SOC_MPC8360 }, {/* sentinel */ }
drivers/cpu/mpc83xx_cpu.c +0 -4
@@ -99,9 +99,6 @@ static inline void determine_type(const struct udevice *dev)case 0x8100 : priv->type =TYPE_8308 ;break ; -case 0x8110 : - priv->type =TYPE_8309 ; -break ;case 0x8066 : priv->type =TYPE_8321 ;break ;
@@ -284,7 +281,6 @@ static int mpc83xx_cpu_probe(struct udevice *dev)static const struct udevice_id mpc83xx_cpu_ids[] = { { .compatible ="fsl,mpc83xx" , }, { .compatible ="fsl,mpc8308" , }, - { .compatible ="fsl,mpc8309" , }, { .compatible ="fsl,mpc832x" , }, { .compatible ="fsl,mpc8360" , }, {/* sentinel */ }
drivers/cpu/mpc83xx_cpu.h +0 -3
@@ -49,7 +49,6 @@ enum mpc83xx_cpu_family {/** * enum mpc83xx_cpu_type - Identifiers for MPC83xx CPU types * @TYPE_8308: Identifier for the MPC8308 CPU type -* @TYPE_8309: Identifier for the MPC8309 CPU type * @TYPE_8321: Identifier for the MPC8321 CPU type * @TYPE_8323: Identifier for the MPC8323 CPU type * @TYPE_8358_TBGA: Identifier for the MPC8358 CPU type (Tape Ball Grid Array
@@ -61,7 +60,6 @@ enum mpc83xx_cpu_family {*/ enum mpc83xx_cpu_type {TYPE_8308 , -TYPE_8309 ,TYPE_8321 ,TYPE_8323 ,TYPE_8358_TBGA ,
@@ -73,7 +71,6 @@ enum mpc83xx_cpu_type {/* Array mapping the MCP83xx CPUs to their human-readable names */ static const char *const cpu_type_names[] = { [TYPE_8308 ] ="8308" , - [TYPE_8309 ] ="8309" , [TYPE_8321 ] ="8321" , [TYPE_8323 ] ="8323" , [TYPE_8358_TBGA ] ="8358_TBGA" ,
drivers/gpio/mpc83xx_spisel_boot.c +0 -1
@@ -129,7 +129,6 @@ static const struct dm_gpio_ops mpc83xx_spisel_boot_ops = { };static const struct udevice_id mpc83xx_spisel_boot_ids[] = { - { .compatible ="fsl,mpc8309-spisel-boot" }, { .compatible ="fsl,mpc83xx-spisel-boot" }, {/* sentinel */ } };
drivers/qe/qe.c +0 -1
@@ -120,7 +120,6 @@ static void qe_sdma_init(void)* we just need to know what the SNUMs are for the threads. */ static u8 thread_snum[] = { -/* Evthreads 16-29 are not supported in MPC8309 */ 0x04 ,0x05 ,0x0c ,0x0d ,0x14 ,0x15 ,0x1c ,0x1d ,0x24 ,0x25 ,0x2c ,0x2d ,
include/mpc83xx.h +0 -1
@@ -51,7 +51,6 @@#define SPR_FAMILY (spridr) ((spridr & 0xFFF00000) >> 20)#define SPR_8308 0x8100 -#define SPR_8309 0x8110#define SPR_832X_FAMILY 0x806#define SPR_8321 0x8066#define SPR_8323 0x8062
Signature · 1 line
2.47.3
PATCH v3 25/26 powerpc: Remove MPC86xx support
In reply to Bradley MorganNo target in the tree selects MPC86xx, and the architecture lacks active community maintenance or testing. Its CPU, PCI and DMA paths have no consumer. Remove them.
--- api/api_platform-powerpc.c | 2 +- arch/powerpc/cpu/Makefile | 1 - arch/powerpc/cpu/mpc8xxx/Makefile | 1 - arch/powerpc/cpu/mpc8xxx/cpu.c | 8 +------- arch/powerpc/cpu/mpc8xxx/fdt.c | 8 +++----- arch/powerpc/cpu/mpc8xxx/srio.c | 6 ------ arch/powerpc/include/asm/config.h | 1 - arch/powerpc/include/asm/fsl_lbc.h | 2 +- arch/powerpc/include/asm/fsl_pci.h | 7 ------- arch/powerpc/include/asm/global_data.h | 7 +++---- arch/powerpc/include/asm/ppc.h | 14 +------------- arch/powerpc/include/asm/processor.h | 18 ++---------------- arch/powerpc/lib/bdinfo.c | 2 +- arch/powerpc/lib/bootm.c | 7 ------- arch/powerpc/lib/ppccache.S | 4 ++-- arch/powerpc/lib/stack.c | 2 +- common/board_r.c | 2 +- drivers/ddr/fsl/Kconfig | 3 +-- drivers/ddr/fsl/ctrl_regs.c | 1 - drivers/dma/fsl_dma.c | 4 ---- drivers/gpio/mpc8xxx_gpio.c | 1 - drivers/pci/Kconfig | 2 +- env/Kconfig | 2 +- include/asm-generic/u-boot.h | 2 +- include/fsl_immap.h | 2 +- include/pci_ids.h | 4 ---- include/serial.h | 1 - 27 files changed, 22 insertions(+), 92 deletions(-)
api/api_platform-powerpc.c +1 -1
@@ -28,7 +28,7 @@ int platform_sys_info(struct sys_info *si) si->clk_bus = gd->bus_clk; si->clk_cpu = gd->cpu_clk; -#if defined(CONFIG_MPC8xx) || defined(CONFIG_E500 ) || defined(CONFIG_MPC86xx) +#if defined(CONFIG_MPC8xx) || defined(CONFIG_E500 )#define bi_bar bi_immr_base#elif defined(CONFIG_MPC83xx)#define bi_bar bi_immrbar
arch/powerpc/cpu/Makefile +0 -1
@@ -2,4 +2,3 @@ obj-$(CONFIG_MPC83xx) += mpc8xxx/ obj-$(CONFIG_MPC85xx) += mpc8xxx/ -obj-$(CONFIG_MPC86xx) += mpc8xxx/
arch/powerpc/cpu/mpc8xxx/Makefile +0 -1
@@ -18,7 +18,6 @@ obj-$(CONFIG_FSL_LAW) += law.o else obj-$(CONFIG_MPC85xx) += cpu.o -obj-$(CONFIG_MPC86xx) += cpu.o obj-$(CONFIG_OF_LIBFDT) += fdt.o obj-$(CONFIG_FSL_LBC) += fsl_lbc.o
arch/powerpc/cpu/mpc8xxx/cpu.c +1 -7
@@ -2,9 +2,7 @@/* * Copyright 2009-2012 Freescale Semiconductor, Inc. * -* This file is derived from arch/powerpc/cpu/mpc85xx/cpu.c and -* arch/powerpc/cpu/mpc86xx/cpu.c. Basically this file contains -* cpu specific common code for 85xx/86xx processors. +* This file contains CPU-specific code for MPC85xx processors. */ #include <config.h>
@@ -78,10 +76,6 @@ static struct cpu_type cpu_type_list[] = {CPU_TYPE_ENTRY (T2081 ,T2081 ,0 ),CPU_TYPE_ENTRY (BSC9130 ,9130 ,1 ), CPU_TYPE_ENTRY(BSC9232, 9232, 2), -#elif defined(CONFIG_MPC86xx) - CPU_TYPE_ENTRY(8610, 8610, 1), - CPU_TYPE_ENTRY(8641, 8641, 2), - CPU_TYPE_ENTRY(8641D, 8641D, 2), #endif };
arch/powerpc/cpu/mpc8xxx/fdt.c +3 -5
@@ -3,9 +3,7 @@* Copyright 2009-2014 Freescale Semiconductor, Inc. * Copyright 2020 NXP * -* This file is derived from arch/powerpc/cpu/mpc85xx/cpu.c and -* arch/powerpc/cpu/mpc86xx/cpu.c. Basically this file contains -* cpu specific common code for 85xx/86xx processors. +* This file contains CPU-specific common code for MPC85xx processors. */ #include <cpu_func.h>
@@ -16,7 +14,7 @@#include <phy.h> #include <hwconfig.h> -#if defined(CONFIG_MP ) && (defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx)) +#if defined(CONFIG_MP ) && defined(CONFIG_MPC85xx)static int ft_del_cpuhandle (void *blob,int cpuhandle) {int off, ret = -FDT_ERR_NOTFOUND ;
@@ -68,7 +66,7 @@ void ft_fixup_num_cores(void *blob) {debug ("deleted %d extra core entry entries from device tree\n" , del_cores); } -#endif /* defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx) */ +#endif /* defined(CONFIG_MP) && defined(CONFIG_MPC85xx) */ int fdt_fixup_phy_connection (void *blob,int offset,phy_interface_t phyc) {
arch/powerpc/cpu/mpc8xxx/srio.c +0 -6
@@ -39,12 +39,6 @@#define _DEVDISR_SRIO2 MPC85xx_DEVDISR_SRIO#define _DEVDISR_RMU MPC85xx_DEVDISR_RMSG#define CFG_SYS_MPC8xxx_GUTS_ADDR CFG_SYS_MPC85xx_GUTS_ADDR -#elif defined(CONFIG_MPC86xx) -#define _DEVDISR_SRIO1 MPC86xx_DEVDISR_SRIO -#define _DEVDISR_SRIO2 MPC86xx_DEVDISR_SRIO -#define _DEVDISR_RMU MPC86xx_DEVDISR_RMSG -#define CFG_SYS_MPC8xxx_GUTS_ADDR \ - (&((immap_t *)CONFIG_SYS_IMMR)->im_gur)#else #error "No defines for DEVDISR_SRIO"#endif
arch/powerpc/include/asm/config.h +0 -1
@@ -16,7 +16,6 @@#ifndef CFG_MAX_MEM_MAPPED #if defined(CONFIG_E500 ) || \ - defined(CONFIG_MPC86xx) || \ defined(CONFIG_E300 )#define CFG_MAX_MEM_MAPPED ((phys_size_t)2 << 30)#else
arch/powerpc/include/asm/fsl_lbc.h +1 -1
@@ -310,7 +310,7 @@ void lbc_sdram_init(void);#define LCRR_EADC_2 0x00020000#define LCRR_EADC_3 0x00030000#define LCRR_EADC_4 0x00000000 -/* CLKDIV is five bits only on 8536, 8572, and 8610, so far, but the fifth bit +/* CLKDIV is five bits only on 8536 and 8572, so far, but the fifth bit * should always be zero on older parts that have a four bit CLKDIV. */ #define LCRR_CLKDIV 0x0000001F
arch/powerpc/include/asm/fsl_pci.h +0 -7
@@ -258,13 +258,6 @@ int fsl_pcie_init_board(int busno);FT_FSL_PCIE1_SETUP ; \FT_FSL_PCIE2_SETUP ; \FT_FSL_PCIE3_SETUP ; -#elif defined(CONFIG_MPC86xx) -#define FSL_PCI_COMPAT "fsl,mpc8610-pci" -#define FSL_PCIE_COMPAT "fsl,mpc8641-pcie" -#define FT_FSL_PCI_SETUP \ - FT_FSL_PCI1_SETUP; \ - FT_FSL_PCIE1_SETUP; \ - FT_FSL_PCIE2_SETUP;#else #error FT_FSL_PCI_SETUP not defined#endif
arch/powerpc/include/asm/global_data.h +3 -4
@@ -44,12 +44,11 @@ struct arch_global_data {# endif /* CONFIG_ARCH_MPC8360 */ #endif #endif -#if defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx) +#if defined(CONFIG_MPC85xx)u32 lbc_clk;void *cpu; -#endif /* CONFIG_MPC85xx || CONFIG_MPC86xx */ -#if defined(CONFIG_MPC83xx) || defined(CONFIG_MPC85xx) || \ - defined(CONFIG_MPC86xx) +#endif /* CONFIG_MPC85xx */ +#if defined(CONFIG_MPC83xx) || defined(CONFIG_MPC85xx)u32 i2c1_clk;u32 i2c2_clk;#endif
arch/powerpc/include/asm/ppc.h +1 -13
@@ -50,9 +50,7 @@ static inline uint get_svr(void)return mfspr (SVR ); } -#if defined(CONFIG_MPC85xx) || \ - defined(CONFIG_MPC86xx) || \ - defined(CONFIG_MPC83xx) +#if defined(CONFIG_MPC85xx) || defined(CONFIG_MPC83xx)unsigned char in8 (unsigned int );void out8 (unsigned int ,unsigned char );unsigned short in16 (unsigned int );
@@ -84,17 +82,7 @@ void get_sys_info(sys_info_t *);void ft_fixup_cpu (void *,u64 );void ft_fixup_num_cores (void *);#endif -#if defined(CONFIG_MPC86xx) -ulong get_bus_freq (ulong ); -typedef MPC86xx_SYS_INFO sys_info_t ; -void get_sys_info (sys_info_t *); -static inline ulong get_ddr_freq (ulong dummy) -{ -return get_bus_freq (dummy); -} -#else ulong get_ddr_freq (ulong ); -#endif static inline unsigned long get_msr (void ) {
arch/powerpc/include/asm/processor.h +2 -16
@@ -569,11 +569,6 @@#define MCSR_IMPE 0x00800000/* Imprecise Machine Check Exception */ #define ESR_ST 0x00800000/* Store Operation */ -#if defined(CONFIG_MPC86xx) -#define SPRN_MSSCR0 0x3f6 -#define SPRN_MSSSR0 0x3f7 -#endif -#define SPRN_HDBCR0 0x3d0#define SPRN_HDBCR1 0x3d1#define SPRN_HDBCR2 0x3d2
@@ -646,10 +641,7 @@#define L2CR SPRN_L2CR/* PPC 750 L2 control register */ #define LR SPRN_LR#define MBAR SPRN_MBAR/* System memory base address */ -#if defined(CONFIG_MPC86xx) -#define MSSCR0 SPRN_MSSCR0 -#endif -#if defined(CONFIG_E500 ) || defined(CONFIG_MPC86xx) +#if defined(CONFIG_E500 )#define PIR SPRN_PIR#endif #define SVR SPRN_SVR/* System-On-Chip Version Register */
@@ -959,8 +951,6 @@#define PVR_VER_E5500 0x8024#define PVR_VER_E6500 0x8040 -#define PVR_86xx 0x80040000 -#define PVR_VIRTEX5 0x7ff21912/*
@@ -1065,10 +1055,6 @@#define SVR_T2080 0x853000#define SVR_T2081 0x853100 -#define SVR_8610 0x80A000 -#define SVR_8641 0x809000 -#define SVR_8641D 0x809001 -#define SVR_9130 0x860001#define SVR_9131 0x860000#define SVR_9232 0x861400
@@ -1138,7 +1124,7 @@ int fixup_cpu(void);int fsl_qoriq_core_to_cluster (unsigned int core);int fsl_qoriq_dsp_core_to_cluster (unsigned int core); -#if defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx) +#if defined(CONFIG_MPC85xx)#define CPU_TYPE_ENTRY (n, v, nc) \ { .name = #n, .soc_ver = SVR_##v, .num_cores = (nc), \ .mask = (1 << (nc)) - 1 }
arch/powerpc/lib/bdinfo.c +1 -1
@@ -15,7 +15,7 @@ int arch_setup_bdinfo(void) {struct bd_info *bd = gd->bd; -#if defined(CONFIG_E500 ) || defined(CONFIG_MPC86xx) +#if defined(CONFIG_E500 ) bd->bi_immr_base =CONFIG_SYS_IMMR ;/* base of IMMR register */ #endif
arch/powerpc/lib/bootm.c +0 -7
@@ -21,7 +21,6 @@#include <u-boot/zlib.h> #include <bzlib.h> #include <asm/byteorder.h> -#include <asm/mp.h> #include <bootm.h> #include <vxworks.h>
@@ -237,12 +236,6 @@ void boot_prep_vxworks(struct bootm_headers *images)#if defined(CONFIG_MPC85xx)ft_fixup_cpu (images->ft_addr, base + size);ft_fixup_num_cores (images->ft_addr); -#elif defined(CONFIG_MPC86xx) - off =fdt_add_mem_rsv (images->ft_addr, -determine_mp_bootpg (NULL ), (u64 )4096 ); -if (off <0 ) -printf ("## WARNING %s: %s\n" , __func__,fdt_strerror (off)); -ft_fixup_num_cores (images->ft_addr);#endif flush_cache ((unsigned long )images->ft_addr, images->ft_len);#endif
arch/powerpc/lib/ppccache.S +2 -2
@@ -64,7 +64,7 @@ ppcSync: * flush_dcache_range(unsigned long start, unsigned long stop) */ _GLOBAL(flush_dcache_range) -#if defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx) +#if defined(CONFIG_MPC85xx) li r5,L1_CACHE_BYTES-1 andc r3,r3,r5 subf r4,r3,r4
@@ -88,7 +88,7 @@ _GLOBAL(flush_dcache_range) * invalidate_dcache_range(unsigned long start, unsigned long stop) */ _GLOBAL(invalidate_dcache_range) -#if defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx) +#if defined(CONFIG_MPC85xx) li r5,L1_CACHE_BYTES-1 andc r3,r3,r5 subf r4,r3,r4
arch/powerpc/lib/stack.c +1 -1
@@ -33,7 +33,7 @@ int arch_reserve_stacks(void)int arch_setup_dest_addr (void ) { -#if defined(CONFIG_MP ) && (defined(CONFIG_MPC86xx) || defined(CONFIG_E500 )) +#if defined(CONFIG_MP ) && defined(CONFIG_E500 )/* * We need to make sure the location we intend to put secondary core * boot code is reserved and not used by any part of u-boot
common/board_r.c +1 -1
@@ -129,7 +129,7 @@ static int initr_reloc_global_data(void)#elif !defined(CONFIG_SANDBOX ) && !defined(CONFIG_NIOS2 ) monitor_flash_len = (ulong )__init_end - gd->relocaddr;#endif -#if defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx) +#if defined(CONFIG_MPC85xx)/* * The gd->cpu pointer is set to an address in flash before relocation. * We need to update it to point to the same CPU entry in RAM.
drivers/ddr/fsl/Kconfig +1 -2
@@ -93,7 +93,6 @@ config SYS_FSL_DDRC_GEN1 config SYS_FSL_DDRC_GEN2 bool - depends on !MPC86xx help Enable Freescale DDR2 controller.
@@ -150,7 +149,7 @@ config SYS_FSL_DDR2 bool "Freescale DDR2 controller" depends on SYS_FSL_HAS_DDR2 imply DDR_SPD - select SYS_FSL_DDRC_GEN2 if (!MPC86xx && !SYS_FSL_DDRC_GEN3) + select SYS_FSL_DDRC_GEN2 if !SYS_FSL_DDRC_GEN3 config SYS_FSL_DDR1 bool "Freescale DDR1 controller"
drivers/ddr/fsl/ctrl_regs.c +0 -1
@@ -42,7 +42,6 @@* 4 = 20 ohm * 5 = 30 ohm * -* FIXME: Apparently 8641 needs a value of 2 * FIXME: Old code seys if 667 MHz or higher, use 3 on 8572 * * FIXME: There was some effort down this line earlier:
drivers/dma/fsl_dma.c +0 -4
@@ -25,8 +25,6 @@dma83xx_t *dma_base = (void *)(CFG_SYS_MPC83xx_DMA_ADDR);#elif defined(CONFIG_MPC85xx)ccsr_dma_t *dma_base = (void *)(CFG_SYS_MPC85xx_DMA_ADDR); -#elif defined(CONFIG_MPC86xx) -ccsr_dma_t *dma_base = (void *)(CONFIG_SYS_MPC86xx_DMA_ADDR);#else #error "Freescale DMA engine not supported on your processor"#endif
@@ -35,8 +33,6 @@ static void dma_sync(void) {#if defined(CONFIG_MPC85xx) asm("sync; isync; msync" ); -#elif defined(CONFIG_MPC86xx) - asm("sync; isync" );#endif }
drivers/gpio/mpc8xxx_gpio.c +0 -1
@@ -316,7 +316,6 @@ static const struct udevice_id mpc8xxx_gpio_ids[] = { { .compatible = "fsl,mpc8308-gpio", .data = MPC8XXX_GPIO_TYPE }, { .compatible = "fsl,mpc8349-gpio", .data = MPC8XXX_GPIO_TYPE }, { .compatible = "fsl,mpc8572-gpio", .data = MPC8XXX_GPIO_TYPE}, - { .compatible = "fsl,mpc8610-gpio", .data = MPC8XXX_GPIO_TYPE}, { .compatible = "fsl,mpc5121-gpio", .data = MPC5121_GPIO_TYPE, }, { .compatible = "fsl,qoriq-gpio", .data = MPC8XXX_GPIO_TYPE }, { /* sentinel */ }
drivers/pci/Kconfig +1 -1
@@ -187,7 +187,7 @@ config PCIE_FSL depends on PPC help Say Y here if you want to enable PCIe controller support on FSL - PowerPC MPC85xx, MPC86xx, B series, P series and T series SoCs. + PowerPC MPC85xx, B series, P series and T series SoCs. This driver does not support SRIO_PCIE_BOOT feature. config PCI_MPC85XX
env/Kconfig +1 -1
@@ -155,7 +155,7 @@ config ENV_IS_IN_FLASH default y if ARCH_INTEGRATOR_CP default y if M548x || M547x || M5282 default y if MCF532x || MCF52x2 - default y if MPC86xx || MPC83xx + default y if MPC83xx default y if SH && !CPU_SH4 help Define this if you have a flash device which you want to use for the
include/asm-generic/u-boot.h +1 -1
@@ -35,7 +35,7 @@ struct bd_info {unsigned long bi_dsp_freq;/* dsp core frequency */ unsigned long bi_ddr_freq;/* ddr frequency */ #endif -#if defined(CONFIG_MPC8xx) || defined(CONFIG_E500 ) || defined(CONFIG_MPC86xx) +#if defined(CONFIG_MPC8xx) || defined(CONFIG_E500 )unsigned long bi_immr_base;/* base of IMMR register */ #endif #if defined(CONFIG_M68K )
include/fsl_immap.h +1 -1
@@ -12,7 +12,7 @@/* * DDR memory controller registers -* This structure works for mpc83xx (DDR2 and DDR3), mpc85xx, mpc86xx. +* This structure works for mpc83xx (DDR2 and DDR3) and mpc85xx. */ struct ccsr_ddr {u32 cs0_bnds;/* Chip Select 0 Memory Bounds */
include/pci_ids.h +0 -4
@@ -2509,10 +2509,6 @@#define PCI_DEVICE_ID_P5020 0x0421#define PCI_DEVICE_ID_P5010E 0x0428#define PCI_DEVICE_ID_P5010 0x0429 -#define PCI_DEVICE_ID_MPC8641 0x7010 -#define PCI_DEVICE_ID_MPC8641D 0x7011 -#define PCI_DEVICE_ID_MPC8610 0x7018 -#define PCI_VENDOR_ID_PASEMI 0x1959#define PCI_VENDOR_ID_ATTANSIC 0x1969
include/serial.h +0 -1
@@ -28,7 +28,6 @@ extern struct serial_device serial_scc_device;extern struct serial_device *default_serial_console (void );#if defined(CONFIG_MPC83xx) || defined(CONFIG_MPC85xx) || \ - defined(CONFIG_MPC86xx) || \ defined(CONFIG_ARCH_TEGRA ) || defined(CONFIG_SYS_COREBOOT ) || \ defined(CONFIG_MICROBLAZE )extern struct serial_device serial0_device;
Signature · 1 line
2.47.3
PATCH v3 26/26 MAINTAINERS: powerpc: Add me as PowerPC maintainer
In reply to Bradley MorganPowerPC has been orphaned since 2022. Add me as maintainer.
--- MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
MAINTAINERS +2 -1
@@ -1450,7 +1450,8 @@ F: drivers/power/ F: include/power/ POWERPC -S: Orphan (Since 2022-10-21) +M: Bradley Morgan <[email protected]> +S: Maintained F: arch/powerpc/ POWERPC MPC8XX
Signature · 1 line
2.47.3
Quoted 10 lines · Bradley Morgan
PowerPC in U-Boot has been orphaned since October 2022. Several boards and SoC targets in
arch/powerpcappear to have had no active community maintenance or testing for some time.This series proposes removing the targets that are currently unmaintained, to help reduce maintenance overhead and ease treewide work. If any board maintainers or users are still actively testing or relying on a specific board, those removals can easily be skipped.
[...]
Applied to next at u-boot-ppc, Thanks!
[01/25] board: powerpc: Remove MPC8548CDS support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/91332bbfa36c [02/25] board: powerpc: Remove P2020RDB-PC support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/74f4118d5607 [03/25] board: powerpc: Remove P3041DS support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/f345ae08fa06 [04/25] board: powerpc: Remove P4080DS support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/c7492940bf9a [05/25] board: powerpc: Remove P5040DS support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/23f32a1d1eac [06/25] board: powerpc: Remove T1042D4RDB support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/bdad411ca572 [07/25] powerpc: mpc85xx: Remove P3041 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/d63e5fc8303c [08/25] powerpc: mpc85xx: Remove P4080 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/353f7e2edaa1 [09/25] powerpc: mpc85xx: Remove P5040 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/e85e4e0e26b0 [10/25] powerpc: mpc83xx: Remove MPC837x support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/286b4f95a2ca [11/25] powerpc: mpc85xx: Remove C29x support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/ab46013e050e [12/25] powerpc: mpc85xx: Remove P1011 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/244d495b2d72 [13/25] powerpc: mpc85xx: Remove P1023 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/07b36f2f63be [14/25] powerpc: mpc85xx: Remove P1025 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/2bf43c8d082d [15/25] powerpc: mpc85xx: Remove MPC8536 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/9ba511b59ce5 [16/25] powerpc: mpc85xx: Remove MPC8540 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/4e2d7d590196 [17/25] powerpc: mpc85xx: Remove MPC8560 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/b75b1e387d83 [18/25] powerpc: mpc85xx: Remove BSC9132 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/2bc1536a913d [19/25] powerpc: mpc83xx: Remove MPC831x support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/d7f92247c56a [20/25] powerpc: mpc83xx: Remove MPC834x support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/64c720ccc8d3 [21/25] powerpc: mpc85xx: Remove P1024 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/97ab3bbd4979 [22/25] powerpc: mpc85xx: Remove BSC9131 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/afc835c3312b [23/25] powerpc: mpc83xx: Remove MPC8309 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/6e2405d54e5d [24/25] powerpc: Remove MPC86xx support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/dbb43f735a5b [25/25] MAINTAINERS: powerpc: Add me as PowerPC maintainer https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/86b1f677e263
--- Thanks!
Quoted 65 lines · Bradley Morgan
Quoted 5 lines · Bradley Morgan
PowerPC in U-Boot has been orphaned since October 2022. Several boards and SoC targets in
arch/powerpcappear to have had no active community maintenance or testing for some time.This series proposes removing the targets that are currently
unmaintained,
Quoted 5 lines
to help reduce maintenance overhead and ease treewide work. If any board maintainers or users are still actively testing or relying on a specific board, those removals can easily be skipped.
[...]
Applied to next at u-boot-ppc, Thanks!
[01/25] board: powerpc: Remove MPC8548CDS support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/91332bbfa36c [02/25] board: powerpc: Remove P2020RDB-PC support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/74f4118d5607 [03/25] board: powerpc: Remove P3041DS support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/f345ae08fa06 [04/25] board: powerpc: Remove P4080DS support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/c7492940bf9a [05/25] board: powerpc: Remove P5040DS support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/23f32a1d1eac [06/25] board: powerpc: Remove T1042D4RDB support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/bdad411ca572 [07/25] powerpc: mpc85xx: Remove P3041 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/d63e5fc8303c [08/25] powerpc: mpc85xx: Remove P4080 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/353f7e2edaa1 [09/25] powerpc: mpc85xx: Remove P5040 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/e85e4e0e26b0 [10/25] powerpc: mpc83xx: Remove MPC837x support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/286b4f95a2ca [11/25] powerpc: mpc85xx: Remove C29x support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/ab46013e050e [12/25] powerpc: mpc85xx: Remove P1011 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/244d495b2d72 [13/25] powerpc: mpc85xx: Remove P1023 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/07b36f2f63be [14/25] powerpc: mpc85xx: Remove P1025 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/2bf43c8d082d [15/25] powerpc: mpc85xx: Remove MPC8536 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/9ba511b59ce5 [16/25] powerpc: mpc85xx: Remove MPC8540 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/4e2d7d590196 [17/25] powerpc: mpc85xx: Remove MPC8560 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/b75b1e387d83 [18/25] powerpc: mpc85xx: Remove BSC9132 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/2bc1536a913d [19/25] powerpc: mpc83xx: Remove MPC831x support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/d7f92247c56a [20/25] powerpc: mpc83xx: Remove MPC834x support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/64c720ccc8d3 [21/25] powerpc: mpc85xx: Remove P1024 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/97ab3bbd4979 [22/25] powerpc: mpc85xx: Remove BSC9131 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/afc835c3312b [23/25] powerpc: mpc83xx: Remove MPC8309 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/6e2405d54e5d [24/25] powerpc: Remove MPC86xx support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/dbb43f735a5b [25/25] MAINTAINERS: powerpc: Add me as PowerPC maintainer https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/86b1f677e263
Quoted 1 line
--- Thanks!
Pretty confusing, hmm? Sorry for the confusion, B4 stuff. Heh.
So I would be more than gracious to rebase if anyone was to NAK any patch in this series, I'll wait about one more week then send the PR, maybe two. :)
--- Thanks!
Hi Bradley,
Quoted 69 lines · Bradley Morgan
Quoted 65 lines · Bradley Morgan
Quoted 5 lines · Bradley Morgan
PowerPC in U-Boot has been orphaned since October 2022. Several boards and SoC targets in
arch/powerpcappear to have had no active community maintenance or testing for some time.This series proposes removing the targets that are currently
unmaintained,
Quoted 5 lines
to help reduce maintenance overhead and ease treewide work. If any board maintainers or users are still actively testing or relying on a specific board, those removals can easily be skipped.
[...]
Applied to next at u-boot-ppc, Thanks!
[01/25] board: powerpc: Remove MPC8548CDS support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/91332bbfa36c [02/25] board: powerpc: Remove P2020RDB-PC support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/74f4118d5607 [03/25] board: powerpc: Remove P3041DS support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/f345ae08fa06 [04/25] board: powerpc: Remove P4080DS support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/c7492940bf9a [05/25] board: powerpc: Remove P5040DS support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/23f32a1d1eac [06/25] board: powerpc: Remove T1042D4RDB support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/bdad411ca572 [07/25] powerpc: mpc85xx: Remove P3041 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/d63e5fc8303c [08/25] powerpc: mpc85xx: Remove P4080 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/353f7e2edaa1 [09/25] powerpc: mpc85xx: Remove P5040 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/e85e4e0e26b0 [10/25] powerpc: mpc83xx: Remove MPC837x support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/286b4f95a2ca [11/25] powerpc: mpc85xx: Remove C29x support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/ab46013e050e [12/25] powerpc: mpc85xx: Remove P1011 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/244d495b2d72 [13/25] powerpc: mpc85xx: Remove P1023 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/07b36f2f63be [14/25] powerpc: mpc85xx: Remove P1025 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/2bf43c8d082d [15/25] powerpc: mpc85xx: Remove MPC8536 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/9ba511b59ce5 [16/25] powerpc: mpc85xx: Remove MPC8540 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/4e2d7d590196 [17/25] powerpc: mpc85xx: Remove MPC8560 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/b75b1e387d83 [18/25] powerpc: mpc85xx: Remove BSC9132 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/2bc1536a913d [19/25] powerpc: mpc83xx: Remove MPC831x support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/d7f92247c56a [20/25] powerpc: mpc83xx: Remove MPC834x support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/64c720ccc8d3 [21/25] powerpc: mpc85xx: Remove P1024 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/97ab3bbd4979 [22/25] powerpc: mpc85xx: Remove BSC9131 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/afc835c3312b [23/25] powerpc: mpc83xx: Remove MPC8309 support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/6e2405d54e5d [24/25] powerpc: Remove MPC86xx support https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/dbb43f735a5b [25/25] MAINTAINERS: powerpc: Add me as PowerPC maintainer https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/86b1f677e263Quoted 1 line
--- Thanks!
Quoted 5 lines
Pretty confusing, hmm? Sorry for the confusion, B4 stuff. Heh.
So I would be more than gracious to rebase if anyone was to NAK any patch in this series, I'll wait about one more week then send the PR, maybe two. :)
Thanks!
Please give people time to react, as most of powerpc hardware is old, and main business is not anymore powerpc...
I can speak only for the socrates mpc85xx board and it is still in production use. (Luckily not in this series!)
I try to convince customer to give me some time for updating to mainline and may to setup gitlab CI (I have a setup for this including a BDI2000 for recovering board, but need some time to get it up and running... hope I get some).
BTW: Do you have any powerpc hardware (as you volunteer for custodian of *all* powerpc? I do not see much commits from your side in tree...
Also, just finished work on mpc855 board (port to 2026.10, linux 6.18 and yocto wrynose)
Here too, trying to convince customer to get some time for pushing this board to mainline (base dts is already in mainline ./dts/upstream/src/powerpc/tqm8xx.dts u-boot and linux)
bye,
Heiko
Signature · 5 lines
Nabla Software Engineering HRB 40522 Augsburg Phone: +49 821 45592596 E-Mail: [email protected] Geschäftsführer : Stefano Babic
Christophe Leroy (CS GROUP)
reviewerHi Heiko,
Le 01/11/2026 à 07:18, Heiko Schocher a écrit :
Quoted 37 lines
[Vous ne recevez pas souvent de courriers de [email protected]. Découvrez pourquoi ceci est important à https://aka.ms/ LearnAboutSenderIdentification ]
Hi Bradley,
Quoted 15 lines · Bradley Morgan
Quoted 13 lines · Bradley Morgan
Quoted 5 lines · Bradley Morgan
PowerPC in U-Boot has been orphaned since October 2022. Several boards and SoC targets in
arch/powerpcappear to have had no active community maintenance or testing for some time.This series proposes removing the targets that are currently
unmaintained,
Quoted 5 lines
to help reduce maintenance overhead and ease treewide work. If any board maintainers or users are still actively testing or relying on a specific board, those removals can easily be skipped.
[...]
Quoted 8 lines
Quoted 2 lines
Applied to next at u-boot-ppc, Thanks!
Pretty confusing, hmm? Sorry for the confusion, B4 stuff. Heh.
So I would be more than gracious to rebase if anyone was to NAK any patch in this series, I'll wait about one more week then send the PR, maybe two. :)
Thanks!
Please give people time to react, as most of powerpc hardware is old, and main business is not anymore powerpc...
I can speak only for the socrates mpc85xx board and it is still in production use. (Luckily not in this series!)
Quoted 8 lines
I try to convince customer to give me some time for updating to mainline and may to setup gitlab CI (I have a setup for this including a BDI2000 for recovering board, but need some time to get it up and running... hope I get some).
BTW: Do you have any powerpc hardware (as you volunteer for custodian of *all* powerpc? I do not see much commits from your side in tree...
Also, just finished work on mpc855 board (port to 2026.10, linux 6.18 and yocto wrynose)
Don't worry about this one, I'm still maintaining mpc8xx.
Being a bit surprised however. You dropped 8xx support in 2017 without notice with commit 5b8e76c35ec3 ("powerpc, 8xx: remove support for 8xx") and I had a hard time bringing it back.
By the way I only partially brought 8xx back, only for last generation 8xx like 866 and 885 which are the ones we have on our boards. See commit 907208c45299 ("powerpc: Partialy restore core of mpc8xx") for details.
I don't think 855 is supported anymore, at least register PLPRCR comes into my mind.
Christophe
Hi Christophe,
Quoted 44 lines · Christophe Leroy (CS GROUP)
Hi Heiko,
Le 01/11/2026 à 07:18, Heiko Schocher a écrit :
Quoted 41 lines
[Vous ne recevez pas souvent de courriers de [email protected]. Découvrez pourquoi ceci est important à https://aka.ms/ LearnAboutSenderIdentification ]
Hi Bradley,
Quoted 15 lines · Bradley Morgan
Quoted 13 lines · Bradley Morgan
Quoted 5 lines · Bradley Morgan
PowerPC in U-Boot has been orphaned since October 2022. Several boards and SoC targets in
arch/powerpcappear to have had no active community maintenance or testing for some time.This series proposes removing the targets that are currently
unmaintained,
Quoted 5 lines
to help reduce maintenance overhead and ease treewide work. If any board maintainers or users are still actively testing or relying on a specific board, those removals can easily be skipped.
[...]
Quoted 8 lines
Quoted 2 lines
Applied to next at u-boot-ppc, Thanks!
Pretty confusing, hmm? Sorry for the confusion, B4 stuff. Heh.
So I would be more than gracious to rebase if anyone was to NAK any patch in this series, I'll wait about one more week then send the PR, maybe two. :)
Thanks!
Please give people time to react, as most of powerpc hardware is old, and main business is not anymore powerpc...
I can speak only for the socrates mpc85xx board and it is still in production use. (Luckily not in this series!)
I try to convince customer to give me some time for updating to mainline and may to setup gitlab CI (I have a setup for this including a BDI2000 for recovering board, but need some time to get it up and running... hope I get some).
Quoted 6 lines
Quoted 4 lines
BTW: Do you have any powerpc hardware (as you volunteer for custodian of *all* powerpc? I do not see much commits from your side in tree...
Also, just finished work on mpc855 board (port to 2026.10, linux 6.18 and yocto wrynose)
Don't worry about this one, I'm still maintaining mpc8xx.
Thanks for your work!
Quoted 2 lines
Being a bit surprised however. You dropped 8xx support in 2017 without notice with commit
5b8e76c35ec3("powerpc, 8xx: remove support for 8xx") and I had a hard time bringing it back.
Yes, sins of the old days...
Surprisingly customer needed just an update after such a long time to newer u-boot...
Quoted 3 lines
By the way I only partially brought 8xx back, only for last generation 8xx like 866 and 885 which are the ones we have on our boards. See commit
907208c45299("powerpc: Partialy restore core of mpc8xx") for details.I don't think 855 is supported anymore, at least register PLPRCR comes into my mind.
I only activated PLPCR with CONFIG_SYS_PLPRCR Kconfig symbol... and added also support for serial console on SCC1, FEC and flash worked out of the box.
It is currently WIP and hope to finish soon, waiting for a hardware update, as RAM needs an update...
bye,
Heiko
Quoted 3 lines
Christophe
Signature · 5 lines
Nabla Software Engineering HRB 40522 Augsburg Phone: +49 821 45592596 E-Mail: [email protected] Geschäftsführer : Stefano Babic
Quoted 69 lines · Christophe Leroy (CS GROUP)
Hi Heiko,
Le 01/11/2026 à 07:18, Heiko Schocher a écrit :
Quoted 1 line
[Vous ne recevez pas souvent de courriers de [email protected]. Découvrez
pourquoi ceci est important à https://aka.ms/
LearnAboutSenderIdentification ]Quoted 8 lines
Hi Bradley,
Quoted 4 lines · Bradley Morgan
Quoted 2 lines · Bradley Morgan
Quoted 1 line · Bradley Morgan
PowerPC in U-Boot has been orphaned since October 2022. Several
boards
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
and SoC targets in
arch/powerpcappear to have had no activecommunity
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
maintenance or testing for some time.
This series proposes removing the targets that are currently
unmaintained,
Quoted 1 line
to help reduce maintenance overhead and ease treewide work. If any
board
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
maintainers or users are still actively testing or relying on a
specific
Quoted 10 lines
Quoted 10 lines
Quoted 6 lines
Quoted 3 lines
board, those removals can easily be skipped.
[...]
Applied to next at u-boot-ppc, Thanks!
Pretty confusing, hmm? Sorry for the confusion, B4 stuff. Heh.
So I would be more than gracious to rebase if anyone was to NAK any
patch
Quoted 1 line
Quoted 1 line
in this series, I'll wait about one more week then send the PR, maybe
two.
Quoted 5 lines
Quoted 1 line
:)
Thanks!
Please give people time to react, as most of powerpc hardware is old,
and main
Quoted 3 lines
business is not anymore powerpc...
I can speak only for the socrates mpc85xx board and it is still in
production use.
Quoted 3 lines
(Luckily not in this series!)
I try to convince customer to give me some time for updating to mainline
and may to
Quoted 1 line
setup gitlab CI (I have a setup for this including a BDI2000 for
recovering board,
Quoted 3 lines
but need some time to get it up and running... hope I get some).
BTW: Do you have any powerpc hardware (as you volunteer for custodian of
*all* powerpc?
Quoted 3 lines
I do not see much commits from your side in tree...
Also, just finished work on mpc855 board (port to 2026.10, linux 6.18
and yocto wrynose)
Don't worry about this one, I'm still maintaining mpc8xx.
Being a bit surprised however. You dropped 8xx support in 2017 without notice with commit
5b8e76c35ec3("powerpc, 8xx: remove support for 8xx") and I had a hard time bringing it back.
Quoted 6 lines
By the way I only partially brought 8xx back, only for last generation 8xx like 866 and 885 which are the ones we have on our boards. See commit
907208c45299("powerpc: Partialy restore core of mpc8xx") for details.I don't think 855 is supported anymore, at least register PLPRCR comes into my mind.
Hi, thanks for your work!
Your maintainers entry email is stale, would you like me to change your email to your k.o email?
Quoted 3 lines
Christophe
--- Thanks!
Quoted 104 lines · Heiko Schocher
Hi Bradley,
Quoted 10 lines · Bradley Morgan
Quoted 8 lines · Bradley Morgan
Quoted 5 lines · Bradley Morgan
PowerPC in U-Boot has been orphaned since October 2022. Several boards and SoC targets in
arch/powerpcappear to have had no active community maintenance or testing for some time.This series proposes removing the targets that are currently
unmaintained,
Quoted 1 line
to help reduce maintenance overhead and ease treewide work. If any
board
Quoted 1 line
Quoted 1 line
Quoted 1 line
maintainers or users are still actively testing or relying on a
specific
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
board, those removals can easily be skipped.
[...]
Applied to next at u-boot-ppc, Thanks!
[01/25] board: powerpc: Remove MPC8548CDS support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/91332bbfa36c
Quoted 2 lines
Quoted 2 lines
[02/25] board: powerpc: Remove P2020RDB-PC support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/74f4118d5607
Quoted 2 lines
Quoted 2 lines
[03/25] board: powerpc: Remove P3041DS support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/f345ae08fa06
Quoted 2 lines
Quoted 2 lines
[04/25] board: powerpc: Remove P4080DS support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/c7492940bf9a
Quoted 2 lines
Quoted 2 lines
[05/25] board: powerpc: Remove P5040DS support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/23f32a1d1eac
Quoted 2 lines
Quoted 2 lines
[06/25] board: powerpc: Remove T1042D4RDB support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/bdad411ca572
Quoted 2 lines
Quoted 2 lines
[07/25] powerpc: mpc85xx: Remove P3041 support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/d63e5fc8303c
Quoted 2 lines
Quoted 2 lines
[08/25] powerpc: mpc85xx: Remove P4080 support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/353f7e2edaa1
Quoted 2 lines
Quoted 2 lines
[09/25] powerpc: mpc85xx: Remove P5040 support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/e85e4e0e26b0
Quoted 2 lines
Quoted 2 lines
[10/25] powerpc: mpc83xx: Remove MPC837x support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/286b4f95a2ca
Quoted 2 lines
Quoted 2 lines
[11/25] powerpc: mpc85xx: Remove C29x support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/ab46013e050e
Quoted 2 lines
Quoted 2 lines
[12/25] powerpc: mpc85xx: Remove P1011 support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/244d495b2d72
Quoted 2 lines
Quoted 2 lines
[13/25] powerpc: mpc85xx: Remove P1023 support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/07b36f2f63be
Quoted 2 lines
Quoted 2 lines
[14/25] powerpc: mpc85xx: Remove P1025 support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/2bf43c8d082d
Quoted 2 lines
Quoted 2 lines
[15/25] powerpc: mpc85xx: Remove MPC8536 support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/9ba511b59ce5
Quoted 2 lines
Quoted 2 lines
[16/25] powerpc: mpc85xx: Remove MPC8540 support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/4e2d7d590196
Quoted 2 lines
Quoted 2 lines
[17/25] powerpc: mpc85xx: Remove MPC8560 support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/b75b1e387d83
Quoted 2 lines
Quoted 2 lines
[18/25] powerpc: mpc85xx: Remove BSC9132 support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/2bc1536a913d
Quoted 2 lines
Quoted 2 lines
[19/25] powerpc: mpc83xx: Remove MPC831x support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/d7f92247c56a
Quoted 2 lines
Quoted 2 lines
[20/25] powerpc: mpc83xx: Remove MPC834x support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/64c720ccc8d3
Quoted 2 lines
Quoted 2 lines
[21/25] powerpc: mpc85xx: Remove P1024 support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/97ab3bbd4979
Quoted 2 lines
Quoted 2 lines
[22/25] powerpc: mpc85xx: Remove BSC9131 support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/afc835c3312b
Quoted 2 lines
Quoted 2 lines
[23/25] powerpc: mpc83xx: Remove MPC8309 support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/6e2405d54e5d
Quoted 2 lines
Quoted 2 lines
[24/25] powerpc: Remove MPC86xx support
https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/dbb43f735a5b
Quoted 2 lines
Quoted 2 lines
[25/25]
MAINTAINERS: powerpc: Add me as PowerPC maintainerhttps://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/86b1f677e263
Quoted 5 lines
Quoted 1 line
--- Thanks!
Pretty confusing, hmm? Sorry for the confusion, B4 stuff. Heh.
So I would be more than gracious to rebase if anyone was to NAK any
patch
Quoted 1 line
in this series, I'll wait about one more week then send the PR, maybe
Quoted 8 lines
two.
Quoted 1 line
:)
Thanks!
Please give people time to react, as most of powerpc hardware is old, and main
business is not anymore powerpc...
Apologies for late respond, lets have a look.
Quoted 4 lines
I can speak only for the socrates mpc85xx board and it is still in production use.
(Luckily not in this series!)
Thanks for showing your interest.
Quoted 7 lines
I try to convince customer to give me some time for updating to mainline and may to
setup gitlab CI (I have a setup for this including a BDI2000 for recovering board,
but need some time to get it up and running... hope I get some).
Makes sense.
Quoted 2 lines
BTW: Do you have any powerpc hardware (as you volunteer for custodian of *all* powerpc? I do not see much commits from your side in tree...
yes. Power10 board from osuosl (not ported to u-boot), and I have some nxp one somewhere in my room of which
ill find it :)
Quoted 3 lines
Also, just finished work on mpc855 board (port to 2026.10, linux 6.18 and yocto wrynose)
Again, thank you very much for your interest
Quoted 5 lines
Here too, trying to convince customer to get some time for pushing this board to mainline
(base dts is already in mainline./dts/upstream/src/powerpc/tqm8xx.dtsu-boot and linux)
Ok.
Quoted 4 lines
bye,
Heiko
--- Thanks!