mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-27 15:24:54 +00:00
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:
parent
111a384c90
commit
7b48a9f328
1 changed files with 5 additions and 0 deletions
|
@ -444,6 +444,10 @@ void stm32mp_print_boardinfo(void)
|
||||||
/* Return true when SoC provides a single Cortex-A7 core, and false otherwise */
|
/* Return true when SoC provides a single Cortex-A7 core, and false otherwise */
|
||||||
bool stm32mp_is_single_core(void)
|
bool stm32mp_is_single_core(void)
|
||||||
{
|
{
|
||||||
|
#if STM32MP13
|
||||||
|
return true;
|
||||||
|
#endif
|
||||||
|
#if STM32MP15
|
||||||
bool single_core = false;
|
bool single_core = false;
|
||||||
|
|
||||||
switch (get_part_number()) {
|
switch (get_part_number()) {
|
||||||
|
@ -458,6 +462,7 @@ bool stm32mp_is_single_core(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
return single_core;
|
return single_core;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Return true when device is in closed state */
|
/* Return true when device is in closed state */
|
||||||
|
|
Loading…
Add table
Reference in a new issue