From b6252345af3c6a98f7d66e098d803123adae650c Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 17 Nov 2020 17:12:02 +0100 Subject: [PATCH] test/reference: update ddr4. --- test/reference/ddr4_init.h | 2 +- test/reference/ddr4_init.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/reference/ddr4_init.h b/test/reference/ddr4_init.h index 6abf3c9..5674de9 100644 --- a/test/reference/ddr4_init.h +++ b/test/reference/ddr4_init.h @@ -98,7 +98,7 @@ static void init_sequence(void) command_p0(DFII_COMMAND_RAS|DFII_COMMAND_CAS|DFII_COMMAND_WE|DFII_COMMAND_CS); /* Load Mode Register 5 */ - sdram_dfii_pi0_address_write(0x0); + sdram_dfii_pi0_address_write(0x400); sdram_dfii_pi0_baddress_write(5); command_p0(DFII_COMMAND_RAS|DFII_COMMAND_CAS|DFII_COMMAND_WE|DFII_COMMAND_CS); diff --git a/test/reference/ddr4_init.py b/test/reference/ddr4_init.py index 060d51c..5d7128b 100644 --- a/test/reference/ddr4_init.py +++ b/test/reference/ddr4_init.py @@ -17,7 +17,7 @@ init_sequence = [ ("Bring CKE high", 0, 0, dfii_control_cke|dfii_control_odt|dfii_control_reset_n, 10000), ("Load Mode Register 3", 0, 3, dfii_command_ras|dfii_command_cas|dfii_command_we|dfii_command_cs, 0), ("Load Mode Register 6", 0, 6, dfii_command_ras|dfii_command_cas|dfii_command_we|dfii_command_cs, 0), - ("Load Mode Register 5", 0, 5, dfii_command_ras|dfii_command_cas|dfii_command_we|dfii_command_cs, 0), + ("Load Mode Register 5", 1024, 5, dfii_command_ras|dfii_command_cas|dfii_command_we|dfii_command_cs, 0), ("Load Mode Register 4", 0, 4, dfii_command_ras|dfii_command_cas|dfii_command_we|dfii_command_cs, 0), ("Load Mode Register 2, CWL=9", 512, 2, dfii_command_ras|dfii_command_cas|dfii_command_we|dfii_command_cs, 0), ("Load Mode Register 1", 769, 1, dfii_command_ras|dfii_command_cas|dfii_command_we|dfii_command_cs, 0),