diff options
author | Manish Pandey <manish.pandey2@arm.com> | 2021-07-28 13:01:35 +0200 |
---|---|---|
committer | TrustedFirmware Code Review <review@review.trustedfirmware.org> | 2021-07-28 13:01:35 +0200 |
commit | fe1021f1a13e1c02c42bb80de74a096ccb8d49da (patch) | |
tree | b09770adcb8e8b79961dd240078fb0af3f3ca1ef /plat | |
parent | d985cb743bde7ddf61f85b0ff83930d459120288 (diff) | |
parent | 6e63cdc55e3b8b75396f42b2a6ad9951a9b8332b (diff) | |
download | trusted-firmware-a-fe1021f1a13e1c02c42bb80de74a096ccb8d49da.tar.gz |
Merge "rpi4: enable RPi4 PCI SMC conduit" into integration
Diffstat (limited to 'plat')
-rw-r--r-- | plat/rpi/rpi4/platform.mk | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/plat/rpi/rpi4/platform.mk b/plat/rpi/rpi4/platform.mk index 99d51fb29b..528eb1d2e1 100644 --- a/plat/rpi/rpi4/platform.mk +++ b/plat/rpi/rpi4/platform.mk @@ -1,5 +1,5 @@ # -# Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved. +# Copyright (c) 2013-2021, ARM Limited and Contributors. All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause # @@ -86,6 +86,9 @@ RPI3_RUNTIME_UART := 0 # Use normal memory mapping for ROM, FIP, SRAM and DRAM RPI3_USE_UEFI_MAP := 0 +# SMCCC PCI support (should be enabled for ACPI builds) +SMC_PCI_SUPPORT := 0 + # Process platform flags # ---------------------- @@ -96,6 +99,7 @@ $(eval $(call add_define,RPI3_PRELOADED_DTB_BASE)) endif $(eval $(call add_define,RPI3_RUNTIME_UART)) $(eval $(call add_define,RPI3_USE_UEFI_MAP)) +$(eval $(call add_define,SMC_PCI_SUPPORT)) ifeq (${ARCH},aarch32) $(error Error: AArch32 not supported on rpi4) @@ -105,3 +109,8 @@ ifneq ($(ENABLE_STACK_PROTECTOR), 0) PLAT_BL_COMMON_SOURCES += drivers/rpi3/rng/rpi3_rng.c \ plat/rpi/common/rpi3_stack_protector.c endif + +ifeq ($(SMC_PCI_SUPPORT), 1) +BL31_SOURCES += plat/rpi/rpi4/rpi4_pci_svc.c +endif + |