sc7180: enable bl31

Developer/Reviewer, be aware of this patch from Napali:
https://review.coreboot.org/c/coreboot/+/28014/44

Change-Id: Ia961ee0e30478e21fd786ce464655977449df510
Signed-off-by: Ashwin Kumar <ashk@codeaurora.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35504
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
T Michael Turney 2019-09-20 11:27:08 -07:00 committed by Julius Werner
parent 43810cb179
commit 0b493bbb9e
2 changed files with 8 additions and 0 deletions

View File

@ -6,6 +6,7 @@ config SOC_QUALCOMM_SC7180
select ARCH_RAMSTAGE_ARMV8_64 select ARCH_RAMSTAGE_ARMV8_64
select ARCH_ROMSTAGE_ARMV8_64 select ARCH_ROMSTAGE_ARMV8_64
select ARCH_VERSTAGE_ARMV8_64 select ARCH_VERSTAGE_ARMV8_64
select ARM64_USE_ARM_TRUSTED_FIRMWARE
select GENERIC_GPIO_LIB select GENERIC_GPIO_LIB
select GENERIC_UDELAY select GENERIC_UDELAY
select HAVE_MONOTONIC_TIMER select HAVE_MONOTONIC_TIMER

View File

@ -71,6 +71,13 @@ BL31_MAKEARGS += PLAT=sc7180
SC7180_BLOB := $(top)/3rdparty/qc_blobs/sc7180 SC7180_BLOB := $(top)/3rdparty/qc_blobs/sc7180
ifeq ($(CONFIG_QC_SDI_ENABLE),y)
BL31_MAKEARGS += QTI_SDI_BUILD=1
BL31_MAKEARGS += QTISECLIB_PATH=$(SC7180_BLOB)/qtiseclib/libqtisec_dbg.a
else
BL31_MAKEARGS += QTISECLIB_PATH=$(SC7180_BLOB)/qtiseclib/libqtisec.a
endif # CONFIG_QC_SDI_ENABLE
################################################################################ ################################################################################
ifeq ($(CONFIG_QC_SDI_ENABLE),y) ifeq ($(CONFIG_QC_SDI_ENABLE),y)
QCSDI_FILE := $(SC7180_BLOB)/boot/QcSdi.elf QCSDI_FILE := $(SC7180_BLOB)/boot/QcSdi.elf