return Status;\r
}\r
\r
- // Set the DVI into the new mode\r
- Status = ArmPlatformSysConfigSet (SYS_CFG_DVIMODE, mResolutions[ModeNumber].Mode);\r
- if (EFI_ERROR(Status)) {\r
- ASSERT_EFI_ERROR (Status);\r
- return Status;\r
+ // On the ARM Versatile Express Model (RTSM) the value of the SysId is equal to 0x225F500.\r
+ // Note: The DVI Mode is not modelled on RTSM\r
+ if (MmioRead32 (ARM_VE_SYS_ID_REG) != 0x225F500) {\r
+ // Set the DVI into the new mode\r
+ Status = ArmPlatformSysConfigSet (SYS_CFG_DVIMODE, mResolutions[ModeNumber].Mode);\r
+ if (EFI_ERROR(Status)) {\r
+ ASSERT_EFI_ERROR (Status);\r
+ return Status;\r
+ }\r
}\r
\r
// Set the multiplexer\r