arm_fpga: Add support for topology self-discovery
As secondary cores show up, they populate an array to
announce themselves so plat_core_pos_by_mpidr() can
return an invalid COREID code for any non-existing
MPIDR that it is queried about.

The Power Domain Tree Description is populated with
a topology based on the maximum harcoded values.

Signed-off-by: Javier Almansa Sobrino <javier.almansasobrino@arm.com>
Change-Id: I8fd64761a2296714ce0f37c46544f3e6f13b5f61
1 parent 1056ddc commit 727bbf680d9bc7c340cd42421d7aeb1711e89505
@Javier Almansa Sobrino Javier Almansa Sobrino authored on 13 May 2020
Showing 6 changed files
View
plat/arm/board/arm_fpga/aarch64/fpga_helpers.S
View
plat/arm/board/arm_fpga/fpga_bl31_setup.c
View
plat/arm/board/arm_fpga/fpga_def.h
View
plat/arm/board/arm_fpga/fpga_private.h
View
plat/arm/board/arm_fpga/fpga_topology.c
View
plat/arm/board/arm_fpga/include/platform_def.h