mirror of
https://gitee.com/open-loongarch/u-boot.git
synced 2026-10-25 12:57:10 +08:00
ram:loongson:ddr4: Update libmem_config.a(167b8823dd)
This commit is contained in:
Binary file not shown.
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user