tools/litex_json2dts: Fix DTS indentation
- Replace bogus TAB by spaces, - Drop spaces from empty lines. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
This commit is contained in:
parent
6b482bce54
commit
610bfe4d0c
|
@ -163,7 +163,7 @@ def generate_dts(d, initrd_start=None, initrd_size=None, polling=False):
|
||||||
{cpu_mapping}>;
|
{cpu_mapping}>;
|
||||||
riscv,ndev = <32>;
|
riscv,ndev = <32>;
|
||||||
}};
|
}};
|
||||||
""".format(
|
""".format(
|
||||||
plic_base =d["memories"]["plic"]["base"],
|
plic_base =d["memories"]["plic"]["base"],
|
||||||
cpu_mapping =("\n" + " "*20).join(["&L{} 11 &L{} 9".format(cpu, cpu) for cpu in cpus]))
|
cpu_mapping =("\n" + " "*20).join(["&L{} 11 &L{} 9".format(cpu, cpu) for cpu in cpus]))
|
||||||
|
|
||||||
|
@ -275,7 +275,7 @@ def generate_dts(d, initrd_start=None, initrd_size=None, polling=False):
|
||||||
bus-width = <0x04>;
|
bus-width = <0x04>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
}};
|
}};
|
||||||
""".format(
|
""".format(
|
||||||
mmc_csr_base = d["csr_bases"]["sdphy"],
|
mmc_csr_base = d["csr_bases"]["sdphy"],
|
||||||
sdphy_csr_base = d["csr_bases"]["sdphy"],
|
sdphy_csr_base = d["csr_bases"]["sdphy"],
|
||||||
sdcore_csr_base = d["csr_bases"]["sdcore"],
|
sdcore_csr_base = d["csr_bases"]["sdcore"],
|
||||||
|
|
Loading…
Reference in New Issue