Revert "Sort constants in csr generation."
authorSebastien Bourdeauducq <sb@m-labs.hk>
Mon, 28 Sep 2015 12:40:31 +0000 (20:40 +0800)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Mon, 28 Sep 2015 12:40:31 +0000 (20:40 +0800)
This reverts commit d628c147ecb92c871cc68e2f29511c600861fcb9.

make.py

diff --git a/make.py b/make.py
index fc2eb0d89764f82ccf71296a8766b3b709f6bccc..b0d3967d7d4babcbf887a8bfc80b5e42dc1e57fe 100755 (executable)
--- a/make.py
+++ b/make.py
@@ -167,7 +167,7 @@ CPU type:  {}
                     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))
         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)
 
     if actions["build-csr-csv"]: