Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp1179108pxy; Thu, 6 May 2021 02:12:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxC+PJobkJzDb8MxEAV8nAoqdhWGRfiSj1FLWZOaFTRs05FTz+d5YxNFX5vURWuUkzf3RFl X-Received: by 2002:a17:902:be02:b029:e6:bb0d:6c1e with SMTP id r2-20020a170902be02b02900e6bb0d6c1emr3236398pls.77.1620292365151; Thu, 06 May 2021 02:12:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620292365; cv=none; d=google.com; s=arc-20160816; b=WAT1fcmHmH4eZx8f7W45UHzVHpnrIjV02lqqISoowxwX2mBN9cwIQPfOQb6htR6DCV Ux+cpK0n/CUpT1LhP58zi7LrTON9ajkAi3k3wx0cDwNy3a/ilKRgNGUC6c7fbEeLZMXp MYWDja9nBvQXNHUEkr6bhDnVVpiKuTWqW5iBrdCUWm82YeVb7VYYcrPLEwPX6aqebBbO R2BWYIAvKZM+iPwU/Y7nYTfdhGN2JfdQLIdgY+Nlh2P/LcoSuInAGeNTJ0tpjLcHngGN UchtG6glPZ3YaAOqy1MYUNayb1vGV6jqcFKkpUPRX2XxUPD9RKlzZO5wEreZ8fIHvPZq h4Uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:cc:to:subject:from:message-id; bh=Z8UbQSuWxxZ1LoX66bSg39ty7dFoOGO4cycBR43qgqk=; b=k2h/+KOtEP20OQ9QkNILUmLRCwCXyaUuoGvFetFHgmTislJ7cDZZXyo9gZ7mW3Z8eI f2/fh6G8T94MaHtUdwOAJ4EmFxZiOPeuE25F0sWKrIPOnIb2XnhrEmsVfAUZ0lV+3CJM OUnGpTJBpxH5M7dLw//NkA0KrrEP/Oqs4p7bkFKMTEpQgwKbTBBfzSRfyfa4yXG4XW+E gzs60tVdgqCsLrNbL7iG7V6a83Q2t5nlI3lnKjMJ4mDfyhtWbdanpc/mfqx5gf+Dr/iy ZImagXBn40CiubXbqYjgH7sp1Ro/Pr0ufbtMrTR99bP+YCpNL1HPnO2UHQvXyjBKH75m GG6A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 16si2437628pjg.121.2021.05.06.02.12.32; Thu, 06 May 2021 02:12:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234005AbhEFJLC (ORCPT + 99 others); Thu, 6 May 2021 05:11:02 -0400 Received: from pegase2.c-s.fr ([93.17.235.10]:34813 "EHLO pegase2.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233765AbhEFJLB (ORCPT ); Thu, 6 May 2021 05:11:01 -0400 Received: from localhost (mailhub3.si.c-s.fr [172.26.127.67]) by localhost (Postfix) with ESMTP id 4FbSTQ2frfz9sTC; Thu, 6 May 2021 11:10:02 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from pegase2.c-s.fr ([172.26.127.65]) by localhost (pegase2.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 84Jh_hPK5OFm; Thu, 6 May 2021 11:10:02 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase2.c-s.fr (Postfix) with ESMTP id 4FbSTQ1jkgz9sSD; Thu, 6 May 2021 11:10:02 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 1748E8B7F1; Thu, 6 May 2021 11:10:02 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id 4nw4S1JpHMM8; Thu, 6 May 2021 11:10:02 +0200 (CEST) Received: from po15610vm.idsi0.si.c-s.fr (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id DA4788B7EC; Thu, 6 May 2021 11:10:01 +0200 (CEST) Received: by po15610vm.idsi0.si.c-s.fr (Postfix, from userid 0) id 99FA564884; Thu, 6 May 2021 09:10:01 +0000 (UTC) Message-Id: <13f7532f21df3196e8c78b4f82a9c8d5487aca35.1620292185.git.christophe.leroy@csgroup.eu> From: Christophe Leroy Subject: [PATCH] powerpc/32s: Remove m8260_gorom() To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Thu, 6 May 2021 09:10:01 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Last user of m8260_gorom() was removed by Commit 917f0af9e5a9 ("powerpc: Remove arch/ppc and include/asm-ppc") removed last user of m8260_gorom(). In fact m8260_gorom() was ported to arch/powerpc/ but the platform using it died with arch/ppc/ Remove it. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_book3s_32.S | 36 ---------------------------- 1 file changed, 36 deletions(-) diff --git a/arch/powerpc/kernel/head_book3s_32.S b/arch/powerpc/kernel/head_book3s_32.S index c1d2f0d1d6b2..74296708b35e 100644 --- a/arch/powerpc/kernel/head_book3s_32.S +++ b/arch/powerpc/kernel/head_book3s_32.S @@ -1204,42 +1204,6 @@ setup_usbgecko_bat: blr #endif -#ifdef CONFIG_8260 -/* Jump into the system reset for the rom. - * We first disable the MMU, and then jump to the ROM reset address. - * - * r3 is the board info structure, r4 is the location for starting. - * I use this for building a small kernel that can load other kernels, - * rather than trying to write or rely on a rom monitor that can tftp load. - */ - .globl m8260_gorom -m8260_gorom: - mfmsr r0 - rlwinm r0,r0,0,17,15 /* clear MSR_EE in r0 */ - sync - mtmsr r0 - sync - mfspr r11, SPRN_HID0 - lis r10, 0 - ori r10,r10,HID0_ICE|HID0_DCE - andc r11, r11, r10 - mtspr SPRN_HID0, r11 - isync - li r5, MSR_ME|MSR_RI - lis r6,2f@h - addis r6,r6,-KERNELBASE@h - ori r6,r6,2f@l - mtspr SPRN_SRR0,r6 - mtspr SPRN_SRR1,r5 - isync - sync - rfi -2: - mtlr r4 - blr -#endif - - /* * We put a few things here that have to be page-aligned. * This stuff goes at the beginning of the data segment, -- 2.25.0