soc/qualcomm/x1p42100/qclib: Support to pack AOP config and meta in CBFS
Add support to pack AOP config and AOP config metadata. Reserve region for aop blob meta load in memlayout. Change-Id: Iafa4d878d6bf515824681b24f6078ab868c26bf6 Signed-off-by: Swathi Tamilselvan <tswathi@qualcomm.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/88814 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Kapil Porwal <kapilporwal@google.com>
This commit is contained in:
parent
5de5b519ca
commit
3f4c84513d
2 changed files with 23 additions and 0 deletions
|
|
@ -166,6 +166,28 @@ $(AOP_META_CBFS)-type := raw
|
|||
$(AOP_META_CBFS)-compression := $(CBFS_COMPRESS_FLAG)
|
||||
cbfs-files-y += $(AOP_META_CBFS)
|
||||
|
||||
################################################################################
|
||||
AOP_CFG_FILE := $(X1P42100_BLOB)/aop/aop_devcfg.mbn
|
||||
AOP_CFG_CBFS := $(CONFIG_CBFS_PREFIX)/aop_cfg
|
||||
$(AOP_CFG_CBFS)-file := $(AOP_CFG_FILE)
|
||||
$(AOP_CFG_CBFS)-type := payload
|
||||
$(AOP_CFG_CBFS)-compression := $(CBFS_COMPRESS_FLAG)
|
||||
cbfs-files-y += $(AOP_CFG_CBFS)
|
||||
|
||||
################################################################################
|
||||
# Rule to create aop_meta from aop_devcfg.mbn
|
||||
# This rule depends on aop_devcfg.mbn built and the extractor script existing.
|
||||
$(obj)/mainboard/$(MAINBOARDDIR)/aop_devcfg_meta: $(X1P42100_BLOB)/aop/aop_devcfg.mbn util/qualcomm/elf_segment_extractor.py
|
||||
@echo "Extracting ELF headers and hash table segment from $< to $@"
|
||||
@util/qualcomm/elf_segment_extractor.py --eh --pht --hashtable $< $@
|
||||
|
||||
AOP_DEVCFG_META_FILE := $(obj)/mainboard/$(MAINBOARDDIR)/aop_devcfg_meta
|
||||
AOP_DEVCFG_META_CBFS := $(CONFIG_CBFS_PREFIX)/aop_devcfg_meta
|
||||
$(AOP_DEVCFG_META_CBFS)-file := $(AOP_DEVCFG_META_FILE)
|
||||
$(AOP_DEVCFG_META_CBFS)-type := raw
|
||||
$(AOP_DEVCFG_META_CBFS)-compression := $(CBFS_COMPRESS_FLAG)
|
||||
cbfs-files-y += $(AOP_DEVCFG_META_CBFS)
|
||||
|
||||
################################################################################
|
||||
CPUCP_FILE := $(X1P42100_BLOB)/cpucp/cpucp.elf
|
||||
CPUCP_CBFS := $(CONFIG_CBFS_PREFIX)/cpucp
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ SECTIONS
|
|||
REGION(dtb, 0x14870000, 32K, 4K)
|
||||
REGION(ddr_training, 0x14878000, 64K, 4K)
|
||||
REGION(qc_blob_meta, 0x14888000, 16K, 4K)
|
||||
REGION(aop_blob_meta, 0x1488c000, 16K, 4K)
|
||||
REGION(qclib, 0x14897000, 1536K, 4K)
|
||||
PRERAM_CBMEM_CONSOLE(0x14A30000, 32K)
|
||||
OVERLAP_DECOMPRESSOR_VERSTAGE_ROMSTAGE(0x14A38000, 132K)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue