mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 21:21:37 +00:00
ddr: altera: Fix typo in mp_threshold1 programming
It is the configuration data that should go into the register, not the register mask, just like the surrounding code does it. Fix this typo. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@altera.com> Cc: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
42f7ebb82b
commit
452a81e078
1 changed files with 1 additions and 1 deletions
|
@ -539,7 +539,7 @@ static void set_sdr_mp_threshold(void)
|
|||
|
||||
clrsetbits_le32(&sdr_ctrl->mp_threshold1,
|
||||
SDR_CTRLGRP_MPTHRESHOLDRST_1_THRESHOLDRSTCYCLES_63_32_MASK,
|
||||
SDR_CTRLGRP_MPTHRESHOLDRST_1_THRESHOLDRSTCYCLES_63_32_MASK <<
|
||||
CONFIG_HPS_SDR_CTRLCFG_MPTHRESHOLDRST_1_THRESHOLDRSTCYCLES_63_32 <<
|
||||
SDR_CTRLGRP_MPTHRESHOLDRST_1_THRESHOLDRSTCYCLES_63_32_LSB);
|
||||
|
||||
clrsetbits_le32(&sdr_ctrl->mp_threshold2,
|
||||
|
|
Loading…
Add table
Reference in a new issue