soc/integration/soc: Move adding constant for identifier directly to add_identifier method.
This commit is contained in:
parent
d9332da433
commit
72854b8bef
|
@ -1473,6 +1473,7 @@ class LiteXSoC(SoC):
|
|||
else:
|
||||
self.add_config("BIOS_NO_BUILD_TIME")
|
||||
self.add_module(name=name, module=Identifier(identifier))
|
||||
self.add_constant(name, identifier)
|
||||
|
||||
# Add UART -------------------------------------------------------------------------------------
|
||||
def add_uart(self, name="uart", uart_name="serial", baudrate=115200, fifo_depth=16):
|
||||
|
|
|
@ -247,7 +247,6 @@ class SoCCore(LiteXSoC):
|
|||
# Add Identifier.
|
||||
if ident != "":
|
||||
self.add_identifier("identifier", identifier=ident, with_build_time=ident_version)
|
||||
self.add_constant("identifier", ident)
|
||||
|
||||
# Add UARTBone.
|
||||
if with_uartbone:
|
||||
|
|
Loading…
Reference in New Issue