1 /* SPDX-License-Identifier: GPL-2.0-only */
7 #include <arm-trusted-firmware/include/export/plat/mediatek/common/plat_params_exp.h>
9 void register_reset_to_bl31(int gpio_index
, bool active_high
)
11 static struct bl_aux_param_gpio param_reset
= {
12 .h
= { .type
= BL_AUX_PARAM_MTK_RESET_GPIO
},
16 param_reset
.gpio
.polarity
= ARM_TF_GPIO_LEVEL_HIGH
;
18 param_reset
.gpio
.polarity
= ARM_TF_GPIO_LEVEL_LOW
;
20 param_reset
.gpio
.index
= gpio_index
;
21 register_bl31_aux_param(¶m_reset
.h
);