platform.c 377 Bytes
Newer Older
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
/*
 * Copyright 2020 NXP
 *
 * SPDX-License-Identifier: BSD-3-Clause
 *
 */

#include <plat_common.h>

#pragma weak board_enable_povdd
#pragma weak board_disable_povdd

bool board_enable_povdd(void)
{
#ifdef CONFIG_POVDD_ENABLE
	return true;
#else
	return false;
#endif
}

bool board_disable_povdd(void)
{
#ifdef CONFIG_POVDD_ENABLE
	return true;
#else
	return false;
#endif
}