relocate.S 558 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * relocate - i.MX31-specific vector relocation
  4. *
  5. * Copyright (c) 2013 Albert ARIBAUD <albert.u.boot@aribaud.net>
  6. */
  7. #include <linux/linkage.h>
  8. /*
  9. * The i.MX31 SoC is very specific with respect to exceptions: it
  10. * does not provide RAM at the high vectors address (0xFFFF0000),
  11. * thus only the low address (0x00000000) is useable; but that is
  12. * in ROM, so let's avoid relocating the vectors.
  13. */
  14. .section .text.relocate_vectors,"ax",%progbits
  15. ENTRY(relocate_vectors)
  16. bx lr
  17. ENDPROC(relocate_vectors)