stm32mp1: check if the SoC is single core
authorYann Gautier <yann.gautier@st.com>
Tue, 4 Jun 2019 16:23:10 +0000 (18:23 +0200)
committerYann Gautier <yann.gautier@st.com>
Mon, 2 Sep 2019 15:51:06 +0000 (17:51 +0200)
commitb2182cde098307a59ed389cff251bd4932654bf8
tree4a460968548ba38a5d7d7d96434fe89b1b3c7aa5
parent10e7a9e904dfddd62ee839098e2d0737a3afad15
stm32mp1: check if the SoC is single core

Among the variants of STM32MP, the STM32MP151 is a single Cortex-A7 chip.
A function is added to check the part number of the SoC.
If it corresponds to STM32MP151A or STM32MP151C, then the chip has a single
Cortex-A7.

Change-Id: Icac2015c5d03ce0bcb8e99bbaf1ec8ada34be49c
Signed-off-by: Yann Gautier <yann.gautier@st.com>
Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
plat/st/common/include/stm32mp_common.h
plat/st/stm32mp1/stm32mp1_private.c