diff options
author | Yann Gautier <yann.gautier@st.com> | 2020-10-21 18:15:12 +0200 |
---|---|---|
committer | Yann Gautier <yann.gautier@st.com> | 2022-03-21 10:53:55 +0100 |
commit | b7d0058a3a9153a3863cf76a6763ea751b3ab48d (patch) | |
tree | 1df66a23c5bb4c2bc40c0c8c595ec70809eeea4b /plat/st | |
parent | 225ce4822ccf2e7c7c1fca6cf3918d4399158613 (diff) | |
download | arm-trusted-firmware-b7d0058a3a9153a3863cf76a6763ea751b3ab48d.tar.gz |
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>
Diffstat (limited to 'plat/st')
-rw-r--r-- | plat/st/stm32mp1/stm32mp1_def.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plat/st/stm32mp1/stm32mp1_def.h b/plat/st/stm32mp1/stm32mp1_def.h index 080bf01dd..b65488968 100644 --- a/plat/st/stm32mp1/stm32mp1_def.h +++ b/plat/st/stm32mp1/stm32mp1_def.h @@ -375,8 +375,13 @@ enum ddr_type { ******************************************************************************/ #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) | \ TZC_400_REGION_ATTR_FILTER_BIT(1)) +#endif /******************************************************************************* * STM32MP1 SDMMC |