fvp_drtm_err.c 391 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (c) 2022, Arm Limited. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #include <stdint.h>
  7. #include <plat/common/platform.h>
  8. int plat_set_drtm_error(uint64_t error_code)
  9. {
  10. /* TODO: Set DRTM error in NV-storage */
  11. return 0;
  12. }
  13. int plat_get_drtm_error(uint64_t *error_code)
  14. {
  15. /* TODO: Get DRTM error from NV-storage */
  16. *error_code = 0;
  17. return 0;
  18. }