From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 133A9C4338F for ; Mon, 2 Aug 2021 13:21:03 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 73B4460EE3 for ; Mon, 2 Aug 2021 13:21:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 73B4460EE3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3B0C0833FD; Mon, 2 Aug 2021 15:20:34 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="q09V9tqA"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id ED08F833E7; Mon, 2 Aug 2021 15:20:11 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id BE0DF833D3 for ; Mon, 2 Aug 2021 15:19:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: by mail.kernel.org (Postfix) with ESMTPSA id 02E9D61029; Mon, 2 Aug 2021 13:19:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627910391; bh=1ah6uJCKAH4n1yej08zMG2YY76j2FVu+QPV0BFBZF9I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=q09V9tqAOEpfIq94UseyFaXBBo1l7B/WycihJWqm1U3BggSaqxdDwVKbswEfCL5pN LdWRi6ELjaYRUEcTtofJjQaBDf4K1HKh+X4sw5NaNX4MrA0W3oDIOqw6/WoAshjZJg GbLNNmSXh4cPOFFsp7PTmmTvOvtBOn5VQu71yV+mqFnftcthDsOMdBXUoxz/mQ84P+ fGJTVEcBLIwGyNwSweLai24inC3KgyWqHqYYKQCxAy78Jn8U/wFVIuzUahsTMVrIIp rqyRhbXgrXPMnnqtBm/kbSeANHyt3VtmwozYKIsERqlOePPM0XinRVjj6dNN445+Sv R3OzotFgyl0pQ== Received: by pali.im (Postfix) id B83D7B98; Mon, 2 Aug 2021 15:19:50 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Simon Glass , Heinrich Schuchardt , Alexander Graf , Huan Wang , Angelo Dureghello , Wolfgang Denk , Priyanka Jain , Christophe Leroy , Bin Meng , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Tom Rini Cc: u-boot@lists.denx.de Subject: [PATCH 05/11] m68k: mcf: Remove overloading version_string Date: Mon, 2 Aug 2021 15:18:32 +0200 Message-Id: <20210802131838.21097-6-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210802131838.21097-1-pali@kernel.org> References: <20210802131838.21097-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean There is no need to overload version_string at the end of start.S files. Common implementation of version_string should be fine. Signed-off-by: Pali Rohár --- arch/m68k/cpu/mcf5227x/start.S | 6 ------ arch/m68k/cpu/mcf523x/start.S | 6 ------ arch/m68k/cpu/mcf52x2/start.S | 6 ------ arch/m68k/cpu/mcf530x/start.S | 8 -------- arch/m68k/cpu/mcf532x/start.S | 6 ------ arch/m68k/cpu/mcf5445x/start.S | 6 ------ 6 files changed, 38 deletions(-) diff --git a/arch/m68k/cpu/mcf5227x/start.S b/arch/m68k/cpu/mcf5227x/start.S index 86c93ba3faff..c49f59e9aabf 100644 --- a/arch/m68k/cpu/mcf5227x/start.S +++ b/arch/m68k/cpu/mcf5227x/start.S @@ -6,7 +6,6 @@ #include #include -#include "version.h" #include #define _START _start @@ -488,8 +487,3 @@ _int_handler: RESTORE_ALL /******************************************************************************/ - -.globl version_string -version_string: -.ascii U_BOOT_VERSION_STRING, "\0" -.align 4 diff --git a/arch/m68k/cpu/mcf523x/start.S b/arch/m68k/cpu/mcf523x/start.S index 8c5a16495523..060e0eecbb56 100644 --- a/arch/m68k/cpu/mcf523x/start.S +++ b/arch/m68k/cpu/mcf523x/start.S @@ -6,7 +6,6 @@ #include #include -#include "version.h" #include #define _START _start @@ -252,8 +251,3 @@ _int_handler: RESTORE_ALL /******************************************************************************/ - -.globl version_string -version_string: -.ascii U_BOOT_VERSION_STRING, "\0" -.align 4 diff --git a/arch/m68k/cpu/mcf52x2/start.S b/arch/m68k/cpu/mcf52x2/start.S index 747a518f6cd5..bf1cdc76f152 100644 --- a/arch/m68k/cpu/mcf52x2/start.S +++ b/arch/m68k/cpu/mcf52x2/start.S @@ -6,7 +6,6 @@ #include #include -#include "version.h" #include #define _START _start @@ -334,8 +333,3 @@ _int_handler: RESTORE_ALL /******************************************************************************/ - -.globl version_string -version_string: -.ascii U_BOOT_VERSION_STRING, "\0" -.align 4 diff --git a/arch/m68k/cpu/mcf530x/start.S b/arch/m68k/cpu/mcf530x/start.S index 32356d875ec1..ae4df00b9eb0 100644 --- a/arch/m68k/cpu/mcf530x/start.S +++ b/arch/m68k/cpu/mcf530x/start.S @@ -6,7 +6,6 @@ #include #include -#include "version.h" #include #define _START _start @@ -257,10 +256,3 @@ _int_handler: RESTORE_ALL /******************************************************************************/ - -.globl version_string -version_string: -.ascii U_BOOT_VERSION -.ascii " (", U_BOOT_DATE, " - ", U_BOOT_TIME, ")" -.ascii CONFIG_IDENT_STRING, "\0" -.align 4 diff --git a/arch/m68k/cpu/mcf532x/start.S b/arch/m68k/cpu/mcf532x/start.S index e2d7c72ceec6..8114e20803ba 100644 --- a/arch/m68k/cpu/mcf532x/start.S +++ b/arch/m68k/cpu/mcf532x/start.S @@ -9,7 +9,6 @@ #include #include -#include "version.h" #include #define _START _start @@ -267,8 +266,3 @@ _int_handler: RESTORE_ALL /******************************************************************************/ - -.globl version_string -version_string: -.ascii U_BOOT_VERSION_STRING, "\0" -.align 4 diff --git a/arch/m68k/cpu/mcf5445x/start.S b/arch/m68k/cpu/mcf5445x/start.S index 40c497436570..54e98a471be7 100644 --- a/arch/m68k/cpu/mcf5445x/start.S +++ b/arch/m68k/cpu/mcf5445x/start.S @@ -10,7 +10,6 @@ #include #include #include -#include "version.h" #include #define _START _start @@ -608,8 +607,3 @@ _int_handler: RESTORE_ALL /******************************************************************************/ - -.globl version_string -version_string: -.ascii U_BOOT_VERSION_STRING, "\0" -.align 4 -- 2.20.1