integration/builder: enable bios on gowin emcu

This commit is contained in:
Ilia Sergachev 2022-01-23 11:02:36 +01:00
parent 44bea44be3
commit ef5f6398b2

View file

@ -281,7 +281,7 @@ class Builder:
self.soc.platform.output_dir = self.output_dir
# Check if BIOS is used and add software package if so.
with_bios = self.soc.cpu_type not in [None, 'gowin_emcu']
with_bios = self.soc.cpu_type is not None
if with_bios:
self.add_software_package("bios")