headsmp.S 706 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Copyright 2014 Linaro Ltd.
  3. * Copyright (C) 2014 ZTE Corporation.
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. */
  9. #include <linux/linkage.h>
  10. .align 3
  11. .arm
  12. /* It runs from physical address */
  13. ENTRY(zx_resume_jump)
  14. adr r1, zx_secondary_startup_pa
  15. ldr r0, [r1]
  16. bx r0
  17. ENDPROC(zx_resume_jump)
  18. ENTRY(zx_secondary_startup_pa)
  19. .word zx_secondary_startup_pa
  20. ENTRY(zx_suspend_iram_sz)
  21. .word . - zx_resume_jump
  22. ENDPROC(zx_secondary_startup_pa)
  23. ENTRY(zx_secondary_startup)
  24. bl v7_invalidate_l1
  25. b secondary_startup
  26. ENDPROC(zx_secondary_startup)