From 325026c256fbb29a5a4b83ecf6b3add241d2f3b9 Mon Sep 17 00:00:00 2001
From: Andrew Thoelke <andrew.thoelke@arm.com>
Date: Wed, 21 May 2014 10:15:42 +0100
Subject: [PATCH] fixup! 4749bdc

Modify the BL3-1 read/write memory extent to cover all of the SRAM

Change-Id: I1143feaff0313f7d0b88948997b81d6f3aeddc29
---
 plat/fvp/bl31_plat_setup.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plat/fvp/bl31_plat_setup.c b/plat/fvp/bl31_plat_setup.c
index 55e4896c5..f845bf172 100644
--- a/plat/fvp/bl31_plat_setup.c
+++ b/plat/fvp/bl31_plat_setup.c
@@ -199,8 +199,8 @@ void bl31_plat_arch_setup()
 	plat_cci_setup();
 
 #endif
-	configure_mmu_el3(BL31_RO_BASE,
-			  (BL31_COHERENT_RAM_LIMIT - BL31_RO_BASE),
+	configure_mmu_el3(TZRAM_BASE,
+			  TZRAM_SIZE,
 			  BL31_RO_BASE,
 			  BL31_RO_LIMIT,
 			  BL31_COHERENT_RAM_BASE,
-- 
GitLab