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