diff options
author | Chris Brand <chris.brand@cypress.com> | 2019-10-23 14:28:03 -0700 |
---|---|---|
committer | David Hu <david.hu@arm.com> | 2019-11-14 03:30:40 +0000 |
commit | 4efdb67e2747375b802d754274500dd5abee0c20 (patch) | |
tree | 3b5b0d15e335ccb03622bac0c5a452d0a95ed771 | |
parent | 10f3dec1e66345a6d2fb766edf2c1bfd0034bda2 (diff) | |
download | trusted-firmware-m-4efdb67e2747375b802d754274500dd5abee0c20.tar.gz |
plat: Don't try to configure PPUs that we can't (PSoC 64)
On PSoC 64, some of the PPUs are already configured by the time
TFM gets to run, so attempting to re-configure them will fail.
Don't try to configure those PPUs.
Change-Id: Idaf6a09c68f0f3d72fd44c70a1cc5149a22c057a
Signed-off-by: Chris Brand <chris.brand@cypress.com>
-rw-r--r-- | platform/ext/target/psoc64/CMSIS_Driver/Config/RTE_Device.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/platform/ext/target/psoc64/CMSIS_Driver/Config/RTE_Device.h b/platform/ext/target/psoc64/CMSIS_Driver/Config/RTE_Device.h index 0e33998389..c96bc114eb 100644 --- a/platform/ext/target/psoc64/CMSIS_Driver/Config/RTE_Device.h +++ b/platform/ext/target/psoc64/CMSIS_Driver/Config/RTE_Device.h @@ -134,22 +134,22 @@ // <e> PPC (Peripheral Protection Controller) [Driver_PPU_PR0] // <i> Configuration settings for Driver_PPU_PR0 in component ::Drivers:PPC -#define RTE_PPU_PR0 1 +#define RTE_PPU_PR0 0 // </e> PPC (Peripheral Protection Controller) [Driver_PPU_PR0] // <e> PPC (Peripheral Protection Controller) [Driver_PPU_PR1] // <i> Configuration settings for Driver_PPU_PR1 in component ::Drivers:PPC -#define RTE_PPU_PR1 1 +#define RTE_PPU_PR1 0 // </e> PPC (Peripheral Protection Controller) [Driver_PPU_PR1] // <e> PPC (Peripheral Protection Controller) [Driver_PPU_PR2] // <i> Configuration settings for Driver_PPU_PR2 in component ::Drivers:PPC -#define RTE_PPU_PR2 1 +#define RTE_PPU_PR2 0 // </e> PPC (Peripheral Protection Controller) [Driver_PPU_PR2] // <e> PPC (Peripheral Protection Controller) [Driver_PPU_PR3] // <i> Configuration settings for Driver_PPU_PR3 in component ::Drivers:PPC -#define RTE_PPU_PR3 1 +#define RTE_PPU_PR3 0 // </e> PPC (Peripheral Protection Controller) [Driver_PPU_PR3] // <e> PPC (Peripheral Protection Controller) [Driver_PPU_PR4] @@ -181,42 +181,42 @@ // <e> PPC (Peripheral Protection Controller) [Driver_PPU_GR0] // <i> Configuration settings for Driver_PPU_GR0 in component ::Drivers:PPC -#define RTE_PPU_GR0 1 +#define RTE_PPU_GR0 0 // </e> PPC (Peripheral Protection Controller) [Driver_PPU_GR0] // <e> PPC (Peripheral Protection Controller) [Driver_PPU_GR1] // <i> Configuration settings for Driver_PPU_GR1 in component ::Drivers:PPC -#define RTE_PPU_GR1 1 +#define RTE_PPU_GR1 0 // </e> PPC (Peripheral Protection Controller) [Driver_PPU_GR1] // <e> PPC (Peripheral Protection Controller) [Driver_PPU_GR2] // <i> Configuration settings for Driver_PPU_GR2 in component ::Drivers:PPC -#define RTE_PPU_GR2 1 +#define RTE_PPU_GR2 0 // </e> PPC (Peripheral Protection Controller) [Driver_PPU_GR2] // <e> PPC (Peripheral Protection Controller) [Driver_PPU_GR3] // <i> Configuration settings for Driver_PPU_GR3 in component ::Drivers:PPC -#define RTE_PPU_GR3 1 +#define RTE_PPU_GR3 0 // </e> PPC (Peripheral Protection Controller) [Driver_PPU_GR3] // <e> PPC (Peripheral Protection Controller) [Driver_PPU_GR4] // <i> Configuration settings for Driver_PPU_GR4 in component ::Drivers:PPC -#define RTE_PPU_GR4 1 +#define RTE_PPU_GR4 0 // </e> PPC (Peripheral Protection Controller) [Driver_PPU_GR4] // <e> PPC (Peripheral Protection Controller) [Driver_PPU_GR6] // <i> Configuration settings for Driver_PPU_GR6 in component ::Drivers:PPC -#define RTE_PPU_GR6 1 +#define RTE_PPU_GR6 0 // </e> PPC (Peripheral Protection Controller) [Driver_PPU_GR6] // <e> PPC (Peripheral Protection Controller) [Driver_PPU_GR9] // <i> Configuration settings for Driver_PPU_GR9 in component ::Drivers:PPC -#define RTE_PPU_GR9 1 +#define RTE_PPU_GR9 0 // </e> PPC (Peripheral Protection Controller) [Driver_PPU_GR9] // <e> PPC (Peripheral Protection Controller) [Driver_PPU_GR10] // <i> Configuration settings for Driver_PPU_GR10 in component ::Drivers:PPC -#define RTE_PPU_GR10 1 +#define RTE_PPU_GR10 0 // </e> PPC (Peripheral Protection Controller) [Driver_PPU_GR10] // <e> PPC (Peripheral Protection Controller) [Driver_PPU_GR_MMIO0] @@ -271,7 +271,7 @@ // <e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_SL_PERI_GR2] // <i> Configuration settings for Driver_GR_PPU_SL_PERI_GR2 in component ::Drivers:PPC -#define RTE_GR_PPU_SL_PERI_GR2 1 +#define RTE_GR_PPU_SL_PERI_GR2 0 // </e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_SL_PERI_GR2] // <e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_SL_CPUSS] @@ -296,7 +296,7 @@ // <e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_SL_FLASHC] // <i> Configuration settings for Driver_GR_PPU_SL_FLASHC in component ::Drivers:PPC -#define RTE_GR_PPU_SL_FLASHC 1 +#define RTE_GR_PPU_SL_FLASHC 0 // </e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_SL_FLASHC] // <e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_SL_SRSS] @@ -321,7 +321,7 @@ // <e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_SL_EFUSE] // <i> Configuration settings for Driver_GR_PPU_SL_EFUSE in component ::Drivers:PPC -#define RTE_GR_PPU_SL_EFUSE 1 +#define RTE_GR_PPU_SL_EFUSE 0 // </e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_SL_EFUSE] // <e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_SL_PROFILE] @@ -331,17 +331,17 @@ // <e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_RG_IPC_STRUCT0] // <i> Configuration settings for Driver_GR_PPU_RG_IPC_STRUCT0 in component ::Drivers:PPC -#define RTE_GR_PPU_RG_IPC_STRUCT0 1 +#define RTE_GR_PPU_RG_IPC_STRUCT0 0 // </e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_RG_IPC_STRUCT0] // <e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_RG_IPC_STRUCT1] // <i> Configuration settings for Driver_GR_PPU_RG_IPC_STRUCT1 in component ::Drivers:PPC -#define RTE_GR_PPU_RG_IPC_STRUCT1 1 +#define RTE_GR_PPU_RG_IPC_STRUCT1 0 // </e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_RG_IPC_STRUCT1] // <e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_RG_IPC_STRUCT2] // <i> Configuration settings for Driver_GR_PPU_RG_IPC_STRUCT2 in component ::Drivers:PPC -#define RTE_GR_PPU_RG_IPC_STRUCT2 1 +#define RTE_GR_PPU_RG_IPC_STRUCT2 0 // </e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_RG_IPC_STRUCT2] // <e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_RG_IPC_STRUCT3] @@ -371,7 +371,7 @@ // <e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_RG_IPC_INTR_STRUCT0] // <i> Configuration settings for Driver_GR_PPU_RG_IPC_INTR_STRUCT0 in component ::Drivers:PPC -#define RTE_GR_PPU_RG_IPC_INTR_STRUCT0 1 +#define RTE_GR_PPU_RG_IPC_INTR_STRUCT0 0 // </e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_RG_IPC_INTR_STRUCT0] // <e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_RG_IPC_INTR_STRUCT1] @@ -476,7 +476,7 @@ // <e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_SL_PERI_GR3] // <i> Configuration settings for Driver_GR_PPU_SL_PERI_GR3 in component ::Drivers:PPC -#define RTE_GR_PPU_SL_PERI_GR3 1 +#define RTE_GR_PPU_SL_PERI_GR3 0 // </e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_SL_PERI_GR3] // <e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_SL_HSIOM] @@ -536,7 +536,7 @@ // <e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_SL_PERI_GR4] // <i> Configuration settings for Driver_GR_PPU_SL_PERI_GR4 in component ::Drivers:PPC -#define RTE_GR_PPU_SL_PERI_GR4 1 +#define RTE_GR_PPU_SL_PERI_GR4 0 // </e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_SL_PERI_GR4] // <e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_SL_SMIF] @@ -546,7 +546,7 @@ // <e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_SL_PERI_GR6] // <i> Configuration settings for Driver_GR_PPU_SL_PERI_GR6 in component ::Drivers:PPC -#define RTE_GR_PPU_SL_PERI_GR6 1 +#define RTE_GR_PPU_SL_PERI_GR6 0 // </e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_SL_PERI_GR6] // <e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_SL_SCB0] @@ -596,7 +596,7 @@ // <e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_SL_PERI_GR9] // <i> Configuration settings for Driver_GR_PPU_SL_PERI_GR9 in component ::Drivers:PPC -#define RTE_GR_PPU_SL_PERI_GR9 1 +#define RTE_GR_PPU_SL_PERI_GR9 0 // </e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_SL_PERI_GR9] // <e> PPC (Peripheral Protection Controller) [Driver_GR_PPU_SL_PASS] |