/* * SMP support: Entry point for secondary CPUs of Marvell EBU * Cortex-A9 based SOCs (Armada 375 and Armada 38x). * * Copyright (C) 2014 Marvell * * Gregory CLEMENT * Thomas Petazzoni * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. */ #include #include #include __CPUINIT #define CPU_RESUME_ADDR_REG 0xf10182d4 .global armada_375_smp_cpu1_enable_code_start .global armada_375_smp_cpu1_enable_code_end armada_375_smp_cpu1_enable_code_start: ARM_BE8(setend be) adr r0, 1f ldr r0, [r0] ldr r1, [r0] ARM_BE8(rev r1, r1) ret r1 1: .word CPU_RESUME_ADDR_REG armada_375_smp_cpu1_enable_code_end: ENTRY(mvebu_cortex_a9_secondary_startup) ARM_BE8(setend be) bl v7_invalidate_l1 b secondary_startup ENDPROC(mvebu_cortex_a9_secondary_startup)