stm32mp1: add a function to get non-secure DDR size
This function gets the DDR size from DT, and withdraws (if defined) the
sizes of secure DDR and shared memory areas.
This function also checks DT values fits the default DDR range.
This non-secure memory is available for BL33 and non-secure OS.

Change-Id: I162ae5e990a0f9b6b7d07e539de029f1d61a391b
Signed-off-by: Yann Gautier <yann.gautier@st.com>
1 parent 4e1ca00 commit e6cc3ccfc2efa1c9732da34c74f8d2bcc5e25a5a
@Yann Gautier Yann Gautier authored on 26 Feb 2020
Showing 3 changed files
View
plat/st/stm32mp1/include/stm32mp1_private.h
View
plat/st/stm32mp1/stm32mp1_def.h
View
plat/st/stm32mp1/stm32mp1_private.c