From b3b162f3b48e087f6656513862a6f9e1fa0757b1 Mon Sep 17 00:00:00 2001 From: Pan Gao Date: Tue, 28 Sep 2021 09:07:53 +0800 Subject: [PATCH] feat(plat/mediatek/common): enable software reset for CIRQ CIRQ software reset can be used on all platforms, so we remove CIRQ_NEED_SW_RESET in mt_cirq_sw_reset to enable software reset. BUG=b:192200380, b:201035723 Signed-off-by: Pan Gao Change-Id: Id53ea099ae566bf2a573fca866bd10c60429bd5a --- plat/mediatek/common/mtk_cirq.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/plat/mediatek/common/mtk_cirq.c b/plat/mediatek/common/mtk_cirq.c index de3798684..9cf714449 100644 --- a/plat/mediatek/common/mtk_cirq.c +++ b/plat/mediatek/common/mtk_cirq.c @@ -541,11 +541,9 @@ void mt_cirq_flush(void) void mt_cirq_sw_reset(void) { -#ifdef CIRQ_NEED_SW_RESET uint32_t st; st = mmio_read_32(CIRQ_CON); st |= (CIRQ_SW_RESET << CIRQ_CON_SW_RST_BITS); mmio_write_32(CIRQ_CON, st); -#endif }