mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 01:54:22 +00:00
refactor(qemu): common BL31 sources
Move BL31 source list into common file. Change-Id: Iaa27cfd8f87b691728379c87a6ff6331e87951e1 Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
This commit is contained in:
parent
71f5359b11
commit
1888475005
3 changed files with 16 additions and 21 deletions
|
@ -63,3 +63,13 @@ BL2_SOURCES += drivers/io/io_semihosting.c \
|
|||
${PLAT_QEMU_COMMON_PATH}/qemu_image_load.c \
|
||||
common/desc_image_load.c \
|
||||
common/fdt_fixup.c
|
||||
|
||||
BL31_SOURCES += ${QEMU_CPU_LIBS} \
|
||||
lib/semihosting/semihosting.c \
|
||||
lib/semihosting/${ARCH}/semihosting_call.S \
|
||||
plat/common/plat_psci_common.c \
|
||||
${PLAT_QEMU_COMMON_PATH}/aarch64/plat_helpers.S \
|
||||
${PLAT_QEMU_COMMON_PATH}/qemu_bl31_setup.c \
|
||||
common/fdt_fixup.c \
|
||||
${QEMU_GIC_SOURCES}
|
||||
|
||||
|
|
|
@ -156,18 +156,11 @@ else
|
|||
$(error "Incorrect GIC driver chosen for QEMU platform")
|
||||
endif
|
||||
|
||||
ifeq (${ARM_ARCH_MAJOR},8)
|
||||
BL31_SOURCES += ${QEMU_CPU_LIBS} \
|
||||
lib/semihosting/semihosting.c \
|
||||
lib/semihosting/${ARCH}/semihosting_call.S \
|
||||
plat/common/plat_psci_common.c \
|
||||
drivers/arm/pl061/pl061_gpio.c \
|
||||
ifeq (${ARCH},aarch64)
|
||||
BL31_SOURCES += drivers/arm/pl061/pl061_gpio.c \
|
||||
drivers/gpio/gpio.c \
|
||||
${PLAT_QEMU_COMMON_PATH}/qemu_pm.c \
|
||||
${PLAT_QEMU_COMMON_PATH}/topology.c \
|
||||
${PLAT_QEMU_COMMON_PATH}/aarch64/plat_helpers.S \
|
||||
${PLAT_QEMU_COMMON_PATH}/qemu_bl31_setup.c \
|
||||
${QEMU_GIC_SOURCES}
|
||||
${PLAT_QEMU_COMMON_PATH}/qemu_pm.c \
|
||||
${PLAT_QEMU_COMMON_PATH}/topology.c
|
||||
|
||||
ifeq (${SDEI_SUPPORT}, 1)
|
||||
BL31_SOURCES += plat/qemu/common/qemu_sdei.c
|
||||
|
|
|
@ -43,18 +43,10 @@ include drivers/arm/gic/v3/gicv3.mk
|
|||
QEMU_GIC_SOURCES := ${GICV3_SOURCES} \
|
||||
plat/common/plat_gicv3.c
|
||||
|
||||
BL31_SOURCES += ${QEMU_CPU_LIBS} \
|
||||
lib/semihosting/semihosting.c \
|
||||
lib/semihosting/${ARCH}/semihosting_call.S \
|
||||
plat/common/plat_psci_common.c \
|
||||
${PLAT_QEMU_PATH}/sbsa_gic.c \
|
||||
BL31_SOURCES += ${PLAT_QEMU_PATH}/sbsa_gic.c \
|
||||
${PLAT_QEMU_PATH}/sbsa_pm.c \
|
||||
${PLAT_QEMU_PATH}/sbsa_sip_svc.c \
|
||||
${PLAT_QEMU_PATH}/sbsa_topology.c \
|
||||
${PLAT_QEMU_COMMON_PATH}/aarch64/plat_helpers.S \
|
||||
${PLAT_QEMU_COMMON_PATH}/qemu_bl31_setup.c \
|
||||
common/fdt_fixup.c \
|
||||
${QEMU_GIC_SOURCES}
|
||||
${PLAT_QEMU_PATH}/sbsa_topology.c
|
||||
|
||||
BL31_SOURCES += ${FDT_WRAPPERS_SOURCES}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue