Attention is currently required from: Hung-Te Lin, Yu-Ping Wu, Yidi Lin.
Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/74554 )
Change subject: soc/mediatek/mt8193: Fix set but unused variable ......................................................................
soc/mediatek/mt8193: Fix set but unused variable
This fixes a clang warning.
Change-Id: I017ed8601e6ec4c66487e9a6f31e93251515e686 Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M src/soc/mediatek/mt8183/dramc_pi_calibration_api.c 1 file changed, 13 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/74554/1
diff --git a/src/soc/mediatek/mt8183/dramc_pi_calibration_api.c b/src/soc/mediatek/mt8183/dramc_pi_calibration_api.c index c772885..ab49bee 100644 --- a/src/soc/mediatek/mt8183/dramc_pi_calibration_api.c +++ b/src/soc/mediatek/mt8183/dramc_pi_calibration_api.c @@ -2170,7 +2170,7 @@ u8 vref = 0, vref_begin = 0, vref_end = 1, vref_step = 1, vref_use = 0; u8 vref_scan_enable = 0, small_reg_value = 0xff; s16 dly_begin = 0, dly_end = 0, dly_step = 1; - u32 dummy_rd_bak_engine2 = 0, finish_bit, win_min_max = 0; + u32 dummy_rd_bak_engine2 = 0, win_min_max = 0; static u16 dq_precal_result[DQS_NUMBER]; struct vref_perbit_dly vref_dly; struct win_perbit_dly win_perbit[DQ_DATA_WIDTH]; @@ -2240,7 +2240,6 @@ vref_dly.max_win_sum = 0; for (vref = vref_begin; vref < vref_end; vref += vref_step) { small_reg_value = 0xff; - finish_bit = 0; if (type == TX_WIN_DQ_ONLY) vref_use = vref | (vref_range << 6); else