/* SPDX-License-Identifier: GPL-2.0-only */1/*2* SMP support: Entry point for secondary CPUs3*4* Copyright (C) 2012 Marvell5*6* Yehuda Yitschak <[email protected]>7* Gregory CLEMENT <[email protected]>8* Thomas Petazzoni <[email protected]>9*10* This file implements the assembly entry point for secondary CPUs in11* an SMP kernel. The only thing we need to do is to add the CPU to12* the coherency fabric by writing to 2 registers. Currently the base13* register addresses are hard coded due to the early initialisation14* problems.15*/1617#include <linux/linkage.h>18#include <linux/init.h>1920#include <asm/assembler.h>2122/*23* Armada XP specific entry point for secondary CPUs.24* We add the CPU to the coherency fabric and then jump to secondary25* startup26*/27ENTRY(armada_xp_secondary_startup)28ARM_BE8(setend be ) @ go BE8 if entered LE2930bl ll_add_cpu_to_smp_group3132bl ll_enable_coherency3334b secondary_startup3536ENDPROC(armada_xp_secondary_startup)373839