summaryrefslogtreecommitdiff
path: root/Core/EM
diff options
context:
space:
mode:
authorraywu <raywu@aaeon.com.tw>2019-09-11 10:58:37 +0800
committerraywu <raywu@aaeon.com.tw>2019-09-11 10:58:37 +0800
commitc8a77dd636d8431c53e06e365f621753d8c2bab8 (patch)
tree869948523e2e6a58591945c11715c66236decb42 /Core/EM
parent7bd38cbf34df5a2690c79007e2c1579cdba8c788 (diff)
downloadzprj-c8a77dd636d8431c53e06e365f621753d8c2bab8.tar.xz
(FixedBuildError)[DW01] Fixed System Reboot by WDT if There's no Boot Devices
Diffstat (limited to 'Core/EM')
-rw-r--r--Core/EM/AMITSE/bootflow.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/Core/EM/AMITSE/bootflow.c b/Core/EM/AMITSE/bootflow.c
index a192bf6..f3fab0f 100644
--- a/Core/EM/AMITSE/bootflow.c
+++ b/Core/EM/AMITSE/bootflow.c
@@ -284,41 +284,41 @@ EFI_STATUS LaunchSecondaryBootPath (CHAR16 *); //EIP 88447
EFI_STATUS EfiLibNamedEventSignal (IN EFI_GUID *Name ); //EIP125219
//ray_override / Fixed System Reboot by WDT if There's no Boot Devices / Added >>
-VOID F81866ConfigRegisterWrite(UINT8 Index, UINT8 Data)
+VOID bootflow_F81866ConfigRegisterWrite(UINT8 Index, UINT8 Data)
{
IoWrite8(F81866_CONFIG_INDEX, Index);
IoWrite8(F81866_CONFIG_DATA, Data);
}
-UINT8 F81866ConfigRegisterRead(UINT8 Index)
+UINT8 bootflow_F81866ConfigRegisterRead(UINT8 Index)
{
UINT8 Data8;
IoWrite8(F81866_CONFIG_INDEX, Index);
Data8 = IoRead8(F81866_CONFIG_DATA);
return Data8;
}
-VOID F81866LDNSelect(UINT8 Ldn)
+VOID bootflow_F81866LDNSelect(UINT8 Ldn)
{
IoWrite8(F81866_CONFIG_INDEX, F81866_LDN_SEL_REGISTER);
IoWrite8(F81866_CONFIG_DATA, Ldn);
}
-VOID F81866EnterConfigMode()
+VOID bootflow_F81866EnterConfigMode()
{
IoWrite8(F81866_CONFIG_INDEX, F81866_CONFIG_MODE_ENTER_VALUE);
IoWrite8(F81866_CONFIG_INDEX, F81866_CONFIG_MODE_ENTER_VALUE);
}
-VOID F81866ExitConfigMode()
+VOID bootflow_F81866ExitConfigMode()
{
// Exit config mode
IoWrite8(F81866_CONFIG_INDEX, F81866_CONFIG_MODE_EXIT_VALUE);
}
-VOID F81866WDTDisable()
+VOID bootflow_F81866WDTDisable()
{
- F81866EnterConfigMode() ;
- F81866LDNSelect(F81866_LDN_WDT) ;
+ bootflow_F81866EnterConfigMode() ;
+ bootflow_F81866LDNSelect(F81866_LDN_WDT) ;
// WDT Disabled
- F81866ConfigRegisterWrite( 0xF5 , F81866ConfigRegisterRead(0xF5) & ~BIT5 ) ;
- F81866ExitConfigMode() ;
+ bootflow_F81866ConfigRegisterWrite( 0xF5 , F81866ConfigRegisterRead(0xF5) & ~BIT5 ) ;
+ bootflow_F81866ExitConfigMode() ;
}
//ray_override / Fixed System Reboot by WDT if There's no Boot Devices / Added <<
@@ -439,7 +439,7 @@ EFI_STATUS BootFlowManageExit (VOID)
MemFreePointer( (VOID **)&conditionPtr );
//ray_override / Fixed System Reboot by WDT if There's no Boot Devices / Added >>
- F81866WDTDisable();
+ bootflow_F81866WDTDisable();
//ray_override / Fixed System Reboot by WDT if There's no Boot Devices / Added <<
bootFlowPtr = gBootFlowTable;
for ( bootFlowPtr = gBootFlowTable;