From 8f25a6680e23663f4c88f7fe61a7a62e8fe284c4 Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Mon, 14 May 2018 11:43:30 -0700 Subject: rk3399: Enable bootblock compression This patch enables the new bootblock compression feature on RK3399, which requires moving MMU initialization into the decompressor stage and linking the decompressor (rather than the bootblock) into the entry point jumped to by the masked ROM. RK3399's masked ROM seems to be using a bitbang SPI driver to load us (very long pauses between clocking in each byte), with an effective data rate of about 1Mbit. Bootblock loading time (as measured on a SPI analyzer) is reduced by almost 100ms (about a third), while the decompression time is trivial (under 1ms). Change-Id: I48967ca5bb51cc4481d69dbacb4ca3c6b96cccea Signed-off-by: Julius Werner Reviewed-on: https://review.coreboot.org/26341 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/soc/rockchip/rk3399/Kconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'src/soc/rockchip/rk3399/Kconfig') diff --git a/src/soc/rockchip/rk3399/Kconfig b/src/soc/rockchip/rk3399/Kconfig index 7bc923efce..1d2960be1f 100644 --- a/src/soc/rockchip/rk3399/Kconfig +++ b/src/soc/rockchip/rk3399/Kconfig @@ -13,6 +13,7 @@ config SOC_ROCKCHIP_RK3399 select HAVE_MONOTONIC_TIMER select UART_OVERRIDE_REFCLK select HAVE_LINEAR_FRAMEBUFFER if MAINBOARD_DO_NATIVE_VGA_INIT + select COMPRESS_BOOTBLOCK if SOC_ROCKCHIP_RK3399 -- cgit v1.2.3