<p>You-Cheng Syu has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/c/coreboot/+/30127">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mediatek/mt8183: Deselect BOOTBLOCK_CONSOLE<br><br>MT8183 only allows booting from eMMC, so we have to do eMMC emulation<br>from an external source, for example EC, which makes the size of<br>bootblock very important.<br><br>Currently a fully functional bootblock is about 26000 bytes. If we<br>deselect BOOTBLOCK_CONSOLE, it can be reduced to about 19500 bytes<br>(75%). Since we don't have much logic in mt8183 bootblock, it should be<br>fine to disable console in bootblock.<br><br>BUG=b:120588396<br>TEST=manually flashed into kukui and boots into kernel<br><br>Change-Id: I84909fc8dbba972c8293070fcf71391cd9ae0151<br>---<br>M src/soc/mediatek/mt8183/Kconfig<br>1 file changed, 0 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/27/30127/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/soc/mediatek/mt8183/Kconfig b/src/soc/mediatek/mt8183/Kconfig</span><br><span>index b58be7f..fdc22a2 100644</span><br><span>--- a/src/soc/mediatek/mt8183/Kconfig</span><br><span>+++ b/src/soc/mediatek/mt8183/Kconfig</span><br><span>@@ -6,7 +6,6 @@</span><br><span>     select ARCH_ROMSTAGE_ARMV8_64</span><br><span>        select ARCH_VERSTAGE_ARMV8_64</span><br><span>        select ARM64_USE_ARM_TRUSTED_FIRMWARE</span><br><span style="color: hsl(0, 100%, 40%);">-   select BOOTBLOCK_CONSOLE</span><br><span>     select GENERIC_UDELAY</span><br><span>        select HAVE_UART_SPECIAL</span><br><span>     select HAVE_MONOTONIC_TIMER</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/c/coreboot/+/30127">change 30127</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/+/30127"/><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: I84909fc8dbba972c8293070fcf71391cd9ae0151 </div>
<div style="display:none"> Gerrit-Change-Number: 30127 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: You-Cheng Syu <youcheng@google.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>