tools/litex_json2dts_linux: Only generate lintc0 for rocket for now.

This commit is contained in:
Florent Kermarrec 2023-02-27 09:13:45 +01:00
parent 93632465a0
commit 991198ec2e
1 changed files with 2 additions and 1 deletions

View File

@ -282,7 +282,8 @@ def generate_dts(d, initrd_start=None, initrd_size=None, initrd=None, root_devic
# Interrupt Controller ------------------------------------------------------------------------- # Interrupt Controller -------------------------------------------------------------------------
if cpu_arch == "riscv": if (cpu_arch == "riscv") and ("rocket" in cpu_name):
# FIXME : L4 definitiion?
# CHECKME: interrupts-extended. # CHECKME: interrupts-extended.
dts += """ dts += """
lintc0: clint@{clint_base:x} {{ lintc0: clint@{clint_base:x} {{