From 03e9cb9b35a33f29d3fb0039960237eaea2f7ce6 Mon Sep 17 00:00:00 2001 From: Hung-Te Lin Date: Tue, 26 Jun 2018 13:42:04 +0800 Subject: mediatek/mt8183: Enable bootblock self-decompression MT8183 only allows booting from eMMC, so we have to do eMMC emulation from an external source, for example EC, which makes the size of bootblock very important. A fully functional bootblock (that can boot into verstage or romstage) is about 38000 bytes. If self decompression (CONFIG_COMPRESS_BOOTBLOCK) is enabled, only 25088 (66%) bytes are needed. Inspired from crosreview.com/1070018. BUG=b:80501386 TEST=manually flashed into kukui and boots into romstage. Change-Id: I7a739866a4ea3bcafe2ff7b9e88d5ed00f3f3e40 Signed-off-by: Hung-Te Lin Reviewed-on: https://review.coreboot.org/27599 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/soc/mediatek/mt8183/Kconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'src/soc/mediatek/mt8183/Kconfig') diff --git a/src/soc/mediatek/mt8183/Kconfig b/src/soc/mediatek/mt8183/Kconfig index 040e69219e..b58be7ff88 100644 --- a/src/soc/mediatek/mt8183/Kconfig +++ b/src/soc/mediatek/mt8183/Kconfig @@ -10,6 +10,7 @@ config SOC_MEDIATEK_MT8183 select GENERIC_UDELAY select HAVE_UART_SPECIAL select HAVE_MONOTONIC_TIMER + select COMPRESS_BOOTBLOCK if SOC_MEDIATEK_MT8183 -- cgit v1.2.3