Fix FVP DRAM2 size
authorRoberto Vargas <roberto.vargas@arm.com>
Thu, 1 Feb 2018 15:19:00 +0000 (15:19 +0000)
committerRoberto Vargas <roberto.vargas@arm.com>
Fri, 2 Mar 2018 13:41:32 +0000 (13:41 +0000)
This was correct according to the model specifications , but it seems
that FVP doesn't implement it. It is safer to use the size exposed by
the DTB which is currently used by Linux.

Change-Id: I9aabe3284a50ec2a36ed94966eb7e4ddf37cec3b
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
plat/arm/board/fvp/include/platform_def.h

index 4ac08504c036b8f22ce5540170f0f1815145d06e..2d01490340d32b8917280bd9406158f6e96b8679 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014-2017, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2014-2018, ARM Limited and Contributors. All rights reserved.
  *
  * SPDX-License-Identifier: BSD-3-Clause
  */
@@ -43,7 +43,7 @@
 /* No SCP in FVP */
 #define PLAT_ARM_SCP_TZC_DRAM1_SIZE    ULL(0x0)
 
-#define PLAT_ARM_DRAM2_SIZE            ULL(0x780000000)
+#define PLAT_ARM_DRAM2_SIZE            ULL(0x80000000)
 
 /*
  * Load address of BL33 for this platform port