sleep.S 815 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Copyright (c) 2011-2014 Samsung Electronics Co., Ltd.
  3. * http://www.samsung.com
  4. *
  5. * S5PV210 Sleep Code
  6. * Based on S3C64XX sleep code by:
  7. * Ben Dooks, (c) 2008 Simtec Electronics
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License as published by
  11. * the Free Software Foundation; either version 2 of the License, or
  12. * (at your option) any later version.
  13. */
  14. #include <linux/linkage.h>
  15. .text
  16. .align
  17. /*
  18. * sleep magic, to allow the bootloader to check for an valid
  19. * image to resume to. Must be the first word before the
  20. * s3c_cpu_resume entry.
  21. */
  22. .word 0x2bedf00d
  23. /*
  24. * s3c_cpu_resume
  25. *
  26. * resume code entry for bootloader to call
  27. */
  28. ENTRY(s5pv210_cpu_resume)
  29. b cpu_resume
  30. ENDPROC(s5pv210_cpu_resume)