Heiko Stuebner | a7a2b31 | 2013-06-17 22:29:23 +0200 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (c) 2013 MundoReader S.L. |
| 3 | * Author: Heiko Stuebner <heiko@sntech.de> |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation; either version 2 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | */ |
| 15 | #include <linux/linkage.h> |
| 16 | #include <linux/init.h> |
| 17 | |
| 18 | ENTRY(rockchip_secondary_startup) |
| 19 | bl v7_invalidate_l1 |
| 20 | b secondary_startup |
| 21 | ENDPROC(rockchip_secondary_startup) |
| 22 | |
| 23 | ENTRY(rockchip_secondary_trampoline) |
| 24 | ldr pc, 1f |
| 25 | ENDPROC(rockchip_secondary_trampoline) |
| 26 | .globl rockchip_boot_fn |
| 27 | rockchip_boot_fn: |
| 28 | 1: .space 4 |
| 29 | |
| 30 | ENTRY(rockchip_secondary_trampoline_end) |