2019-05-27 14:55:08 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2012-05-22 06:50:28 +08:00
|
|
|
/*
|
|
|
|
* Copyright 2012 Freescale Semiconductor, Inc.
|
|
|
|
* Copyright 2012 Linaro Ltd.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef CONFIG_CPU_IDLE
|
2013-04-23 16:54:45 +08:00
|
|
|
extern int imx5_cpuidle_init(void);
|
2012-12-04 22:55:14 +08:00
|
|
|
extern int imx6q_cpuidle_init(void);
|
2014-01-09 16:03:16 +08:00
|
|
|
extern int imx6sl_cpuidle_init(void);
|
2014-12-17 12:24:12 +08:00
|
|
|
extern int imx6sx_cpuidle_init(void);
|
2019-01-14 08:54:59 +08:00
|
|
|
extern int imx7ulp_cpuidle_init(void);
|
2012-05-22 06:50:28 +08:00
|
|
|
#else
|
2013-04-23 16:54:45 +08:00
|
|
|
static inline int imx5_cpuidle_init(void)
|
2012-05-22 06:50:28 +08:00
|
|
|
{
|
2013-04-23 16:54:45 +08:00
|
|
|
return 0;
|
2012-05-22 06:50:28 +08:00
|
|
|
}
|
2012-12-04 22:55:14 +08:00
|
|
|
static inline int imx6q_cpuidle_init(void)
|
|
|
|
{
|
2013-04-23 16:54:45 +08:00
|
|
|
return 0;
|
2012-12-04 22:55:14 +08:00
|
|
|
}
|
2014-01-09 16:03:16 +08:00
|
|
|
static inline int imx6sl_cpuidle_init(void)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
2014-12-17 12:24:12 +08:00
|
|
|
static inline int imx6sx_cpuidle_init(void)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
2019-01-14 08:54:59 +08:00
|
|
|
static inline int imx7ulp_cpuidle_init(void)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
2012-05-22 06:50:28 +08:00
|
|
|
#endif
|