summaryrefslogtreecommitdiff
path: root/Board/EM/Platform
diff options
context:
space:
mode:
authorraywu <raywu@aaeon.com.tw>2019-09-11 14:04:13 +0800
committerraywu <raywu@aaeon.com.tw>2019-09-11 14:04:13 +0800
commit34a5b4b1255b27875baacbeb2507b31c38621d74 (patch)
tree11b6cd9b7ceb769f81f29936af668363ffd26d11 /Board/EM/Platform
parentab678c2e19ca5ba6ce5347d62971cec2bc1fc935 (diff)
downloadzprj-34a5b4b1255b27875baacbeb2507b31c38621d74.tar.xz
Support F81866 COM3 ~ COM6 IRQ Sharing Mode Selection
Diffstat (limited to 'Board/EM/Platform')
-rw-r--r--Board/EM/Platform/AcpiPlatform.c3
-rw-r--r--Board/EM/Platform/Library/Protocol/GlobalNvsArea/GlobalNvsArea.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/Board/EM/Platform/AcpiPlatform.c b/Board/EM/Platform/AcpiPlatform.c
index e7cbe97..8f0c261 100644
--- a/Board/EM/Platform/AcpiPlatform.c
+++ b/Board/EM/Platform/AcpiPlatform.c
@@ -1069,6 +1069,9 @@ AcpiPlatformInit (
{
mGlobalNvsArea.Area->ComIrqShareMode = gSetupData->F81216ComIrqShareMode ;
+//ray_override / Support F81866 COM3 ~ COM6 IRQ Sharing Mode Selection / Modified >>
+ mGlobalNvsArea.Area->F81866ComIrqShareMode = gSetupData->F81866ComIrqShareMode ;
+//ray_override / Support F81866 COM3 ~ COM6 IRQ Sharing Mode Selection / Modified <<
}
Status = pBS->InstallMultipleProtocolInterfaces (&ImageHandle,
diff --git a/Board/EM/Platform/Library/Protocol/GlobalNvsArea/GlobalNvsArea.h b/Board/EM/Platform/Library/Protocol/GlobalNvsArea/GlobalNvsArea.h
index 0734577..b181128 100644
--- a/Board/EM/Platform/Library/Protocol/GlobalNvsArea/GlobalNvsArea.h
+++ b/Board/EM/Platform/Library/Protocol/GlobalNvsArea/GlobalNvsArea.h
@@ -523,6 +523,9 @@ typedef struct {
UINT8 ECLP; // (689) EC Low Power Mode: 1 - Enabled, 0 - Disabled
UINT8 INSC; // (690) Intel RMT Configuration
UINT8 ComIrqShareMode;
+//ray_override / Support F81866 COM3 ~ COM6 IRQ Sharing Mode Selection / Modified >>
+ UINT8 F81866ComIrqShareMode;
+//ray_override / Support F81866 COM3 ~ COM6 IRQ Sharing Mode Selection / Modified <<
} EFI_GLOBAL_NVS_AREA;
#pragma pack ()