~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: 209836129b13ac83188ca6f81bc3d1150154c9e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifdef CONFIG_PLATFORM_POWER_INIT
#include "power.c"
#else
void __attribute__((weak)) power_init(int mode)
{
	/*
	 * fake function for platform without power init
	 */
}
#endif

void platform_power_init(int mode)
{
	power_init(mode);
}