summaryrefslogtreecommitdiff
path: root/chip/lm4/clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/lm4/clock.c')
-rw-r--r--chip/lm4/clock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/chip/lm4/clock.c b/chip/lm4/clock.c
index a342404fd5..6031767872 100644
--- a/chip/lm4/clock.c
+++ b/chip/lm4/clock.c
@@ -7,6 +7,7 @@
#include "board.h"
#include "clock.h"
+#include "cpu.h"
#include "config.h"
#include "console.h"
#include "gpio.h"
@@ -184,7 +185,7 @@ static int command_sleep(int argc, char **argv)
}
/* set deep sleep bit */
if (level >= 4)
- LM4_SCB_SYSCTRL |= 0x4;
+ CPU_SCB_SYSCTRL |= 0x4;
/* go to low power mode (forever ...) */
if (level > 1)
while (1) {