diff options
| author | Daniel Henrique Barboza <dbarboza@ventanamicro.com> | 2024-05-31 17:27:53 -0300 |
|---|---|---|
| committer | Alistair Francis <alistair.francis@wdc.com> | 2024-06-26 22:34:03 +1000 |
| commit | 02dd57b3f9f0951d5de087043d29aac64c92a6b4 (patch) | |
| tree | 1ab1f267a0aa351affde79af8185d3e567eec262 /scripts/qapi/parser.py | |
| parent | 190e0ae6290d17780c075ca38b9ecb9895dee419 (diff) | |
| download | focaccia-qemu-02dd57b3f9f0951d5de087043d29aac64c92a6b4.tar.gz focaccia-qemu-02dd57b3f9f0951d5de087043d29aac64c92a6b4.zip | |
hw/riscv/virt.c: add aplic nodename helper
We'll change the aplic DT nodename in the next patch and the name is hardcoded in 2 different functions. Create a helper to change a single place later. While we're at it, in create_fdt_socket_aplic(), move 'aplic_name' inside the conditional to avoid allocating a string that won't be used when socket == NULL. Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-ID: <20240531202759.911601-3-dbarboza@ventanamicro.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions