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 B8400EB64D8 for ; Sat, 17 Jun 2023 00:46:15 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 50BBB847B6; Sat, 17 Jun 2023 02:46:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1686962769; bh=MfsUOnVmvQz7/xRZJE0Cc67aGj4k0Po1v5shHQQRJBw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Xfpszvzxc2NheEpeg+pW7WMrkRy0tEB31lWNIa9fel4Sah/m0Ywi9BAOfp15vt560 aw9xSAKioG4uG29fMSf0tT84vOPFnjPbPsWWcYgL4ZT1iRpop7seM0k1AdQ3OLRDEV /7JAGz28taBZTm05x+qLv/AbUTl0RmZDRS6LMv7nkQr/pzVXlsnKfN/WkAhY5sWCxi qGodoHZLHX2KvlhjAhVNgOaw8RbK21INnE7oaGHi9yWEevvfVzwQzb6ooI7LFsEtSu oz+YBTHzCFukHGfm5EZTqi8rXU4ER930LzV7iG5coXD0IdPCTXARP/V7FlEJ5g/3a/ FGNYgLN5tavtg== Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id A32E2862D6; Sat, 17 Jun 2023 02:46:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1686962761; bh=MfsUOnVmvQz7/xRZJE0Cc67aGj4k0Po1v5shHQQRJBw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=KMGfiPlMyMdIonyzr1uY8zmb3dAnXKVhQIaPcXoOX2YYbJuqdu81oMk/pfalX0OB2 /1IhtTl10B+zpQ/sL84Y2nG3FMOX0u+X4Q4anxcixFpNGOthZGFO2e/VTTZQhCKB1l GosyBFFGubXI/aVHJurLdtpe+NXqKIM0Jf+XNNj2lnh/HAKtlPRrUimI+sNhj9p7te v6nX0jldiICMaVz3ZjZFq/zYsscsCwI8KHXcP8E+V1WRrS32nP8AgaqVcY3Ua2+6u3 fOQQvSra4KVe5bntKjEplaZb/UKa5NnzM9iKzSD0fZ0yxsTvrjLbJt0dzq2KCs9Pya 2W76swYD/GrEw== Message-ID: <392d5490-1f06-e264-7e0d-cdf77f7301c2@denx.de> Date: Sat, 17 Jun 2023 02:37:29 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH] ARM: stm32: Use __section(".data") with dot in the section name on DHSOM Content-Language: en-US To: Patrice CHOTARD , u-boot@lists.denx.de Cc: Patrick Delaunay , u-boot@dh-electronics.com, uboot-stm32@st-md-mailman.stormreply.com References: <20230504195208.4941-1-marex@denx.de> <6fa1fdfc-d983-dcb9-7a4c-60055505bc79@foss.st.com> <2d510067-6725-0c84-b672-a0a701ac0fcf@denx.de> <129fa8f9-d828-eef0-2530-e716a0fc4280@foss.st.com> From: Marek Vasut In-Reply-To: <129fa8f9-d828-eef0-2530-e716a0fc4280@foss.st.com> Content-Type: text/plain; charset=UTF-8; format=flowed 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.8 at phobos.denx.de X-Virus-Status: Clean On 6/16/23 14:23, Patrice CHOTARD wrote: > > > On 6/16/23 14:18, Marek Vasut wrote: >> On 6/16/23 13:46, Patrice CHOTARD wrote: >>> >>> >>> On 5/4/23 21:52, Marek Vasut wrote: >>>> The correct specifier of the section is ".data" and not "data", >>>> use the former to place the variables in ".data" section. >>>> >>>> Fixes: 731fd50e27f ("ARM: stm32: Implement board coding on AV96") >>>> Fixes: 92ca0f7446c ("ARM: dts: stm32: Synchronize DDR setttings on DH SoMs") >>>> Signed-off-by: Marek Vasut >>>> --- >>>> Cc: Patrice Chotard >>>> Cc: Patrick Delaunay >>>> Cc: u-boot@dh-electronics.com >>>> Cc: uboot-stm32@st-md-mailman.stormreply.com >>>> --- >>>>   board/dhelectronics/dh_stm32mp1/board.c | 6 +++--- >>>>   1 file changed, 3 insertions(+), 3 deletions(-) >>>> >>>> diff --git a/board/dhelectronics/dh_stm32mp1/board.c b/board/dhelectronics/dh_stm32mp1/board.c >>>> index a9a2965a386..a0cdf83ea71 100644 >>>> --- a/board/dhelectronics/dh_stm32mp1/board.c >>>> +++ b/board/dhelectronics/dh_stm32mp1/board.c >>>> @@ -185,9 +185,9 @@ int checkboard(void) >>>>   } >>>>     #ifdef CONFIG_BOARD_EARLY_INIT_F >>>> -static u8 brdcode __section("data"); >>>> -static u8 ddr3code __section("data"); >>>> -static u8 somcode __section("data"); >>>> +static u8 brdcode __section(".data"); >>>> +static u8 ddr3code __section(".data"); >>>> +static u8 somcode __section(".data"); >>>>   static u32 opp_voltage_mv __section(".data"); >>>>     static void board_get_coding_straps(void) >>> >>> Applied to u-boot-stm/next >> >> Since this is a bugfix, should be for current. > > Hi Marek > > Unfortunately the pull request has already sent to the mailing list :-( > I will take care next time. Can you send another MR ?