builder: use the SoC's existing shadow base with get_csr_header()
authorGabriel Somlo <gsomlo@gmail.com>
Tue, 8 Oct 2019 18:28:50 +0000 (14:28 -0400)
committerGabriel Somlo <gsomlo@gmail.com>
Tue, 8 Oct 2019 18:28:50 +0000 (14:28 -0400)
commit53777391e8ec545d7cadce476a46c848caf3dec7
treeea58038384994e1f4d9b71ee28a12178cd3fb7f1
parent92975b139e63b371914e20c5fe5373a828931459
builder: use the SoC's existing shadow base with get_csr_header()

Both the SoC and get_csr_header() have independently set defaults
for the value of 'shadow_base'. If the SoC's value was modified,
ensure that get_csr_header() uses the modified value instead of
its own default.

Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
litex/soc/integration/builder.py