gsd_butterstick: Force uart_name to crossover when set to serial.
This commit is contained in:
parent
fddca1cd40
commit
aa2209729f
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue