blob: 31bef04bc57136ac584fa809b1f0bc853616fc57 [file] [log] [blame]
Gary Morrison3d7f6542021-01-27 13:08:47 -06001#
Govindraj Rajaeee28e72023-08-01 15:52:40 -05002# Copyright (c) 2021, Arm Limited and Contributors. All rights reserved.
Gary Morrison3d7f6542021-01-27 13:08:47 -06003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7XLAT_MPU_LIB_V1_SRCS := $(addprefix lib/xlat_mpu/, \
8 ${ARCH}/enable_mpu.S \
9 ${ARCH}/xlat_mpu_arch.c \
10 xlat_mpu_context.c \
11 xlat_mpu_core.c \
12 xlat_mpu_utils.c)
13
14XLAT_MPU_LIB_V1 := 1
15$(eval $(call add_define,XLAT_MPU_LIB_V1))
16
17ifeq (${ALLOW_XLAT_MPU}, 1)
18 include lib/xlat_mpu_v2/ro_xlat_mpu.mk
19endif