Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Fabio Estevam | 3b58a17 | 2015-02-23 09:09:08 -0300 | [diff] [blame] | 2 | /* |
| 3 | * relocate - i.MX31-specific vector relocation |
| 4 | * |
| 5 | * Copyright (c) 2013 Albert ARIBAUD <albert.u.boot@aribaud.net> |
Fabio Estevam | 3b58a17 | 2015-02-23 09:09:08 -0300 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #include <linux/linkage.h> |
| 9 | |
| 10 | /* |
| 11 | * The i.MX31 SoC is very specific with respect to exceptions: it |
| 12 | * does not provide RAM at the high vectors address (0xFFFF0000), |
| 13 | * thus only the low address (0x00000000) is useable; but that is |
| 14 | * in ROM, so let's avoid relocating the vectors. |
| 15 | */ |
| 16 | .section .text.relocate_vectors,"ax",%progbits |
| 17 | |
| 18 | ENTRY(relocate_vectors) |
| 19 | |
| 20 | bx lr |
| 21 | |
| 22 | ENDPROC(relocate_vectors) |