<p>Tristan Hsieh has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/c/coreboot/+/29921">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mediatek/mt8183: Add external interrupts (EINT) support<br><br>To communicate with TPM, We need EINT dirver for TPM intterupt.<br><br>BUG=b:80501386<br>BRANCH=none<br>TEST=emerge-kukui coreboot<br><br>Change-Id: I730ee52226d17bf4ab51aa0ec09ea331766548ab<br>Signed-off-by: Tristan Shieh <tristan.shieh@mediatek.com><br>---<br>M src/soc/mediatek/mt8183/Makefile.inc<br>M src/soc/mediatek/mt8183/include/soc/addressmap.h<br>2 files changed, 5 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/21/29921/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/soc/mediatek/mt8183/Makefile.inc b/src/soc/mediatek/mt8183/Makefile.inc</span><br><span>index b981e45..244b2c4 100644</span><br><span>--- a/src/soc/mediatek/mt8183/Makefile.inc</span><br><span>+++ b/src/soc/mediatek/mt8183/Makefile.inc</span><br><span>@@ -2,7 +2,7 @@</span><br><span> </span><br><span> bootblock-y += auxadc.c</span><br><span> bootblock-y += bootblock.c</span><br><span style="color: hsl(0, 100%, 40%);">-bootblock-y += ../common/gpio.c gpio.c</span><br><span style="color: hsl(120, 100%, 40%);">+bootblock-y += ../common/eint.c ../common/gpio.c gpio.c</span><br><span> bootblock-y += ../common/pll.c pll.c</span><br><span> bootblock-$(CONFIG_SPI_FLASH) += ../common/spi.c spi.c</span><br><span> bootblock-y += ../common/timer.c</span><br><span>@@ -14,7 +14,7 @@</span><br><span> decompressor-y += ../common/timer.c</span><br><span> </span><br><span> verstage-y += auxadc.c</span><br><span style="color: hsl(0, 100%, 40%);">-verstage-y += ../common/gpio.c gpio.c</span><br><span style="color: hsl(120, 100%, 40%);">+verstage-y += ../common/eint.c ../common/gpio.c gpio.c</span><br><span> verstage-$(CONFIG_SPI_FLASH) += ../common/spi.c spi.c</span><br><span> verstage-y += ../common/timer.c</span><br><span> verstage-y += ../common/uart.c</span><br><span>@@ -26,7 +26,7 @@</span><br><span> romstage-y += dramc_pi_basic_api.c</span><br><span> romstage-y += dramc_pi_calibration_api.c</span><br><span> romstage-y += memory.c</span><br><span style="color: hsl(0, 100%, 40%);">-romstage-y += ../common/gpio.c gpio.c</span><br><span style="color: hsl(120, 100%, 40%);">+romstage-y += ../common/eint.c ../common/gpio.c gpio.c</span><br><span> romstage-y += ../common/mmu_operations.c mmu_operations.c</span><br><span> romstage-y += ../common/pmic_wrap.c pmic_wrap.c mt6358.c</span><br><span> romstage-$(CONFIG_SPI_FLASH) += ../common/spi.c spi.c</span><br><span>@@ -36,7 +36,7 @@</span><br><span> </span><br><span> ramstage-y += auxadc.c</span><br><span> ramstage-y += ../common/cbmem.c emi.c</span><br><span style="color: hsl(0, 100%, 40%);">-ramstage-y += ../common/gpio.c gpio.c</span><br><span style="color: hsl(120, 100%, 40%);">+ramstage-y += ../common/eint.c ../common/gpio.c gpio.c</span><br><span> ramstage-y += ../common/mmu_operations.c mmu_operations.c</span><br><span> ramstage-y += ../common/mtcmos.c mtcmos.c</span><br><span> ramstage-y += soc.c</span><br><span>diff --git a/src/soc/mediatek/mt8183/include/soc/addressmap.h b/src/soc/mediatek/mt8183/include/soc/addressmap.h</span><br><span>index 7578c28..2b2c8e8 100644</span><br><span>--- a/src/soc/mediatek/mt8183/include/soc/addressmap.h</span><br><span>+++ b/src/soc/mediatek/mt8183/include/soc/addressmap.h</span><br><span>@@ -28,6 +28,7 @@</span><br><span>   SPM_BASE                = IO_PHYS + 0x00006000,</span><br><span>      RGU_BASE                = IO_PHYS + 0x00007000,</span><br><span>      GPT_BASE                = IO_PHYS + 0x00008000,</span><br><span style="color: hsl(120, 100%, 40%);">+       EINT_BASE               = IO_PHYS + 0x0000B000,</span><br><span>      APMIXED_BASE            = IO_PHYS + 0x0000C000,</span><br><span>      PWRAP_BASE              = IO_PHYS + 0x0000D000,</span><br><span>      EMI_BASE                = IO_PHYS + 0x00219000,</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/c/coreboot/+/29921">change 29921</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/c/coreboot/+/29921"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I730ee52226d17bf4ab51aa0ec09ea331766548ab </div>
<div style="display:none"> Gerrit-Change-Number: 29921 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Tristan Hsieh <tristan.shieh@mediatek.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>