headsmp.S 602 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) 2003 ARM Limited
  3. * Copyright (c) u-boot contributors
  4. * Copyright (c) 2012 Pavel Machek <pavel@denx.de>
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. #include <linux/linkage.h>
  11. #include <linux/init.h>
  12. __CPUINIT
  13. .arch armv7-a
  14. #define CPU1_START_ADDR 0xffd08010
  15. ENTRY(secondary_trampoline)
  16. movw r0, #:lower16:CPU1_START_ADDR
  17. movt r0, #:upper16:CPU1_START_ADDR
  18. ldr r1, [r0]
  19. bx r1
  20. ENTRY(secondary_trampoline_end)