Browse Source

feat(stm32mp1): use only one filter for TZC400 on STM32MP13

On STM32MP13, there is only 1 DDR port, hence only 1 TZC400 filter.

Change-Id: I4f6750022cdaf658cd209a4bf48a6cdb0717020e
Signed-off-by: Yann Gautier <yann.gautier@st.com>
pull/1985/head
Yann Gautier 4 years ago
parent
commit
b7d0058a3a
  1. 5
      plat/st/stm32mp1/stm32mp1_def.h

5
plat/st/stm32mp1/stm32mp1_def.h

@ -375,8 +375,13 @@ enum ddr_type {
******************************************************************************/ ******************************************************************************/
#define STM32MP1_TZC_BASE U(0x5C006000) #define STM32MP1_TZC_BASE U(0x5C006000)
#if STM32MP13
#define STM32MP1_FILTER_BIT_ALL TZC_400_REGION_ATTR_FILTER_BIT(0)
#endif
#if STM32MP15
#define STM32MP1_FILTER_BIT_ALL (TZC_400_REGION_ATTR_FILTER_BIT(0) | \ #define STM32MP1_FILTER_BIT_ALL (TZC_400_REGION_ATTR_FILTER_BIT(0) | \
TZC_400_REGION_ATTR_FILTER_BIT(1)) TZC_400_REGION_ATTR_FILTER_BIT(1))
#endif
/******************************************************************************* /*******************************************************************************
* STM32MP1 SDMMC * STM32MP1 SDMMC

Loading…
Cancel
Save