gsd_butterstick: Force uart_name to crossover when set to serial.

This commit is contained in:
Florent Kermarrec 2021-09-02 15:23:05 +02:00
parent fddca1cd40
commit aa2209729f
1 changed files with 2 additions and 0 deletions

View File

@ -99,6 +99,8 @@ class BaseSoC(SoCCore):
platform = butterstick.Platform(revision=revision, device=device ,toolchain=toolchain) platform = butterstick.Platform(revision=revision, device=device ,toolchain=toolchain)
# SoCCore ---------------------------------------------------------------------------------- # SoCCore ----------------------------------------------------------------------------------
if kwargs["uart_name"] == "serial":
kwargs["uart_name"] = "crossover"
SoCCore.__init__(self, platform, sys_clk_freq, SoCCore.__init__(self, platform, sys_clk_freq,
ident = "LiteX SoC on ButterStick", ident = "LiteX SoC on ButterStick",
ident_version = True, ident_version = True,