stm32mp1: fix TZC400 configuration against non-secure DDR
authorYann Gautier <yann.gautier@st.com>
Thu, 18 Apr 2019 13:32:10 +0000 (15:32 +0200)
committerYann Gautier <yann.gautier@st.com>
Tue, 23 Apr 2019 11:34:11 +0000 (13:34 +0200)
commiteb4519ef653f9dc2fced5dc3e087db22485c3a7d
tree1ab9b0140c4f5533b454c0ed5bb84157d0dd7010
parent4d95beda056244ff44cdd0b37510ca39e6e94c7f
stm32mp1: fix TZC400 configuration against non-secure DDR

This change disables secure accesses to non-secure DDR which are useless.
TF-A already maps non-secure memory with non-secure permissions thanks
to the MMU.

This change also corrects some inline comments.

Change-Id: Id4c20c9ee5c95a666dae6b7446ed80baf2d53fb0
Signed-off-by: Yann Gautier <yann.gautier@st.com>
Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
plat/st/stm32mp1/stm32mp1_security.c