kasli: fix v1.0 & v1.1 compilation error

This commit is contained in:
morgan 2024-06-19 11:28:07 +08:00 committed by Sebastien Bourdeauducq
parent 69a48464c3
commit 49a5c1b13c

View File

@ -120,7 +120,8 @@ class StandaloneBase(MiniSoC, AMPSoC):
self.config["HAS_SI549"] = None self.config["HAS_SI549"] = None
self.config["WRPLL_REF_CLK"] = "SMA_CLKIN" self.config["WRPLL_REF_CLK"] = "SMA_CLKIN"
else: else:
self.submodules += SMAClkinForward(self.platform) if self.platform.hw_rev == "v2.0":
self.submodules += SMAClkinForward(self.platform)
self.config["HAS_SI5324"] = None self.config["HAS_SI5324"] = None
self.config["SI5324_SOFT_RESET"] = None self.config["SI5324_SOFT_RESET"] = None