mbox series

[v3,0/3] fsl-layerscape: drop support for obsolete PPA secure firmware

Message ID 20230823132546.6048-1-laurentiu.tudor@nxp.com
Headers show
Series fsl-layerscape: drop support for obsolete PPA secure firmware | expand

Message

Laurentiu Tudor Aug. 23, 2023, 1:25 p.m. UTC
From: Laurentiu Tudor <laurentiu.tudor@nxp.com>

Support for this in-house secure firmware was discontinued long time
ago so remove it. First couple of patches delete the defconfigs that
use it (split in two to be <100KB) and the third one removes the
actual PPA support.

Changes in v3:
 - fixed some merge conflicts

Changes in v2:
 - split the defconfig removal patch in two because it was too big and
   was filtered out by the ML

Laurentiu Tudor (3):
  configs: layerscape: delete defconfigs using legacy PPA secure FW (part1)
  configs: layerscape: delete defconfigs using legacy PPA secure FW (part2)
  fsl-layerscape: drop obsolete PPA secure firmware support

 arch/arm/cpu/armv8/fsl-layerscape/Kconfig     |  60 ----
 arch/arm/cpu/armv8/fsl-layerscape/Makefile    |   1 -
 arch/arm/cpu/armv8/fsl-layerscape/ppa.c       | 284 ------------------
 arch/arm/cpu/armv8/fsl-layerscape/spl.c       |  34 ---
 .../arm/include/asm/arch-fsl-layerscape/ppa.h |  12 -
 arch/arm/include/asm/fsl_secure_boot.h        |   9 -
 board/freescale/ls1012afrdm/Kconfig           |  11 -
 board/freescale/ls1012afrdm/ls1012afrdm.c     |   6 -
 board/freescale/ls1012aqds/Kconfig            |   8 -
 board/freescale/ls1012aqds/ls1012aqds.c       |   6 -
 board/freescale/ls1012ardb/Kconfig            |  12 -
 board/freescale/ls1012ardb/ls1012ardb.c       |   6 -
 board/freescale/ls1028a/Kconfig               |  12 -
 board/freescale/ls1028a/ls1028a.c             |   7 -
 board/freescale/ls1043aqds/Kconfig            |  16 -
 board/freescale/ls1043aqds/ls1043aqds.c       |   5 -
 board/freescale/ls1043ardb/Kconfig            |  14 -
 board/freescale/ls1043ardb/ls1043ardb.c       |   5 -
 board/freescale/ls1046aqds/Kconfig            |  16 -
 board/freescale/ls1046aqds/ls1046aqds.c       |   5 -
 board/freescale/ls1046ardb/Kconfig            |  14 -
 board/freescale/ls1046ardb/ls1046ardb.c       |   5 -
 board/freescale/ls1088a/Kconfig               |  28 --
 board/freescale/ls1088a/ls1088a.c             |   5 -
 board/freescale/ls2080aqds/Kconfig            |  16 -
 board/freescale/ls2080aqds/ls2080aqds.c       |   5 -
 board/freescale/ls2080ardb/Kconfig            |  16 -
 board/freescale/ls2080ardb/ls2080ardb.c       |   5 -
 board/traverse/ten64/ten64.c                  |   1 -
 configs/ls1012a2g5rdb_qspi_defconfig          |  69 -----
 configs/ls1012afrdm_qspi_defconfig            |  67 -----
 .../ls1012afrwy_qspi_SECURE_BOOT_defconfig    |  72 -----
 configs/ls1012afrwy_qspi_defconfig            |  72 -----
 configs/ls1012aqds_qspi_defconfig             |  95 ------
 configs/ls1012ardb_qspi_SECURE_BOOT_defconfig |  77 -----
 configs/ls1012ardb_qspi_defconfig             |  77 -----
 configs/ls1043aqds_defconfig                  | 107 -------
 configs/ls1043aqds_lpuart_defconfig           | 109 -------
 configs/ls1043aqds_nand_defconfig             | 138 ---------
 configs/ls1043aqds_nor_ddr3_defconfig         | 108 -------
 configs/ls1043aqds_qspi_defconfig             |  98 ------
 configs/ls1043aqds_sdcard_ifc_defconfig       | 135 ---------
 configs/ls1043aqds_sdcard_qspi_defconfig      | 124 --------
 configs/ls1043ardb_SECURE_BOOT_defconfig      |  99 ------
 configs/ls1043ardb_defconfig                  | 100 ------
 configs/ls1043ardb_nand_SECURE_BOOT_defconfig | 124 --------
 configs/ls1043ardb_nand_defconfig             | 128 --------
 .../ls1043ardb_sdcard_SECURE_BOOT_defconfig   | 124 --------
 configs/ls1043ardb_sdcard_defconfig           | 126 --------
 configs/ls1046aqds_SECURE_BOOT_defconfig      | 108 -------
 configs/ls1046aqds_defconfig                  | 110 -------
 configs/ls1046aqds_lpuart_defconfig           | 112 -------
 configs/ls1046aqds_nand_defconfig             | 139 ---------
 configs/ls1046aqds_qspi_defconfig             | 101 -------
 configs/ls1046aqds_sdcard_ifc_defconfig       | 139 ---------
 configs/ls1046aqds_sdcard_qspi_defconfig      | 128 --------
 configs/ls1046ardb_emmc_defconfig             | 122 --------
 configs/ls1046ardb_qspi_SECURE_BOOT_defconfig |  99 ------
 configs/ls1046ardb_qspi_defconfig             | 102 -------
 configs/ls1046ardb_qspi_spl_defconfig         | 130 --------
 .../ls1046ardb_sdcard_SECURE_BOOT_defconfig   | 123 --------
 configs/ls1046ardb_sdcard_defconfig           | 122 --------
 configs/ls1088aqds_defconfig                  | 112 -------
 configs/ls1088aqds_qspi_SECURE_BOOT_defconfig | 107 -------
 configs/ls1088aqds_qspi_defconfig             | 108 -------
 configs/ls1088aqds_sdcard_ifc_defconfig       | 130 --------
 configs/ls1088aqds_sdcard_qspi_defconfig      | 128 --------
 configs/ls1088ardb_qspi_SECURE_BOOT_defconfig | 104 -------
 configs/ls1088ardb_qspi_defconfig             | 105 -------
 ...1088ardb_sdcard_qspi_SECURE_BOOT_defconfig | 124 --------
 configs/ls1088ardb_sdcard_qspi_defconfig      | 124 --------
 configs/ls2080aqds_SECURE_BOOT_defconfig      | 108 -------
 configs/ls2080aqds_defconfig                  | 109 -------
 configs/ls2080aqds_sdcard_defconfig           | 116 -------
 configs/ls2080ardb_SECURE_BOOT_defconfig      | 106 -------
 configs/ls2080ardb_defconfig                  | 107 -------
 configs/ls2081ardb_defconfig                  |  96 ------
 configs/ls2088ardb_qspi_SECURE_BOOT_defconfig |  96 ------
 configs/ls2088ardb_qspi_defconfig             | 101 -------
 env/Kconfig                                   |   2 +-
 include/configs/ls1046a_common.h              |   3 +-
 81 files changed, 2 insertions(+), 6092 deletions(-)
 delete mode 100644 arch/arm/cpu/armv8/fsl-layerscape/ppa.c
 delete mode 100644 arch/arm/include/asm/arch-fsl-layerscape/ppa.h
 delete mode 100644 configs/ls1012a2g5rdb_qspi_defconfig
 delete mode 100644 configs/ls1012afrdm_qspi_defconfig
 delete mode 100644 configs/ls1012afrwy_qspi_SECURE_BOOT_defconfig
 delete mode 100644 configs/ls1012afrwy_qspi_defconfig
 delete mode 100644 configs/ls1012aqds_qspi_defconfig
 delete mode 100644 configs/ls1012ardb_qspi_SECURE_BOOT_defconfig
 delete mode 100644 configs/ls1012ardb_qspi_defconfig
 delete mode 100644 configs/ls1043aqds_defconfig
 delete mode 100644 configs/ls1043aqds_lpuart_defconfig
 delete mode 100644 configs/ls1043aqds_nand_defconfig
 delete mode 100644 configs/ls1043aqds_nor_ddr3_defconfig
 delete mode 100644 configs/ls1043aqds_qspi_defconfig
 delete mode 100644 configs/ls1043aqds_sdcard_ifc_defconfig
 delete mode 100644 configs/ls1043aqds_sdcard_qspi_defconfig
 delete mode 100644 configs/ls1043ardb_SECURE_BOOT_defconfig
 delete mode 100644 configs/ls1043ardb_defconfig
 delete mode 100644 configs/ls1043ardb_nand_SECURE_BOOT_defconfig
 delete mode 100644 configs/ls1043ardb_nand_defconfig
 delete mode 100644 configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig
 delete mode 100644 configs/ls1043ardb_sdcard_defconfig
 delete mode 100644 configs/ls1046aqds_SECURE_BOOT_defconfig
 delete mode 100644 configs/ls1046aqds_defconfig
 delete mode 100644 configs/ls1046aqds_lpuart_defconfig
 delete mode 100644 configs/ls1046aqds_nand_defconfig
 delete mode 100644 configs/ls1046aqds_qspi_defconfig
 delete mode 100644 configs/ls1046aqds_sdcard_ifc_defconfig
 delete mode 100644 configs/ls1046aqds_sdcard_qspi_defconfig
 delete mode 100644 configs/ls1046ardb_emmc_defconfig
 delete mode 100644 configs/ls1046ardb_qspi_SECURE_BOOT_defconfig
 delete mode 100644 configs/ls1046ardb_qspi_defconfig
 delete mode 100644 configs/ls1046ardb_qspi_spl_defconfig
 delete mode 100644 configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig
 delete mode 100644 configs/ls1046ardb_sdcard_defconfig
 delete mode 100644 configs/ls1088aqds_defconfig
 delete mode 100644 configs/ls1088aqds_qspi_SECURE_BOOT_defconfig
 delete mode 100644 configs/ls1088aqds_qspi_defconfig
 delete mode 100644 configs/ls1088aqds_sdcard_ifc_defconfig
 delete mode 100644 configs/ls1088aqds_sdcard_qspi_defconfig
 delete mode 100644 configs/ls1088ardb_qspi_SECURE_BOOT_defconfig
 delete mode 100644 configs/ls1088ardb_qspi_defconfig
 delete mode 100644 configs/ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig
 delete mode 100644 configs/ls1088ardb_sdcard_qspi_defconfig
 delete mode 100644 configs/ls2080aqds_SECURE_BOOT_defconfig
 delete mode 100644 configs/ls2080aqds_defconfig
 delete mode 100644 configs/ls2080aqds_sdcard_defconfig
 delete mode 100644 configs/ls2080ardb_SECURE_BOOT_defconfig
 delete mode 100644 configs/ls2080ardb_defconfig
 delete mode 100644 configs/ls2081ardb_defconfig
 delete mode 100644 configs/ls2088ardb_qspi_SECURE_BOOT_defconfig
 delete mode 100644 configs/ls2088ardb_qspi_defconfig

Comments

Tom Rini Aug. 23, 2023, 2:43 p.m. UTC | #1
On Wed, Aug 23, 2023 at 04:25:43PM +0300, laurentiu.tudor@nxp.com wrote:
> From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
> 
> Support for this in-house secure firmware was discontinued long time
> ago so remove it. First couple of patches delete the defconfigs that
> use it (split in two to be <100KB) and the third one removes the
> actual PPA support.
> 
> Changes in v3:
>  - fixed some merge conflicts
> 
> Changes in v2:
>  - split the defconfig removal patch in two because it was too big and
>    was filtered out by the ML

Note that you don't need to split large patches, they just need to be
approved before they're sent out to the list, which typically happens
during normal US business hours (when I'm awake).
Laurentiu Tudor Aug. 23, 2023, 2:56 p.m. UTC | #2
Hi Tom,

On 8/23/2023 5:43 PM, Tom Rini wrote:
> On Wed, Aug 23, 2023 at 04:25:43PM +0300, laurentiu.tudor@nxp.com wrote:
>> From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
>>
>> Support for this in-house secure firmware was discontinued long time
>> ago so remove it. First couple of patches delete the defconfigs that
>> use it (split in two to be <100KB) and the third one removes the
>> actual PPA support.
>>
>> Changes in v3:
>>   - fixed some merge conflicts
>>
>> Changes in v2:
>>   - split the defconfig removal patch in two because it was too big and
>>     was filtered out by the ML
> 
> Note that you don't need to split large patches, they just need to be
> approved before they're sent out to the list, which typically happens
> during normal US business hours (when I'm awake).
> 

That was my bad. I noticed way too late after I've made the split that 
the big patch was in fact approved.

---
Best Regards, Laurentiu