tools/litex_json2dts/soc_controller: remove VexRiscv-SMP workaround now that we able to use upstream linux litex patches.

This commit is contained in:
Florent Kermarrec 2020-12-29 12:25:38 +01:00
parent 7627dadb9b
commit c7056b77bb
1 changed files with 1 additions and 11 deletions

View File

@ -141,17 +141,7 @@ def generate_dts(d, initrd_start=None, initrd_size=None, polling=False):
# SoC Controller ------------------------------------------------------------------------------- # SoC Controller -------------------------------------------------------------------------------
if cpu_name == "vexriscv smp-linux": # FIXME: remove when kernel will be generated from litex-rebase. dts += """
dts += """
soc_ctrl0: soc_controller@{soc_ctrl_csr_base:x} {{
compatible = "litex,soc_controller";
reg = <0x{soc_ctrl_csr_base:x} 0xc>;
status = "okay";
}};
""".format(soc_ctrl_csr_base=d["csr_bases"]["ctrl"])
else:
dts += """
soc_ctrl0: soc_controller@{soc_ctrl_csr_base:x} {{ soc_ctrl0: soc_controller@{soc_ctrl_csr_base:x} {{
compatible = "litex,soc-controller"; compatible = "litex,soc-controller";
reg = <0x{soc_ctrl_csr_base:x} 0xc>; reg = <0x{soc_ctrl_csr_base:x} 0xc>;