aboutsummaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/sc7180/decompressor.c
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2020-09-29 19:23:36 -0700
committerJulius Werner <jwerner@chromium.org>2020-10-13 22:41:19 +0000
commit87feced195e70e37d7977a394b4b9779ccdfc064 (patch)
treeb35665cb4126add72e0a38100b66a94305dbb2db /src/soc/qualcomm/sc7180/decompressor.c
parent6b8305d24054a452716b748e406c0263607d3bcb (diff)
sc7180: Enable bootblock compression
This patch enables bootblock compression on SC7180. In my tests, that makes it boot roughly 10ms faster (which isn't much, but... might as well take it). Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: Ibbe06eeb05347cc77395681969e6eaf1598b4260 Reviewed-on: https://review.coreboot.org/c/coreboot/+/45855 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/qualcomm/sc7180/decompressor.c')
-rw-r--r--src/soc/qualcomm/sc7180/decompressor.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/soc/qualcomm/sc7180/decompressor.c b/src/soc/qualcomm/sc7180/decompressor.c
new file mode 100644
index 0000000000..ac55150600
--- /dev/null
+++ b/src/soc/qualcomm/sc7180/decompressor.c
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <bootblock_common.h>
+#include <soc/mmu.h>
+
+void decompressor_soc_init(void)
+{
+ sc7180_mmu_init();
+}