docs(qemu-sbsa): describe what we get from QEMU

QEMU provides us with minimal information about hardware platform using
minimalistic DeviceTree. This is not a Linux DeviceTree. It is not even
a firmware DeviceTree.

Change-Id: I7b6cc5f53a4f78a9ed69bc7fc2fa1a69ea65428d
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
This commit is contained in:
Marcin Juszkiewicz 2024-01-10 17:57:26 +01:00
parent 42925c15be
commit 9b07643618

View file

@ -47,6 +47,20 @@ void sbsa_set_gic_bases(const uintptr_t gicd_base, const uintptr_t gicr_base);
uintptr_t sbsa_get_gicd(void);
uintptr_t sbsa_get_gicr(void);
/*
* QEMU provides us with minimal information about hardware platform using
* minimalistic DeviceTree. This is not a Linux DeviceTree. It is not even
* a firmware DeviceTree.
*
* It is information passed from QEMU to describe the information a hardware
* platform would have other mechanisms to discover at runtime, that are
* affected by the QEMU command line.
*
* Ultimately this device tree will be replaced by IPC calls to an emulated SCP.
* And when we do that, we won't then have to rewrite Normal world firmware to
* cope.
*/
void read_cpuinfo_from_dt(void *dtb)
{
int node;