Revert "Sort constants in csr generation."

This reverts commit d628c147ec.
This commit is contained in:
Sebastien Bourdeauducq 2015-09-28 20:40:31 +08:00
parent d628c147ec
commit 75d927e080
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ CPU type: {}
write_to_file(os.path.join(genhdir, "sdram_phy.h"), boilerplate + sdram_phy_header) write_to_file(os.path.join(genhdir, "sdram_phy.h"), boilerplate + sdram_phy_header)
mem_header = cpuif.get_mem_header(memory_regions, getattr(soc, "flash_boot_address", None)) mem_header = cpuif.get_mem_header(memory_regions, getattr(soc, "flash_boot_address", None))
write_to_file(os.path.join(genhdir, "mem.h"), boilerplate + mem_header) write_to_file(os.path.join(genhdir, "mem.h"), boilerplate + mem_header)
csr_header = cpuif.get_csr_header(csr_regions, sorted(soc.get_constants())) csr_header = cpuif.get_csr_header(csr_regions, soc.get_constants())
write_to_file(os.path.join(genhdir, "csr.h"), boilerplate + csr_header) write_to_file(os.path.join(genhdir, "csr.h"), boilerplate + csr_header)
if actions["build-csr-csv"]: if actions["build-csr-csv"]: