morello_err.c 257 B

1234567891011121314151617
  1. /*
  2. * Copyright (c) 2021, Arm Limited. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #include <plat/arm/common/plat_arm.h>
  7. /*
  8. * morello error handler
  9. */
  10. void __dead2 plat_arm_error_handler(int err)
  11. {
  12. while (true) {
  13. wfi();
  14. }
  15. }