summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/qualcomm/sc7280/Kconfig1
-rw-r--r--src/soc/qualcomm/sc7280/Makefile.inc3
-rw-r--r--src/soc/qualcomm/sc7280/decompressor.c9
3 files changed, 13 insertions, 0 deletions
diff --git a/src/soc/qualcomm/sc7280/Kconfig b/src/soc/qualcomm/sc7280/Kconfig
index fad3040dcf..a65a3eea37 100644
--- a/src/soc/qualcomm/sc7280/Kconfig
+++ b/src/soc/qualcomm/sc7280/Kconfig
@@ -13,6 +13,7 @@ config SOC_QUALCOMM_SC7280
select SOC_QUALCOMM_COMMON
select CACHE_MRC_SETTINGS
select HAS_RECOVERY_MRC_CACHE
+ select COMPRESS_BOOTBLOCK
if SOC_QUALCOMM_SC7280
diff --git a/src/soc/qualcomm/sc7280/Makefile.inc b/src/soc/qualcomm/sc7280/Makefile.inc
index c4e3f3ea04..420e0cad60 100644
--- a/src/soc/qualcomm/sc7280/Makefile.inc
+++ b/src/soc/qualcomm/sc7280/Makefile.inc
@@ -1,5 +1,8 @@
ifeq ($(CONFIG_SOC_QUALCOMM_SC7280),y)
+decompressor-y += decompressor.c
+decompressor-y += mmu.c
+decompressor-y += ../common/timer.c
all-y += ../common/timer.c
all-y += ../common/gpio.c
all-y += ../common/clock.c
diff --git a/src/soc/qualcomm/sc7280/decompressor.c b/src/soc/qualcomm/sc7280/decompressor.c
new file mode 100644
index 0000000000..3108b044d2
--- /dev/null
+++ b/src/soc/qualcomm/sc7280/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)
+{
+ sc7280_mmu_init();
+}