feat(stm32mp1): stm32mp_is_single_core() for STM32MP13

STM32MP13 is a single Cortex-A7 CPU, always return true in
stm32mp_is_single_core() function.

Change-Id: Icf36eaa887bdf314137eda07c5751cea8c950143
Signed-off-by: Yann Gautier <yann.gautier@st.com>
This commit is contained in:
Yann Gautier 2020-02-06 15:34:16 +01:00
parent 111a384c90
commit 7b48a9f328
1 changed files with 5 additions and 0 deletions

View File

@ -444,6 +444,10 @@ void stm32mp_print_boardinfo(void)
/* Return true when SoC provides a single Cortex-A7 core, and false otherwise */
bool stm32mp_is_single_core(void)
{
#if STM32MP13
return true;
#endif
#if STM32MP15
bool single_core = false;
switch (get_part_number()) {
@ -458,6 +462,7 @@ bool stm32mp_is_single_core(void)
}
return single_core;
#endif
}
/* Return true when device is in closed state */