tools/litex_json2dts_linux: Fix typo.

This commit is contained in:
Florent Kermarrec 2021-09-21 14:32:20 +02:00
parent 84f1afd6d4
commit 027f7aa645
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ def generate_dts(d, initrd_start=None, initrd_size=None, initrd=None, root_devic
dts += """ dts += """
chosen {{ chosen {{
bootargs = "{console} {rootfs};""".format( bootargs = "{console} {rootfs}";""".format(
console = "console=liteuart earlycon=liteuart,0x{:x}".format(d["csr_bases"]["uart"]), console = "console=liteuart earlycon=liteuart,0x{:x}".format(d["csr_bases"]["uart"]),
rootfs = "rootwait root=/dev/{}".format(root_device)) rootfs = "rootwait root=/dev/{}".format(root_device))