psci.S 371 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright 2016 NXP Semiconductor.
  4. * Author: Wang Dongsheng <dongsheng.wang@freescale.com>
  5. */
  6. #include <config.h>
  7. #include <linux/linkage.h>
  8. #include <asm/armv7.h>
  9. #include <asm/psci.h>
  10. .pushsection ._secure.text, "ax"
  11. .arch_extension sec
  12. .align 5
  13. .globl psci_system_off
  14. psci_system_off:
  15. 1: wfi
  16. b 1b
  17. .popsection