soc_core/serv: use UART_POLLING (no interrupt support)
This commit is contained in:
parent
a4069fc863
commit
9f6a2ae73e
|
@ -280,6 +280,7 @@ class SoCCore(Module):
|
||||||
self.add_cpu(cpu.rocket.RocketRV64(platform, self.cpu_reset_address, self.cpu_variant))
|
self.add_cpu(cpu.rocket.RocketRV64(platform, self.cpu_reset_address, self.cpu_variant))
|
||||||
elif cpu_type == "serv":
|
elif cpu_type == "serv":
|
||||||
self.add_cpu(cpu.serv.SERV(platform, self.cpu_reset_address, self.cpu_variant))
|
self.add_cpu(cpu.serv.SERV(platform, self.cpu_reset_address, self.cpu_variant))
|
||||||
|
self.add_constant("UART_POLLING", None)
|
||||||
else:
|
else:
|
||||||
raise ValueError("Unsupported CPU type: {}".format(cpu_type))
|
raise ValueError("Unsupported CPU type: {}".format(cpu_type))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue