From f2074542a16b229f807e03fa773a046ed72255fc Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sat, 2 Feb 2019 23:14:30 +0100 Subject: [PATCH] sdram_init/ddr4: set data mask enable bit --- litedram/sdram_init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litedram/sdram_init.py b/litedram/sdram_init.py index 86ceffc..88b61a8 100644 --- a/litedram/sdram_init.py +++ b/litedram/sdram_init.py @@ -320,7 +320,7 @@ def get_sdram_phy_init_sequence(phy_settings, timing_settings): mr2 = format_mr2(cwl, z_to_rtt_wr[rtt_wr]) mr3 = 0 mr4 = 0 - mr5 = 0 + mr5 = 1 << 10 # data mask enable mr6 = format_mr6(4) # FIXME: tCCD init_sequence = [