headsmp.S 744 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright (C) 2014 Marvell Technology Group Ltd.
  3. *
  4. * Antoine Ténart <antoine.tenart@free-electrons.com>
  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. #include <asm/assembler.h>
  13. ENTRY(berlin_secondary_startup)
  14. ARM_BE8(setend be)
  15. bl v7_invalidate_l1
  16. b secondary_startup
  17. ENDPROC(berlin_secondary_startup)
  18. /*
  19. * If the following instruction is set in the reset exception vector, CPUs
  20. * will fetch the value of the software reset address vector when being
  21. * reset.
  22. */
  23. .global boot_inst
  24. boot_inst:
  25. ldr pc, [pc, #140]
  26. .align