vendorcode/mediatek/mt8195: Fix superfluous brackets
Clang warns about this. Change-Id: I4310737bd63728d3c592d0f4d1030bc352afa575 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74550 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
This commit is contained in:
parent
3c2fa3519c
commit
8d7eff32af
|
@ -6512,7 +6512,7 @@ DRAM_STATUS_T DramcRxWindowPerbitCal(DRAMC_CTX_T *p,
|
||||||
u2VrefEnd = 0;
|
u2VrefEnd = 0;
|
||||||
u2VrefStep = 1;
|
u2VrefStep = 1;
|
||||||
|
|
||||||
if ((u1UseTestEngine == PATTERN_TEST_ENGINE))
|
if (u1UseTestEngine == PATTERN_TEST_ENGINE)
|
||||||
{
|
{
|
||||||
#if (FOR_DV_SIMULATION_USED==0 && SW_CHANGE_FOR_SIMULATION==0)
|
#if (FOR_DV_SIMULATION_USED==0 && SW_CHANGE_FOR_SIMULATION==0)
|
||||||
if ((p->rank==RANK_0) || (p->frequency >= RX_VREF_DUAL_RANK_K_FREQ) || (u1RXEyeScanEnable==1))
|
if ((p->rank==RANK_0) || (p->frequency >= RX_VREF_DUAL_RANK_K_FREQ) || (u1RXEyeScanEnable==1))
|
||||||
|
|
|
@ -1440,7 +1440,7 @@ static void vCalibration_Flow_LP4(DRAMC_CTX_T *p)
|
||||||
DramcTxWindowPerbitCal(p, TX_DQ_DQS_MOVE_DQ_ONLY, FALSE, AUTOK_OFF);
|
DramcTxWindowPerbitCal(p, TX_DQ_DQS_MOVE_DQ_ONLY, FALSE, AUTOK_OFF);
|
||||||
|
|
||||||
#if TX_K_DQM_WITH_WDBI
|
#if TX_K_DQM_WITH_WDBI
|
||||||
if ((p->DBI_W_onoff[p->dram_fsp]==DBI_ON))
|
if (p->DBI_W_onoff[p->dram_fsp]==DBI_ON)
|
||||||
{
|
{
|
||||||
|
|
||||||
//mcSHOW_DBG_MSG(("[TX_K_DQM_WITH_WDBI] Step1: K DQM with DBI_ON, and check DQM window spec.\n\n"));
|
//mcSHOW_DBG_MSG(("[TX_K_DQM_WITH_WDBI] Step1: K DQM with DBI_ON, and check DQM window spec.\n\n"));
|
||||||
|
|
Loading…
Reference in New Issue