mirror of
https://github.com/CTCaer/switch-l4t-atf.git
synced 2024-11-27 20:00:42 +00:00
5fb061e761
For v8-R64, especially R82, creating code to run BL1 at EL2, using MPU. Signed-off-by: Gary Morrison <gary.morrison@arm.com> Change-Id: I439ac3915b982ad1e61d24365bdd1584b3070425
20 lines
452 B
Makefile
20 lines
452 B
Makefile
#
|
|
# Copyright (c) 2021, ARM Limited and Contributors. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
XLAT_MPU_LIB_V1_SRCS := $(addprefix lib/xlat_mpu/, \
|
|
${ARCH}/enable_mpu.S \
|
|
${ARCH}/xlat_mpu_arch.c \
|
|
xlat_mpu_context.c \
|
|
xlat_mpu_core.c \
|
|
xlat_mpu_utils.c)
|
|
|
|
XLAT_MPU_LIB_V1 := 1
|
|
$(eval $(call add_define,XLAT_MPU_LIB_V1))
|
|
|
|
ifeq (${ALLOW_XLAT_MPU}, 1)
|
|
include lib/xlat_mpu_v2/ro_xlat_mpu.mk
|
|
endif
|