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
53269932
Unverified
Commit
53269932
authored
Aug 22, 2018
by
Dimitris Papastamos
Committed by
GitHub
Aug 22, 2018
Browse files
Merge pull request #1526 from robertovargas-arm/arm-memprotect
memprotect: Move files to specific platform makefiles
parents
7c3a0b01
9d57a147
Changes
5
Hide whitespace changes
Inline
Side-by-side
plat/arm/board/common/board_common.mk
View file @
53269932
#
# Copyright (c) 2015-201
7
, ARM Limited and Contributors. All rights reserved.
# Copyright (c) 2015-201
8
, ARM Limited and Contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
...
...
@@ -12,13 +12,7 @@ PLAT_BL_COMMON_SOURCES += drivers/arm/pl011/${ARCH}/pl011_console.S \
BL1_SOURCES
+=
plat/arm/board/common/drivers/norflash/norflash.c
BL2_SOURCES
+=
lib/utils/mem_region.c
\
plat/arm/common/arm_nor_psci_mem_protect.c
\
plat/arm/board/common/drivers/norflash/norflash.c
BL31_SOURCES
+=
lib/utils/mem_region.c
\
plat/arm/board/common/drivers/norflash/norflash.c
\
plat/arm/common/arm_nor_psci_mem_protect.c
BL2_SOURCES
+=
plat/arm/board/common/drivers/norflash/norflash.c
ifneq
(${TRUSTED_BOARD_BOOT},0)
ifneq
(${ARM_CRYPTOCELL_INTEG}, 1)
...
...
plat/arm/board/fvp/platform.mk
View file @
53269932
...
...
@@ -134,13 +134,17 @@ BL1_SOURCES += drivers/io/io_semihosting.c \
BL2_SOURCES
+=
drivers/io/io_semihosting.c
\
lib/utils/mem_region.c
\
lib/semihosting/semihosting.c
\
lib/semihosting/
${ARCH}
/semihosting_call.S
\
plat/arm/board/fvp/fvp_bl2_setup.c
\
plat/arm/board/fvp/fvp_io_storage.c
\
plat/arm/board/fvp/fvp_trusted_boot.c
\
plat/arm/common/arm_nor_psci_mem_protect.c
\
${FVP_SECURITY_SOURCES}
ifeq
(${BL2_AT_EL3},1)
BL2_SOURCES
+=
plat/arm/board/fvp/
${ARCH}
/fvp_helpers.S
\
plat/arm/board/fvp/fvp_bl2_el3_setup.c
\
...
...
@@ -156,11 +160,14 @@ BL2U_SOURCES += plat/arm/board/fvp/fvp_bl2u_setup.c \
${FVP_SECURITY_SOURCES}
BL31_SOURCES
+=
drivers/arm/smmu/smmu_v3.c
\
lib/utils/mem_region.c
\
plat/arm/board/fvp/fvp_bl31_setup.c
\
plat/arm/board/fvp/fvp_pm.c
\
plat/arm/board/fvp/fvp_topology.c
\
plat/arm/board/fvp/aarch64/fvp_helpers.S
\
plat/arm/board/fvp/drivers/pwrc/fvp_pwrc.c
\
plat/arm/board/common/drivers/norflash/norflash.c
\
plat/arm/common/arm_nor_psci_mem_protect.c
\
${FVP_CPU_LIBS}
\
${FVP_GIC_SOURCES}
\
${FVP_INTERCONNECT_SOURCES}
\
...
...
plat/arm/board/juno/platform.mk
View file @
53269932
...
...
@@ -59,7 +59,9 @@ BL1_SOURCES += lib/cpus/aarch64/cortex_a53.S \
${JUNO_INTERCONNECT_SOURCES}
\
${JUNO_SECURITY_SOURCES}
BL2_SOURCES
+=
plat/arm/board/juno/juno_bl2_setup.c
\
BL2_SOURCES
+=
lib/utils/mem_region.c
\
plat/arm/board/juno/juno_bl2_setup.c
\
plat/arm/common/arm_nor_psci_mem_protect.c
\
${JUNO_SECURITY_SOURCES}
BL2U_SOURCES
+=
${JUNO_SECURITY_SOURCES}
...
...
@@ -67,7 +69,10 @@ BL2U_SOURCES += ${JUNO_SECURITY_SOURCES}
BL31_SOURCES
+=
lib/cpus/aarch64/cortex_a53.S
\
lib/cpus/aarch64/cortex_a57.S
\
lib/cpus/aarch64/cortex_a72.S
\
lib/utils/mem_region.c
\
plat/arm/board/juno/juno_topology.c
\
plat/arm/board/common/drivers/norflash/norflash.c
\
plat/arm/common/arm_nor_psci_mem_protect.c
\
${JUNO_GIC_SOURCES}
\
${JUNO_INTERCONNECT_SOURCES}
\
${JUNO_SECURITY_SOURCES}
...
...
plat/arm/board/sgi575/platform.mk
View file @
53269932
...
...
@@ -5,3 +5,10 @@
#
include
plat/arm/css/sgi/sgi-common.mk
BL2_SOURCES
+=
lib/utils/mem_region.c
\
plat/arm/common/arm_nor_psci_mem_protect.c
BL31_SOURCES
+=
lib/utils/mem_region.c
\
plat/arm/board/common/drivers/norflash/norflash.c
\
plat/arm/common/arm_nor_psci_mem_protect.c
plat/arm/board/sgm775/platform.mk
View file @
53269932
...
...
@@ -11,3 +11,10 @@ SGM775_BASE= plat/arm/board/sgm775
FDT_SOURCES
+=
${SGM775_BASE}
/fdts/sgm775_tb_fw_config.dts
PLAT_INCLUDES
+=
-I
${SGM775_BASE}
/include/
BL2_SOURCES
+=
lib/utils/mem_region.c
\
plat/arm/common/arm_nor_psci_mem_protect.c
BL31_SOURCES
+=
lib/utils/mem_region.c
\
plat/arm/board/common/drivers/norflash/norflash.c
\
plat/arm/common/arm_nor_psci_mem_protect.c
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