From 61598093bbdd283a7edc367d900f223070ead8d2 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 10 May 2024 07:43:03 +0000 Subject: [PATCH] add ax88772C AX88772C_eeprom_tools --- kernel/arch/arm/mach-actions/platsmp.c | 21 +-------------------- 1 files changed, 1 insertions(+), 20 deletions(-) diff --git a/kernel/arch/arm/mach-actions/platsmp.c b/kernel/arch/arm/mach-actions/platsmp.c index 3efaa10..f26618b 100644 --- a/kernel/arch/arm/mach-actions/platsmp.c +++ b/kernel/arch/arm/mach-actions/platsmp.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Actions Semi Leopard * @@ -7,11 +8,6 @@ * Author: Actions Semi, Inc. * * Copyright (c) 2017 Andreas Färber - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation; either version 2 of the License, or (at your - * option) any later version. */ #include <linux/delay.h> @@ -38,10 +34,6 @@ static void __iomem *sps_base_addr; static void __iomem *timer_base_addr; static int ncores; - -static DEFINE_SPINLOCK(boot_lock); - -void owl_secondary_startup(void); static int s500_wakeup_secondary(unsigned int cpu) { @@ -84,7 +76,6 @@ static int s500_smp_boot_secondary(unsigned int cpu, struct task_struct *idle) { - unsigned long timeout; int ret; ret = s500_wakeup_secondary(cpu); @@ -93,20 +84,10 @@ udelay(10); - spin_lock(&boot_lock); - smp_send_reschedule(cpu); - - timeout = jiffies + (1 * HZ); - while (time_before(jiffies, timeout)) { - if (pen_release == -1) - break; - } writel(0, timer_base_addr + OWL_CPU1_ADDR + (cpu - 1) * 4); writel(0, timer_base_addr + OWL_CPU1_FLAG + (cpu - 1) * 4); - - spin_unlock(&boot_lock); return 0; } -- Gitblit v1.6.2