1/*
2 * xen/arch/arm/proc-v7.S
3 *
4 * rename from xen/arch/arm/proc-ca15.S
5 * arm v7 specific initializations
6 *
7 * Copyright (c) 2011 Citrix Systems.
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 * GNU General Public License for more details.
18 */
19
20#include <asm/asm_defns.h>
21#include <asm/arm32/processor.h>
22
23ca15mp_init:
24ca7mp_init:
25brahma15mp_init:
26        /* Set up the SMP bit in ACTLR */
27        mrc   CP32(r0, ACTLR)
28        orr   r0, r0, #(ACTLR_CAXX_SMP) /* enable SMP bit */
29        mcr   CP32(r0, ACTLR)
30        mov   pc, lr
31
32        .section ".init.proc.info", #alloc, #execinstr
33        .type __v7_ca15mp_proc_info, #object
34__v7_ca15mp_proc_info:
35        .long 0x410FC0F0             /* Cortex-A15 */
36        .long 0xFF0FFFF0             /* Mask */
37        .long ca15mp_init
38        .long caxx_processor
39        .size __v7_ca15mp_proc_info, . - __v7_ca15mp_proc_info
40
41        .section ".init.proc.info", #alloc, #execinstr
42        .type __v7_ca7mp_proc_info, #object
43__v7_ca7mp_proc_info:
44        .long 0x410FC070             /* Cortex-A7 */
45        .long 0xFF0FFFF0             /* Mask */
46        .long ca7mp_init
47        .long caxx_processor
48        .size __v7_ca7mp_proc_info, . - __v7_ca7mp_proc_info
49
50        .section ".init.proc.info", #alloc, #execinstr
51        .type __v7_brahma15mp_proc_info, #object
52__v7_brahma15mp_proc_info:
53        .long 0x420F00F0             /* Broadcom Brahma-B15 */
54        .long 0xFF0FFFF0             /* Mask */
55        .long brahma15mp_init
56        .long caxx_processor
57        .size __v7_brahma15mp_proc_info, . - __v7_brahma15mp_proc_info
58
59/*
60 * Local variables:
61 * mode: ASM
62 * indent-tabs-mode: nil
63 * End:
64 */
65