stm32mp: update dependency for STM32_ETZPC
authorPatrick Delaunay <patrick.delaunay@st.com>
Tue, 10 Mar 2020 15:05:43 +0000 (16:05 +0100)
committerPatrick Delaunay <patrick.delaunay@st.com>
Tue, 10 Mar 2020 17:11:02 +0000 (18:11 +0100)
Correct the dependency for STM32 ETZPC protection, linked to SOC
STM32MP identified by CONFIG_STM32MP15x and not linked to
CONFIG_TARGET_STM32MP1 (no more existing).

This patch fix an issue introduced by commit 846254888e2e ("stm32mp1:
split board and SOC support for STM32MP15x family").

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
arch/arm/mach-stm32mp/Kconfig

index e4d621dee884a32de3c04703cc803209217da4db..96153693a7e2c203db8a6f3a986c97df6088ec73 100644 (file)
@@ -119,7 +119,7 @@ config SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION_MMC2
 
 config STM32_ETZPC
        bool "STM32 Extended TrustZone Protection"
-       depends on TARGET_STM32MP1
+       depends on STM32MP15x
        default y
        help
          Say y to enable STM32 Extended TrustZone Protection