summaryrefslogtreecommitdiff
path: root/plat/arm
diff options
context:
space:
mode:
authorSami Mujawar <sami.mujawar@arm.com>2019-05-09 13:43:30 +0100
committerSami Mujawar <sami.mujawar@arm.com>2019-05-15 11:43:19 +0100
commit49d64e5d0e8d63dadc3efb1b32579973dd677c41 (patch)
tree9a4e6080fa38efad9e43f0859d8f9c19c904e8d4 /plat/arm
parent6bb6015f915dbc6a1208358024387a76530d45da (diff)
N1SDP: Fix DRAM2 start address
The default DRAM2 start address for Arm platforms is 0x880000000. However, for N1SDP platform this is 0x8080000000. Fix the DRAM2 start address by initialising PLAT_ARM_DRAM2_BASE. Without this fix there is a mismatch of the System memory region view as seen by the BL31 runtime firmware (PSCI) versus the view of the OS (which is based on the description provided by UEFI. In this case UEFI is correctly describing the DRAM2 start address). This implicates in secondary cores failing to start on some Operating Systems if the OS decides to place the secondary start address in the mismatched region. Change-Id: I57220e753219353dda429868b4c5e1a69944cc64 Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Diffstat (limited to 'plat/arm')
-rw-r--r--plat/arm/board/n1sdp/include/platform_def.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/plat/arm/board/n1sdp/include/platform_def.h b/plat/arm/board/n1sdp/include/platform_def.h
index adb957e5..0964f568 100644
--- a/plat/arm/board/n1sdp/include/platform_def.h
+++ b/plat/arm/board/n1sdp/include/platform_def.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -24,6 +24,7 @@
#define PLAT_ARM_CRASH_UART_BASE PLAT_ARM_RUN_UART_BASE
#define PLAT_ARM_CRASH_UART_CLK_IN_HZ PLAT_ARM_RUN_UART_CLK_IN_HZ
+#define PLAT_ARM_DRAM2_BASE ULL(0x8080000000)
#define PLAT_ARM_DRAM2_SIZE ULL(0x780000000)
#if CSS_USE_SCMI_SDS_DRIVER