From 05532260aee0302e43a4935a402c7b9268036267 Mon Sep 17 00:00:00 2001 From: Ting Shen Date: Mon, 28 Jan 2019 17:22:22 +0800 Subject: selfload: check target memory type in selfload_check Currently, selflock_check() verifies that the binary is loaded in an usable RAM area. Extend its functionality so we can also check that BL31 is loaded in a manually reserved area, and fail early if the range is not protected. Change-Id: Iecdeedd9e8da67f73ac47d2a82e85b306469a626 Signed-off-by: Ting Shen Reviewed-on: https://review.coreboot.org/c/31122 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/arch/arm64/arm_tf.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/arch/arm64') diff --git a/src/arch/arm64/arm_tf.c b/src/arch/arm64/arm_tf.c index eaf873965f..c0526e08d5 100644 --- a/src/arch/arm64/arm_tf.c +++ b/src/arch/arm64/arm_tf.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include -- cgit v1.2.3