ram:loongson:ddr4: Update libmem_config.a(167b8823dd)

This commit is contained in:
Xiaochuan Mao
2024-07-05 14:45:43 +08:00
committed by michael
parent e3a720bdc3
commit c0ff5ed85e
3 changed files with 6 additions and 3 deletions
Binary file not shown.
+4 -2
View File
@@ -143,10 +143,12 @@ void mm_feature_init(struct mc_setting *mc)
mm_ctrl_info.table.str = 0;
#endif
#ifdef DDR3_MODE
mm_ctrl_info.vref.vref = 0x78;
mm_ctrl_info.vref.vref_range = 0x01;
mm_ctrl_info.vref.vref_value = 0x78;
mm_ctrl_info.table.pda_mode = 0;
#else
mm_ctrl_info.vref.vref = 0x50;
mm_ctrl_info.vref.vref_range = 0x00;
mm_ctrl_info.vref.vref_value = 0x50;
mm_ctrl_info.table.pda_mode = 1;
#endif
mm_ctrl_info.table.signal_test = 0;
+2 -1
View File
@@ -207,7 +207,8 @@ typedef struct {
typedef struct {
char mc_vref_adjust;
char ddr_vref_adjust;
uint8_t vref;
uint8_t vref_range;
uint8_t vref_value;
uint8_t vref_init;
uint8_t vref_bits_per;
uint8_t vref_bit;