diff options
author | Ryan Harkin <ryan.harkin@linaro.org> | 2013-06-07 14:50:23 +0100 |
---|---|---|
committer | Ryan Harkin <ryan.harkin@linaro.org> | 2013-06-07 14:50:23 +0100 |
commit | 454af7c9afcaf5e76e4ac8244763c6a010d7689d (patch) | |
tree | 0e2b740149adde339b4f749581d48374fcd121f9 | |
parent | e45f10615d7faa2c2051ad74ad6377772b6ea115 (diff) | |
parent | 04a2edf3106495b551c39bb23918e47fd327b444 (diff) |
Merge branch 'linaro-topic-misc' into linaro-tracking-2013.06linaro-uefi-2013.06-rc2
-rw-r--r-- | ArmPlatformPkg/ArmVExpressPkg/Library/ResetSystemLib/ResetSystemLib.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ArmPlatformPkg/ArmVExpressPkg/Library/ResetSystemLib/ResetSystemLib.c b/ArmPlatformPkg/ArmVExpressPkg/Library/ResetSystemLib/ResetSystemLib.c index f858317550..f32b533094 100644 --- a/ArmPlatformPkg/ArmVExpressPkg/Library/ResetSystemLib/ResetSystemLib.c +++ b/ArmPlatformPkg/ArmVExpressPkg/Library/ResetSystemLib/ResetSystemLib.c @@ -49,12 +49,19 @@ LibResetSystem ( case EfiResetWarm:
// Map a warm reset into a cold reset
case EfiResetCold:
- case EfiResetShutdown:
// Send the REBOOT function to the platform microcontroller
ArmPlatformSysConfigSet (SYS_CFG_REBOOT, 0);
// We should never be here
while(1);
+ break;
+ case EfiResetShutdown:
+ // Send the SHUTDOWN function to the platform microcontroller
+ ArmPlatformSysConfigSet (SYS_CFG_SHUTDOWN, 0);
+
+ // We should never be here
+ while(1);
+ break;
}
ASSERT(FALSE);
|