aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/gru
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2018-05-14 11:43:30 -0700
committerJulius Werner <jwerner@chromium.org>2018-05-22 02:44:33 +0000
commit8f25a6680e23663f4c88f7fe61a7a62e8fe284c4 (patch)
treebb18eb627d3381267506d9fa1ff762c0c905f30d /src/mainboard/google/gru
parent99f4683adf3203d11c164b15a5455e778709a3e0 (diff)
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 <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/26341 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/google/gru')
-rw-r--r--src/mainboard/google/gru/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/gru/Makefile.inc b/src/mainboard/google/gru/Makefile.inc
index 122139dd15..11100d7979 100644
--- a/src/mainboard/google/gru/Makefile.inc
+++ b/src/mainboard/google/gru/Makefile.inc
@@ -15,6 +15,8 @@
subdirs-y += sdram_params/
+decompressor-y += memlayout.ld
+
bootblock-y += bootblock.c
bootblock-y += chromeos.c
bootblock-y += memlayout.ld