sc7280: Enable bootblock compression

This patch enables bootblock compression on SC7280. In my tests, that
makes it boot roughly 10ms faster (which isn't much, but... might as
well take it).

Ref link: https://review.coreboot.org/c/coreboot/+/45855

BUG=b:182963902
TEST=Validated on qualcomm sc7180 and sc7280 development board.

Change-Id: I3564a7e531d769c8df16a1592ea98133d83b07b0
Signed-off-by: Ravi Kumar Bokka <rbokka@codeaurora.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52131
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Shelley Chen <shchen@google.com>
This commit is contained in:
Ravi Kumar Bokka 2021-04-06 17:01:05 +05:30 committed by Shelley Chen
parent 1a368769b9
commit 86b0609c28
3 changed files with 13 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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();
}