Xi Chen has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/47383 )
Change subject: TEST-ONLY: soc/mediatek/mt8192: disable emi bw threshold monitor ......................................................................
TEST-ONLY: soc/mediatek/mt8192: disable emi bw threshold monitor
Signed-off-by: Xi Chen xixi.chen@mediatek.com Change-Id: I6053da10a1f41836cb455d30fd2bcd7a84047121 --- M src/soc/mediatek/mt8192/emi.c 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/83/47383/1
diff --git a/src/soc/mediatek/mt8192/emi.c b/src/soc/mediatek/mt8192/emi.c old mode 100644 new mode 100755 index d485131..4b971d0 --- a/src/soc/mediatek/mt8192/emi.c +++ b/src/soc/mediatek/mt8192/emi.c @@ -346,9 +346,11 @@ setbits32(&emi_mpu->mpu_ctrl_d[1], BIT(4)); setbits32(&emi_mpu->mpu_ctrl_d[7], BIT(4));
+#ifdef ENABLE_EMI_BW_THRESHOLD write32(&emi_reg->bwct0, 0x05008305); write32(&emi_reg->bwct0_6th, 0x08ff8705); write32(&emi_reg->bwct0_3rd, 0x0dff8a05); +#endif setbits32(&emi_reg->thro_ctrl1, 0x3 << 8); }