soc_core/serv: use UART_POLLING (no interrupt support)

This commit is contained in:
Florent Kermarrec 2019-09-28 00:42:00 +02:00
parent a4069fc863
commit 9f6a2ae73e
1 changed files with 1 additions and 0 deletions

View File

@ -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))