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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id C32C4C433FE for ; Wed, 23 Nov 2022 23:45:22 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7A6EF855B3; Thu, 24 Nov 2022 00:45:20 +0100 (CET) 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="CYNSsgTW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BA472855D1; Thu, 24 Nov 2022 00:45:18 +0100 (CET) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (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 B39858559F for ; Thu, 24 Nov 2022 00:45:16 +0100 (CET) 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: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 370F2B82557; Wed, 23 Nov 2022 23:45:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C40CFC433D6; Wed, 23 Nov 2022 23:45:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669247114; bh=2/nrMGB1z0mUsq2PSpR75jxCH6M7clGxWycCVJh4g4I=; h=From:To:Cc:Subject:Date:From; b=CYNSsgTWt8cfZHRTpVkXM7EbrBgbB5T2Ld7nEla2Li6ji4P+MHbtvmnpOMfXvq2au VmTRxU0aiKH+gw0fC4lvGTIoYSSFiKOmJ+5kksY2M7Qw66GmTICJTL5zPO6nAVSCTj kHk6AdPO1Sj0l8bsPVhbiDCf/RcDFs7+lxCkOuND5eAWGqSY/uAh81rsRihWKOr/J5 VPTNeiuw4/vwfNLtIVoMVO/1HIKGlc+SDPdMT13wd14rXgne1iZ3l08XjfuJt1csQF rMqopRu7GUASeD3snrzrc+DFtQRdd8HrOWTTKle4sXyEuOOSm1Is0iW7nx8yBzSzGj VkIUB2WMKoh4A== Received: by pali.im (Postfix) id B53D2757; Thu, 24 Nov 2022 00:45:11 +0100 (CET) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Tom Rini Cc: u-boot@lists.denx.de, maemo-leste@lists.dyne.org Subject: [PATCH] Nokia RX-51: Use ENTRY/ENDPROC for save_boot_params Date: Thu, 24 Nov 2022 00:45:00 +0100 Message-Id: <20221123234500.354-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 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.39 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.6 at phobos.denx.de X-Virus-Status: Clean ENTRY/ENDPROC macros from linux/linkage.h will make code more readable and also will properly mark assembly symbol in ELF binary as function symbol. Signed-off-by: Pali Rohár --- board/nokia/rx51/lowlevel_init.S | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/board/nokia/rx51/lowlevel_init.S b/board/nokia/rx51/lowlevel_init.S index 930052ea60f2..44f32f114e75 100644 --- a/board/nokia/rx51/lowlevel_init.S +++ b/board/nokia/rx51/lowlevel_init.S @@ -5,6 +5,7 @@ */ #include +#include kernoffs: /* offset of kernel image from this address */ .word . - CONFIG_TEXT_BASE - KERNEL_OFFSET @@ -29,8 +30,7 @@ z_magic: /* LINUX_ARM_ZIMAGE_MAGIC */ * Description: Copy attached kernel to address KERNEL_ADDRESS */ -.global save_boot_params -save_boot_params: +ENTRY(save_boot_params) /* * Copy valid attached kernel to absolute address KERNEL_ADDRESS @@ -93,3 +93,5 @@ skip_copy: /* Returns */ b save_boot_params_ret + +ENDPROC(save_boot_params) -- 2.20.1