blob: f09b1283ffca79fa275418bae0abb4519eba2477 [file] [log] [blame]
Dinh Nguyen9c4566a2012-10-25 10:41:39 -06001/*
2 * Copyright (c) 2003 ARM Limited
3 * Copyright (c) u-boot contributors
4 * Copyright (c) 2012 Pavel Machek <pavel@denx.de>
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
Arnd Bergmann9560f842012-11-06 23:14:49 +010013 __CPUINIT
Pavel Machekad208d02012-10-27 01:00:53 +020014 .arch armv7-a
Dinh Nguyen9c4566a2012-10-25 10:41:39 -060015
16#define CPU1_START_ADDR 0xffd08010
17
18ENTRY(secondary_trampoline)
19 movw r0, #:lower16:CPU1_START_ADDR
20 movt r0, #:upper16:CPU1_START_ADDR
21
22 ldr r1, [r0]
23 bx r1
24
25ENTRY(secondary_trampoline_end)