sc7280: Add AOP FW download support
AOP firmware support from sc7280. BUG=b:182963902 TEST=Validated on qualcomm sc7280 development board Signed-off-by: Ravi Kumar Bokka <rbokka@codeaurora.org> Change-Id: Ib7027cdf78a9cdcccc8cfff7eef3cc540fb4093e Reviewed-on: https://review.coreboot.org/c/coreboot/+/58371 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Shelley Chen <shchen@google.com>
This commit is contained in:
parent
64f7eaafa7
commit
5fa09cb17f
@ -36,6 +36,7 @@ romstage-$(CONFIG_DRIVERS_UART) += ../common/qupv3_uart.c
|
||||
ramstage-y += soc.c
|
||||
ramstage-y += cbmem.c
|
||||
ramstage-$(CONFIG_DRIVERS_UART) += ../common/qupv3_uart.c
|
||||
ramstage-y += ../common/aop_load_reset.c
|
||||
|
||||
################################################################################
|
||||
|
||||
@ -102,6 +103,14 @@ $(I2C_FW_CBFS)-type := raw
|
||||
$(I2C_FW_CBFS)-compression := $(CBFS_PRERAM_COMPRESS_FLAG)
|
||||
cbfs-files-y += $(I2C_FW_CBFS)
|
||||
|
||||
################################################################################
|
||||
AOP_FILE := $(SC7280_BLOB)/aop/aop.mbn
|
||||
AOP_CBFS := $(CONFIG_CBFS_PREFIX)/aop
|
||||
$(AOP_CBFS)-file := $(AOP_FILE)
|
||||
$(AOP_CBFS)-type := payload
|
||||
$(AOP_CBFS)-compression := $(CBFS_COMPRESS_FLAG)
|
||||
cbfs-files-y += $(AOP_CBFS)
|
||||
|
||||
################################################################################
|
||||
SHRM_FILE := $(SC7280_BLOB)/shrm/shrm.elf
|
||||
SHRM_CBFS := $(CONFIG_CBFS_PREFIX)/shrm
|
||||
|
@ -4,6 +4,7 @@
|
||||
#include <soc/mmu.h>
|
||||
#include <soc/mmu_common.h>
|
||||
#include <soc/symbols_common.h>
|
||||
#include <soc/aop_common.h>
|
||||
|
||||
static void soc_read_resources(struct device *dev)
|
||||
{
|
||||
@ -21,6 +22,7 @@ static void soc_read_resources(struct device *dev)
|
||||
|
||||
static void soc_init(struct device *dev)
|
||||
{
|
||||
aop_fw_load_reset();
|
||||
}
|
||||
|
||||
static struct device_operations soc_ops = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user