rd1ae_err.c 345 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (c) 2024, Arm Limited. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #include <drivers/arm/sbsa.h>
  7. #include <plat/arm/common/plat_arm.h>
  8. /*
  9. * rd1ae error handler
  10. */
  11. void __dead2 plat_arm_error_handler(int err)
  12. {
  13. console_flush();
  14. sbsa_wdog_refresh(SBSA_SECURE_WDOG_BASE);
  15. while (1) {
  16. wfi();
  17. }
  18. }