diff options
author | Bin Meng <bmeng@tinylab.org> | 2022-12-11 11:08:25 +0800 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2023-01-06 10:42:55 +1000 |
commit | 724d80c8a6a9febc5ebdc8c531c34239897f2572 (patch) | |
tree | 48bcb3101bc174bffc7666496f7cd5fcda5ab832 /util | |
parent | 3a20cd12bf348482c9bdd86a98667080011e9443 (diff) |
hw/riscv: sifive_u: Avoid using magic number for "riscv, ndev"
At present magic number is used to create "riscv,ndev" property
in the dtb. Let's use the macro SIFIVE_U_PLIC_NUM_SOURCES that
is used to instantiate the PLIC model instead.
Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20221211030829.802437-12-bmeng@tinylab.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions