blob: 0be9e3c23196df227879afb0ef46c6bb7b9cc3cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/* Copyright 2016 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* Clocks and power management settings */
#include "clock.h"
#include "common.h"
#include "util.h"
/* Console output macros */
#define CPUTS(outstr) cputs(CC_CLOCK, outstr)
#define CPRINTS(format, args...) cprints(CC_CLOCK, format, ## args)
void clock_init(void)
{
/* No initialization for ISH clock since D0ix is not enabled yet */
}
#ifdef CONFIG_LOW_POWER_IDLE
void clock_refresh_console_in_use(void)
{
/**
* TODO nothing need to do at current, on ISH, uart interrupt can
* wakeup ISH from low power state, will understand this function more
* to see if need anything to handle in ISH
*/
}
#endif
|