From 7eca60d624b68baba6aded49c709b13e944f5c3a Mon Sep 17 00:00:00 2001 From: QiaoChong Date: Thu, 24 Aug 2017 11:16:17 +0800 Subject: [PATCH] add option DDR_PARAM_018. Change-Id: I2643e69d3cc360dd1ec6ce156eb60b39ddc0778b Signed-off-by: QiaoChong --- Targets/LS2K/ls2k/loongson_mc2_param.S | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Targets/LS2K/ls2k/loongson_mc2_param.S b/Targets/LS2K/ls2k/loongson_mc2_param.S index 24dd395c..a6c6103d 100644 --- a/Targets/LS2K/ls2k/loongson_mc2_param.S +++ b/Targets/LS2K/ls2k/loongson_mc2_param.S @@ -19,8 +19,11 @@ MC0_DDR3_CTRL_0x010: .dword 0x0000000000000000 //XXXX pm_dll_value_8(RD) XXXX pm_dll_value_7 (RD) XXXX pm_dll_value_6(RD) XXXX pm_dll_value_5(RD) //MC0_DDR3_CTRL_0x018: .dword 0x5252525216100000 //MC0_DDR3_CTRL_0x018: .dword 0x4040404016100000 +#ifdef DDR_PARAM_018 +MC0_DDR3_CTRL_0x018: .dword DDR_PARAM_018 +#else MC0_DDR3_CTRL_0x018: .dword 0x4545454516100000 -//MC0_DDR3_CTRL_0x018: .dword 0x3030303016100000 +#endif //MC0_DDR3_CTRL_0x018: .dword 0x2525252516100000 //_00000000 pm_dll_ck_3 _00000000 pm_dll_ck_2 _00000000 pm_dll_ck_1 _00000000 pm_dll_ck_0 _00000000 pm_dll_increment _00000000 pm_dll_start_point _0000000_0 pm_dll_bypass _0000000_0 pm_init_start MC0_DDR3_CTRL_0x020: .dword 0x0201000201000000