]> git.baikalelectronics.ru Git - arm-tf.git/commit
arm_fpga: Add support to populate the CPU nodes in the DTB
authorJavier Almansa Sobrino <javier.almansasobrino@arm.com>
Thu, 4 Jun 2020 18:01:48 +0000 (19:01 +0100)
committerJavier Almansa Sobrino <javier.almansasobrino@arm.com>
Wed, 2 Sep 2020 15:46:48 +0000 (16:46 +0100)
commit20ff991e92de860237080fb4936e9dc28fde0810
tree83a053cc4c5ae1f20158c017b6e0b3da083ea9c0
parent9b2bf15016973998bb81471c7573e4d7a143e272
arm_fpga: Add support to populate the CPU nodes in the DTB

At the moment BL31 dynamically discovers the CPU topology of an FPGA
system at runtime, but does not export it to the non-secure world.
Any BL33 user would typically looks at the devicetree to learn about
existing CPUs.

This patch exports a minimum /cpus node in a devicetree to satisfy
the binding. This means that no cpumaps or caches are described.
This could be added later if needed.

An existing /cpus node in the DT will make the code bail out with a
message.

Signed-off-by: Javier Almansa Sobrino <javier.almansasobrino@arm.com>
Change-Id: I589a2b3412411a3660134bdcef3a65e8200e1d7e
plat/arm/board/arm_fpga/fpga_bl31_setup.c
plat/arm/board/arm_fpga/platform.mk