soc_core/serv: use UART_POLLING (no interrupt support)
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 27 Sep 2019 22:42:00 +0000 (00:42 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 27 Sep 2019 22:42:00 +0000 (00:42 +0200)
litex/soc/integration/soc_core.py

index 7a4c3980b010710288634055df9d5eee4f5530a0..5ddd823825393825a67289ae85f3681b80657452 100644 (file)
@@ -280,6 +280,7 @@ class SoCCore(Module):
                 self.add_cpu(cpu.rocket.RocketRV64(platform, self.cpu_reset_address, self.cpu_variant))
             elif cpu_type == "serv":
                 self.add_cpu(cpu.serv.SERV(platform, self.cpu_reset_address, self.cpu_variant))
+                self.add_constant("UART_POLLING", None)
             else:
                 raise ValueError("Unsupported CPU type: {}".format(cpu_type))