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 B9283C77B7C for ; Tue, 9 May 2023 06:16:31 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8CED5847A4; Tue, 9 May 2023 08:16:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=foss.st.com 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=foss.st.com header.i=@foss.st.com header.b="xw/J2Lmg"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 13756847A8; Tue, 9 May 2023 08:16:28 +0200 (CEST) Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) (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 0C6468479D for ; Tue, 9 May 2023 08:16:26 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=prvs=349316498e=patrice.chotard@foss.st.com Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3495OKhF009688; Tue, 9 May 2023 08:16:17 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=selector1; bh=Bs5AxJmlRsphOrJxQMZj40ODNLaLnn4ANNV4zPSONiA=; b=xw/J2LmggTMPF9z6iFSNbJ8GYwjHlNw8OjgIUuqAwca4Key5y3WoEkxjD1Zp4oZ45TXD ZCE9hsIFFTdEbXIhBcq4T0NmL28Xlb1KkqCfv/eQvXXniT63fAJL6Q7tCypAhCwPVggd TaFxAClgK3ExeKyyuVwOfVPHRWA7viGRMGgmrLrbO/2v+TGgZt7w9I0rT/VvxYYjS7S5 CYHL5cuC6leo0G2V4Ed34o2QagtfyJ+n8Pw+N5VbO2Z0ORzisw0VuUEYq9goAWUrwvZp loIgx0xZ0P3dCBxlbKnM5sq6V2O3M3DNX4/N3pHo/dl1XUWMQ0BUx/ag6I8H1nkfZfCL 9g== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3qf79hactw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 May 2023 08:16:17 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 1A4A510002A; Tue, 9 May 2023 08:16:17 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 000B7210F6D; Tue, 9 May 2023 08:16:16 +0200 (CEST) Received: from [10.201.21.26] (10.201.21.26) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Tue, 9 May 2023 08:16:16 +0200 Message-ID: Date: Tue, 9 May 2023 08:16:16 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH] ARM: stm32: Use __section(".data") with dot in the section name on DHSOM To: Marek Vasut , CC: Patrick Delaunay , , References: <20230504195208.4941-1-marex@denx.de> Content-Language: en-US From: Patrice CHOTARD In-Reply-To: <20230504195208.4941-1-marex@denx.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.201.21.26] X-ClientProxiedBy: EQNCAS1NODE4.st.com (10.75.129.82) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-09_03,2023-05-05_01,2023-02-09_01 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 Hi Marek 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) Reviewed-by: Patrice Chotard Thanks Patrice