From 93b61a65bfca098806fb0dc6dba4282cae913f45 Mon Sep 17 00:00:00 2001 From: Mateusz Holenko Date: Wed, 5 Jun 2019 17:27:27 +0200 Subject: [PATCH] integration/builder: generate flash_boot address to csv --- litex/soc/integration/builder.py | 4 ++++ 1 file changed, 4 insertions(+) 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( -- 2.30.2