diff --git a/litex/soc/integration/builder.py b/litex/soc/integration/builder.py index 8aecd3912..c9b75ef3e 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(