Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
fe1021f1
Commit
fe1021f1
authored
Jul 28, 2021
by
Manish Pandey
Committed by
TrustedFirmware Code Review
Jul 28, 2021
Browse files
Merge "rpi4: enable RPi4 PCI SMC conduit" into integration
parents
d985cb74
6e63cdc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
plat/rpi/rpi4/platform.mk
View file @
fe1021f1
#
#
# Copyright (c) 2013-201
9
, ARM Limited and Contributors. All rights reserved.
# Copyright (c) 2013-20
2
1, ARM Limited and Contributors. All rights reserved.
#
#
# SPDX-License-Identifier: BSD-3-Clause
# SPDX-License-Identifier: BSD-3-Clause
#
#
...
@@ -86,6 +86,9 @@ RPI3_RUNTIME_UART := 0
...
@@ -86,6 +86,9 @@ RPI3_RUNTIME_UART := 0
# Use normal memory mapping for ROM, FIP, SRAM and DRAM
# Use normal memory mapping for ROM, FIP, SRAM and DRAM
RPI3_USE_UEFI_MAP
:=
0
RPI3_USE_UEFI_MAP
:=
0
# SMCCC PCI support (should be enabled for ACPI builds)
SMC_PCI_SUPPORT
:=
0
# Process platform flags
# Process platform flags
# ----------------------
# ----------------------
...
@@ -96,6 +99,7 @@ $(eval $(call add_define,RPI3_PRELOADED_DTB_BASE))
...
@@ -96,6 +99,7 @@ $(eval $(call add_define,RPI3_PRELOADED_DTB_BASE))
endif
endif
$(eval
$(call
add_define,RPI3_RUNTIME_UART))
$(eval
$(call
add_define,RPI3_RUNTIME_UART))
$(eval
$(call
add_define,RPI3_USE_UEFI_MAP))
$(eval
$(call
add_define,RPI3_USE_UEFI_MAP))
$(eval
$(call
add_define,SMC_PCI_SUPPORT))
ifeq
(${ARCH},aarch32)
ifeq
(${ARCH},aarch32)
$(error Error
:
AArch32 not supported on rpi4)
$(error Error
:
AArch32 not supported on rpi4)
...
@@ -105,3 +109,8 @@ ifneq ($(ENABLE_STACK_PROTECTOR), 0)
...
@@ -105,3 +109,8 @@ ifneq ($(ENABLE_STACK_PROTECTOR), 0)
PLAT_BL_COMMON_SOURCES
+=
drivers/rpi3/rng/rpi3_rng.c
\
PLAT_BL_COMMON_SOURCES
+=
drivers/rpi3/rng/rpi3_rng.c
\
plat/rpi/common/rpi3_stack_protector.c
plat/rpi/common/rpi3_stack_protector.c
endif
endif
ifeq
($(SMC_PCI_SUPPORT), 1)
BL31_SOURCES
+=
plat/rpi/rpi4/rpi4_pci_svc.c
endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment