Merge pull request #877 from rdolbeau/eth_int_fix

Fix interrupt issue with ethernet on recent Linux-On-Litex-Vexriscv/SMP
This commit is contained in:
enjoy-digital 2021-04-19 18:12:01 +02:00 committed by GitHub
commit eea63968d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,6 @@ def generate_dts(d, initrd_start=None, initrd_size=None, polling=False):
/ { / {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
interrupt-parent = <&intc0>;
""" """
@ -151,6 +150,7 @@ def generate_dts(d, initrd_start=None, initrd_size=None, polling=False):
#size-cells = <1>; #size-cells = <1>;
bus-frequency = <{sys_clk_freq}>; bus-frequency = <{sys_clk_freq}>;
compatible = "simple-bus"; compatible = "simple-bus";
interrupt-parent = <&intc0>;
ranges; ranges;
""".format(sys_clk_freq=d["constants"]["config_clock_frequency"]) """.format(sys_clk_freq=d["constants"]["config_clock_frequency"])