ab686715f2
The eint driver can be shared by multiple platforms so we want to move it to common/. BRANCH=asurada TEST=emerge-asurada coreboot Signed-off-by: Yidi Lin <yidi.lin@mediatek.com> Change-Id: Id8e0b631d5079e51213831ed17aa540e0afadd4b Reviewed-on: https://review.coreboot.org/c/coreboot/+/52506 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
10 lines
255 B
C
10 lines
255 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
#include <soc/eint_event.h>
|
|
|
|
void unmask_eint_event_mask(void)
|
|
{
|
|
int i;
|
|
for (i = 0; i < ARRAY_SIZE(mtk_eint_event->eint_event_mask_clr); i++)
|
|
write32(&mtk_eint_event->eint_event_mask_clr[i], 0xffffffff);
|
|
}
|