1 /* 2 * Copyright (c) 2019, ARM Limited and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef ARM_TRUSTED_FIRMWARE_EXPORT_PLAT_ROCKCHIP_COMMON_PLAT_PARAMS_EXP_H 8 #define ARM_TRUSTED_FIRMWARE_EXPORT_PLAT_ROCKCHIP_COMMON_PLAT_PARAMS_EXP_H 9 10 /* EXPORT HEADER -- See include/export/README for details! -- EXPORT HEADER */ 11 12 #include "../../../lib/bl_aux_params/bl_aux_params_exp.h" 13 14 /* param type */ 15 enum bl_aux_rk_param_type { 16 BL_AUX_PARAM_RK_RESET_GPIO = BL_AUX_PARAM_VENDOR_SPECIFIC_FIRST, 17 BL_AUX_PARAM_RK_POWEROFF_GPIO, 18 BL_AUX_PARAM_RK_SUSPEND_GPIO, 19 BL_AUX_PARAM_RK_SUSPEND_APIO, 20 }; 21 22 struct bl_aux_rk_apio_info { 23 uint8_t apio1 : 1; 24 uint8_t apio2 : 1; 25 uint8_t apio3 : 1; 26 uint8_t apio4 : 1; 27 uint8_t apio5 : 1; 28 }; 29 30 struct bl_aux_param_rk_apio { 31 struct bl_aux_param_header h; 32 struct bl_aux_rk_apio_info apio; 33 }; 34 35 #endif /* ARM_TRUSTED_FIRMWARE_EXPORT_PLAT_ROCKCHIP_COMMON_PLAT_PARAMS_EXP_H */ 36