ArmPlatformPkg/ArmVExpressPkg: Add support for ARM Versatile Express A9x4 Model
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12429 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -234,11 +234,15 @@ LcdPlatformSetMode (
|
||||
return Status;
|
||||
}
|
||||
|
||||
// Set the DVI into the new mode
|
||||
Status = ArmPlatformSysConfigSet (SYS_CFG_DVIMODE, mResolutions[ModeNumber].Mode);
|
||||
if (EFI_ERROR(Status)) {
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
return Status;
|
||||
// On the ARM Versatile Express Model (RTSM) the value of the SysId is equal to 0x225F500.
|
||||
// Note: The DVI Mode is not modelled on RTSM
|
||||
if (MmioRead32 (ARM_VE_SYS_ID_REG) != 0x225F500) {
|
||||
// Set the DVI into the new mode
|
||||
Status = ArmPlatformSysConfigSet (SYS_CFG_DVIMODE, mResolutions[ModeNumber].Mode);
|
||||
if (EFI_ERROR(Status)) {
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
return Status;
|
||||
}
|
||||
}
|
||||
|
||||
// Set the multiplexer
|
||||
|
Reference in New Issue
Block a user