mirror of
https://github.com/CTCaer/switch-l4t-atf.git
synced 2024-11-23 17:59:40 +00:00
Merge changes I9405f7f6,Id53ea099 into integration
* changes: fix(plat/mediatek/mt8183): fix out-of-bound access feat(plat/mediatek/common): enable software reset for CIRQ
This commit is contained in:
commit
fcfecdaf2e
@ -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
|
||||
}
|
||||
|
@ -149,7 +149,7 @@ int sspm_alive_show(void)
|
||||
|
||||
while (sspm_ipi_recv_non_blocking(IPI_ID_PLATFORM,
|
||||
&ipi_data,
|
||||
sizeof(ipi_data))
|
||||
sizeof(ipi_data) / sizeof(uint32_t))
|
||||
&& count) {
|
||||
mdelay(100);
|
||||
count--;
|
||||
|
Loading…
Reference in New Issue
Block a user