tools/litex_json2dts/soc_controller: remove VexRiscv-SMP workaround now that we able to use upstream linux litex patches.
This commit is contained in:
parent
7627dadb9b
commit
c7056b77bb
|
@ -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>;
|
||||||
|
|
Loading…
Reference in New Issue