headsmp.S 602 字节
Newer Older
D
Dinh Nguyen 已提交
1 2 3 4 5 6 7 8 9 10 11 12
/*
 *  Copyright (c) 2003 ARM Limited
 *  Copyright (c) u-boot contributors
 *  Copyright (c) 2012 Pavel Machek <pavel@denx.de>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */
#include <linux/linkage.h>
#include <linux/init.h>

13
	__CPUINIT
14
	.arch	armv7-a
D
Dinh Nguyen 已提交
15 16 17 18 19 20 21 22 23 24 25

#define CPU1_START_ADDR 	        0xffd08010

ENTRY(secondary_trampoline)
	movw	r0, #:lower16:CPU1_START_ADDR
	movt  r0, #:upper16:CPU1_START_ADDR

	ldr	r1, [r0]
	bx	r1

ENTRY(secondary_trampoline_end)