do not attempt to build SDRAM PHY header when SDRAM is not present
This commit is contained in:
parent
b212e0279d
commit
08b09fb02a
1
make.py
1
make.py
|
@ -64,6 +64,7 @@ def main():
|
|||
write_to_file("software/include/generated/regions.ld", boilerplate + linker_header)
|
||||
csr_header = cpuif.get_csr_header(soc.csr_base, soc.csrbankarray, soc.interrupt_map)
|
||||
write_to_file("software/include/generated/csr.h", boilerplate + csr_header)
|
||||
if hasattr(soc, "ddrphy"):
|
||||
sdram_phy_header = initsequence.get_sdram_phy_header(soc.ddrphy)
|
||||
write_to_file("software/include/generated/sdram_phy.h", boilerplate + sdram_phy_header)
|
||||
if args.csr_csv:
|
||||
|
|
Loading…
Reference in New Issue