Jiafei Pan | 7a810bf | 2021-09-26 11:52:00 +0800 | [diff] [blame] | 1 | /* |
2 | * Copyright 2020-2021 NXP | ||||
3 | * | ||||
4 | * SPDX-License-Identifier: BSD-3-Clause | ||||
5 | */ | ||||
6 | |||||
7 | #include <plat_common.h> | ||||
8 | |||||
9 | #pragma weak board_enable_povdd | ||||
10 | #pragma weak board_disable_povdd | ||||
11 | |||||
12 | bool board_enable_povdd(void) | ||||
13 | { | ||||
14 | #ifdef CONFIG_POVDD_ENABLE | ||||
15 | return true; | ||||
16 | #else | ||||
17 | return false; | ||||
18 | #endif | ||||
19 | } | ||||
20 | |||||
21 | bool board_disable_povdd(void) | ||||
22 | { | ||||
23 | #ifdef CONFIG_POVDD_ENABLE | ||||
24 | return true; | ||||
25 | #else | ||||
26 | return false; | ||||
27 | #endif | ||||
28 | } |