From: Mateusz Holenko Date: Wed, 5 Jun 2019 15:27:27 +0000 (+0200) Subject: integration/builder: generate flash_boot address to csv X-Git-Tag: 24jan2021_ls180~1185^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=93b61a65bfca098806fb0dc6dba4282cae913f45;p=litex.git integration/builder: generate flash_boot address to csv --- diff --git a/litex/soc/integration/builder.py b/litex/soc/integration/builder.py index 8aecd391..c9b75ef3 100755 --- a/litex/soc/integration/builder.py +++ b/litex/soc/integration/builder.py @@ -125,6 +125,10 @@ class Builder: if shadow_base: constants.append(('shadow_base', shadow_base)) + flash_boot_address = getattr(self.soc, "flash_boot_address", None) + if flash_boot_address: + constants.append(('flash_boot_address', flash_boot_address)) + csr_dir = os.path.dirname(os.path.realpath(self.csr_csv)) os.makedirs(csr_dir, exist_ok=True) write_to_file(