]> git.baikalelectronics.ru Git - arm-tf.git/commit
stm32mp1: add a function to get non-secure DDR size
authorYann Gautier <yann.gautier@st.com>
Wed, 26 Feb 2020 12:39:44 +0000 (13:39 +0100)
committerYann Gautier <yann.gautier@st.com>
Thu, 26 Mar 2020 17:30:31 +0000 (18:30 +0100)
commite6cc3ccfc2efa1c9732da34c74f8d2bcc5e25a5a
treeb5664830add40410134fa88a7df0ea7c0eb7774b
parent4e1ca0097883b78bfe97b9de22645f68b0b5f199
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>
plat/st/stm32mp1/include/stm32mp1_private.h
plat/st/stm32mp1/stm32mp1_def.h
plat/st/stm32mp1/stm32mp1_private.c