projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0b019b
)
integration/builder: generate flash_boot address to csv
author
Mateusz Holenko
<mholenko@antmicro.com>
Wed, 5 Jun 2019 15:27:27 +0000
(17:27 +0200)
committer
Mateusz Holenko
<mholenko@antmicro.com>
Wed, 5 Jun 2019 15:37:23 +0000
(17:37 +0200)
litex/soc/integration/builder.py
patch
|
blob
|
history
diff --git
a/litex/soc/integration/builder.py
b/litex/soc/integration/builder.py
index 8aecd3912731a10aa0507b88af9c310ab156c15d..c9b75ef3ecf8ad1d6edabf5939aeb448888fbcf0 100755
(executable)
--- 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(