targets/kc705: add ddrphy to CSR map
authorSebastien Bourdeauducq <sb@m-labs.hk>
Mon, 1 Sep 2014 08:40:10 +0000 (16:40 +0800)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Mon, 1 Sep 2014 08:40:10 +0000 (16:40 +0800)
targets/kc705.py

index 57c06150efb7b7e18486e40c7c282fba29e37ce8..ad3b9e99ad85334ca27d38459dd759c53169e293 100644 (file)
@@ -62,6 +62,11 @@ class _CRG(Module):
 class BaseSoC(SDRAMSoC):
        default_platform = "kc705"
 
+       csr_map = {
+               "ddrphy":       10,
+       }
+       csr_map.update(SDRAMSoC.csr_map)
+
        def __init__(self, platform, **kwargs):
                SDRAMSoC.__init__(self, platform,
                        clk_freq=125*1000000, cpu_reset_address=0xaf0000,