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 <gtk_pangao@mediatek.com> Change-Id: Id53ea099ae566bf2a573fca866bd10c60429bd5a
This commit is contained in:
parent
3b994a7530
commit
b3b162f3b4
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue