[edk2-devel] [PATCH edk2-platforms 5/8] Silicon/NXP: Chassis3V2: Add SVR and DEVDISRn in device configuration

Wasim Khan posted 8 patches 4 years, 5 months ago
[edk2-devel] [PATCH edk2-platforms 5/8] Silicon/NXP: Chassis3V2: Add SVR and DEVDISRn in device configuration
Posted by Wasim Khan 4 years, 5 months ago
From: Wasim Khan <wasim.khan@nxp.com>

System Version Register(SVR) is used to provide the SoC details
like Manufacturer ID, SoC Family, SoC major and minor version
etc.
DEVDISRn is used to disable unused peripherals.

Update Device Configuration structure for SVR and DEVDISRn.

Signed-off-by: Wasim Khan <wasim.khan@nxp.com>
---
 Silicon/NXP/Chassis3V2/Include/Chassis.h | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/Silicon/NXP/Chassis3V2/Include/Chassis.h b/Silicon/NXP/Chassis3V2/Include/Chassis.h
index 0fd70132d897..cbc6b20e244d 100644
--- a/Silicon/NXP/Chassis3V2/Include/Chassis.h
+++ b/Silicon/NXP/Chassis3V2/Include/Chassis.h
@@ -18,7 +18,17 @@
 **/
 #pragma pack(1)
 typedef struct {
-  UINT8   Reserved0[0x100 - 0x0];
+  UINT8   Reserved0[0x70 - 0x0];
+  UINT32  DeviceDisableRegister1;  // Device Disable Register 1
+  UINT32  DeviceDisableRegister2;  // Device Disable Register 2
+  UINT32  DeviceDisableRegister3;  // Device Disable Register 3
+  UINT32  DeviceDisableRegister4;  // Device Disable Register 4
+  UINT32  DeviceDisableRegister5;  // Device Disable Register 5
+  UINT32  DeviceDisableRegister6;  // Device Disable Register 6
+  UINT32  DeviceDisableRegister7;  // Device Disable Register 7
+  UINT8   Reserved1[0xa4 - 0x8c];
+  UINT32  Svr;                     // System Version Register
+  UINT8   Reserved2[0x100 - 0xa8];
   UINT32  RcwSr[32]; // Reset Control Word Status Register
 } NXP_LAYERSCAPE_CHASSIS3V2_DEVICE_CONFIG;
 #pragma pack()
-- 
2.7.4


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#61061): https://edk2.groups.io/g/devel/message/61061
Mute This Topic: https://groups.io/mt/74793018/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-