Vlv2TbltDevicePkg/Vlv2DeviceRefCodePkg:

Sync the branch changes to Trunk,  

Add "RTC Battery Present" item in setup page.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Lu Shifei <shifeix.a.lu@intel.com>
Reviewed-by: Tim He <tim.he@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18763 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Lu Shifei
2015-11-10 07:47:29 +00:00
committed by timhe
parent d28f77df0f
commit 52a99493cc
10 changed files with 30 additions and 9 deletions

View File

@@ -5,7 +5,7 @@
;* Family of Customer Reference Boards. *;
;* *;
;* *;
;* Copyright (c) 2012 - 2014, Intel Corporation. All rights reserved *;
;* Copyright (c) 2012 - 2015, Intel Corporation. All rights reserved *;
;
; This program and the accompanying materials are licensed and made available under
; the terms and conditions of the BSD License that accompanies this distribution.
@@ -21,7 +21,6 @@
Scope(\_SB)
{
//RTC
Device(RTC) // RTC
{
@@ -31,6 +30,17 @@ Scope(\_SB)
{
IO(Decode16,0x70,0x70,0x01,0x08)
})
Method(_STA,0,Serialized) {
//
// Report RTC Battery is Prensent or Not Present.
//
If (LEqual(BATT, 1)) {
Return (0xF)
}
Return (0x0)
}
}
//RTC