Attention is currently required from: Ryan Chuang. Hello Ryan Chuang,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/56203
to review the following change.
Change subject: vc/mediatek/mt8195: Remove the redundant code ......................................................................
vc/mediatek/mt8195: Remove the redundant code
Signed-off-by: Ryan Chuang ryan.chuang@mediatek.corp-partner.google.com Change-Id: I10b2d3c6cb3480f9e3e3232b5ce87ecf7074bbbf --- M src/vendorcode/mediatek/mt8195/dramc/emi.c 1 file changed, 1 insertion(+), 8 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/03/56203/1
diff --git a/src/vendorcode/mediatek/mt8195/dramc/emi.c b/src/vendorcode/mediatek/mt8195/dramc/emi.c index 0804458..416011d 100644 --- a/src/vendorcode/mediatek/mt8195/dramc/emi.c +++ b/src/vendorcode/mediatek/mt8195/dramc/emi.c @@ -720,14 +720,7 @@ unsigned int cen_emi_conh = mt_emi_sync_read(EMI_CONH); unsigned long long dq_width;
- switch (mt_get_dram_type_from_hw_trap()) { - case TYPE_LPDDR4X: - case TYPE_LPDDR4: - dq_width = 2; - break; - default: - ASSERT(0); - } + dq_width = 2;
dram_rank_size[0] = 0; dram_rank_size[1] = 0;