plat_params_exp.h 937 B

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