Merge "Set VDD3ON flag when hibernating"

This commit is contained in:
Gerrit
2012-02-21 11:46:12 -08:00
committed by Gerrit Code Review

View File

@@ -83,7 +83,12 @@ void system_hibernate(uint32_t seconds, uint32_t microseconds)
LM4_HIBERNATE_HIBRTCLD = 0;
/* go to hibernation and wake on RTC match or WAKE pin */
wait_for_hibctl_wc();
#ifdef BOARD_link
/* Need VDD3ON because we can't drop VDD externally */
LM4_HIBERNATE_HIBCTL = 0x15B;
#else
LM4_HIBERNATE_HIBCTL = 0x5B;
#endif
/* we are going to hibernate ... */
while (1) ;
}