fe310: fix power management configuration

This commit is contained in:
Sören Tempel 2020-01-30 10:43:01 +01:00
parent 0d3180d534
commit bd2f5fe110
2 changed files with 7 additions and 4 deletions

View File

@ -27,6 +27,13 @@
extern "C" { extern "C" {
#endif #endif
/**
* @name Power management configuration
* @{
*/
#define PROVIDES_PM_SET_LOWEST
/** @} */
/** /**
* @brief Length of the CPU_ID in octets * @brief Length of the CPU_ID in octets
*/ */

View File

@ -26,10 +26,6 @@ void pm_set_lowest(void)
__asm__ volatile ("wfi"); __asm__ volatile ("wfi");
} }
void pm_off(void)
{
}
void pm_reboot(void) void pm_reboot(void)
{ {
AON_REG(AON_WDOGKEY) = AON_WDOGKEY_VALUE; AON_REG(AON_WDOGKEY) = AON_WDOGKEY_VALUE;