[edk2-devel] [PATCH edk2-platforms 1/8] Silicon/NXP: Chassis2: Add SVR and DEVDISRn device configuration

Wasim Khan posted 8 patches 4 years, 5 months ago
[edk2-devel] [PATCH edk2-platforms 1/8] Silicon/NXP: Chassis2: Add SVR and DEVDISRn 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/Chassis2/Include/Chassis.h | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/Silicon/NXP/Chassis2/Include/Chassis.h b/Silicon/NXP/Chassis2/Include/Chassis.h
index 14e21ef9daf4..e5edd80134a4 100644
--- a/Silicon/NXP/Chassis2/Include/Chassis.h
+++ b/Silicon/NXP/Chassis2/Include/Chassis.h
@@ -28,7 +28,15 @@
 **/
 #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
+  UINT8   Reserved1[0xa4 - 0x84];
+  UINT32  Svr;                     // System Version Register
+  UINT8   Reserved2[0x100 - 0xa8];
   UINT32  RcwSr[16]; // Reset Control Word Status Register
 } NXP_LAYERSCAPE_CHASSIS2_DEVICE_CONFIG;
 #pragma pack()
-- 
2.7.4


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

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