mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
tools/litex_json2dts_linux: Fix intc0 regression.
Introduced when disabling lintc0 generation on Rocket.
This commit is contained in:
parent
fb1cd22ac2
commit
7bd98cf5d9
1 changed files with 1 additions and 0 deletions
|
@ -293,6 +293,7 @@ def generate_dts(d, initrd_start=None, initrd_size=None, initrd=None, root_devic
|
|||
reg-names = "control";
|
||||
}};
|
||||
""".format(clint_base=d["memories"]["clint"]["base"])
|
||||
if cpu_arch == "riscv":
|
||||
dts += """
|
||||
intc0: interrupt-controller@{plic_base:x} {{
|
||||
compatible = "sifive,fu540-c000-plic", "sifive,plic-1.0.0";
|
||||
|
|
Loading…
Reference in a new issue