The Base Platform RevC model is a configuration of the Base Platform
that includes a PCIe subsystem. It also includes system IP like SMMUv3.

The Base Platform FVP model and the Base Platform RevC FVP model
can be differentiated by examining the System ID register. For the
FVP RevC model the SysID.Rev is 0x2. Therefore, add this definition
so that software can read the System ID register to detect a FVP
RevC model.

Signed-off-by: Sami Mujawar <sami.muja...@arm.com>
---
 Platform/ARM/VExpressPkg/Include/VExpressMotherBoard.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Platform/ARM/VExpressPkg/Include/VExpressMotherBoard.h 
b/Platform/ARM/VExpressPkg/Include/VExpressMotherBoard.h
index 
c06adb159ec5532b1c77429ee0a4f6f3f4c018e3..1fe13809d6f77936abb3e13a1eb30c5cfb54d23f
 100644
--- a/Platform/ARM/VExpressPkg/Include/VExpressMotherBoard.h
+++ b/Platform/ARM/VExpressPkg/Include/VExpressMotherBoard.h
@@ -1,7 +1,7 @@
 /** @file
 *  Header defining Versatile Express constants (Base addresses, sizes, flags)
 *
-*  Copyright (c) 2011-2015, ARM Limited. All rights reserved.
+*  Copyright (c) 2011-2021, Arm Limited. All rights reserved.
 *
 *  SPDX-License-Identifier: BSD-2-Clause-Patent
 *
@@ -131,4 +131,7 @@
 #define ARM_FVP_BASE_SYS_ID            (ARM_FVP_BASE_BOARD_SYS_ID | 
ARM_FVP_GIC_BASE_MMAP)
 #define ARM_FVP_FOUNDATION_SYS_ID      (ARM_FVP_FOUNDATION_BOARD_SYS_ID | 
ARM_FVP_GIC_BASE_MMAP)
 
+// FVP RevC model revision.
+#define ARM_FVP_BASE_REVC_REV          (UINT32)(0x2UL << 28)
+
 #endif /* VEXPRESSMOTHERBOARD_H_ */
-- 
'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#71629): https://edk2.groups.io/g/devel/message/71629
Mute This Topic: https://groups.io/mt/80580203/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to