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 8991EC54EBC for ; Thu, 12 Jan 2023 15:43:33 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8A230850DB; Thu, 12 Jan 2023 16:43:31 +0100 (CET) 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="4aNiVyGh"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 96C63852F3; Thu, 12 Jan 2023 16:43:30 +0100 (CET) Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (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 A983684E00 for ; Thu, 12 Jan 2023 16:43:27 +0100 (CET) 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=937690b042=patrice.chotard@foss.st.com Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30CD2pD7006462; Thu, 12 Jan 2023 16:43:27 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=message-id : date : mime-version : subject : from : to : cc : references : in-reply-to : content-type : content-transfer-encoding; s=selector1; bh=ob5ZBfh3sjrjaXLpyiqHDK8NJurzYtMk0ywBSz4fdZI=; b=4aNiVyGhui6u/6g6t5FXnIBixcJwVs05ALyBmV0JR9hqvrtEL7UcS1YBRv2Gl4mmS6dE 7/wyu5DY/SH21yG7PIOcFHjPfdFkylDw+5yi+LXErv6egPWlCLhK859SAcMdV+dDEDdx 2FoGg9CuZp3ZIIRlyJJRknOy9Sx6bGis2p3XFE3rhwkBTsHl6e9nc1REpeO56kQae6Np +GmXBtCH86O/khygCt3hRvFoox+cpq+nIfoX6yNjbh6Ui585Dfaf/tUzA3dUG9+eEvlg KLpNeCUzmphHano5ASODrFN5yKSgK0qTlQJ6i1V2rabSE/60AZI221RUWeWNG0VCqSNH 9A== 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 3n1tnmh0ku-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Jan 2023 16:43:27 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id B63FB100034; Thu, 12 Jan 2023 16:43:26 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id B00E821BF47; Thu, 12 Jan 2023 16:43:26 +0100 (CET) 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.13; Thu, 12 Jan 2023 16:43:26 +0100 Message-ID: Date: Thu, 12 Jan 2023 16:43:25 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [Uboot-stm32] [PATCH 5/6] board: st: Add support of STM32MP13x boards in stm32board cmd Content-Language: en-US From: Patrice CHOTARD To: Patrick Delaunay , CC: , Etienne CARRIERE References: <20230106122020.1110552-1-patrick.delaunay@foss.st.com> <20230106131952.5.I5ced2665787083835d5ce398a3bd10163cca62c9@changeid> <826ee832-9f89-6220-50b3-7ccb4cf2a24d@foss.st.com> In-Reply-To: <826ee832-9f89-6220-50b3-7ccb4cf2a24d@foss.st.com> 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.219,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-12_08,2023-01-12_01,2022-06-22_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.6 at phobos.denx.de X-Virus-Status: Clean Hi Patrick On 1/12/23 15:34, Patrice CHOTARD wrote: > Hi Patrick > > On 1/6/23 13:20, Patrick Delaunay wrote: >> Add board identifiers for STMicroelectronics STM32MP13x boards: >> - DISCO board: MB1635 >> >> Signed-off-by: Patrick Delaunay >> --- >> >> board/st/common/Kconfig | 2 +- >> board/st/common/cmd_stboard.c | 7 ++++--- >> 2 files changed, 5 insertions(+), 4 deletions(-) >> >> diff --git a/board/st/common/Kconfig b/board/st/common/Kconfig >> index 2f57118bb265..aba3590866e0 100644 >> --- a/board/st/common/Kconfig >> +++ b/board/st/common/Kconfig >> @@ -1,7 +1,7 @@ >> config CMD_STBOARD >> bool "stboard - command for OTP board information" >> depends on ARCH_STM32MP >> - default y if TARGET_ST_STM32MP15x >> + default y if TARGET_ST_STM32MP15x || TARGET_ST_STM32MP13x >> help >> This compile the stboard command to >> read and write the board in the OTP. >> diff --git a/board/st/common/cmd_stboard.c b/board/st/common/cmd_stboard.c >> index 213fb5d30208..853ab78bbf16 100644 >> --- a/board/st/common/cmd_stboard.c >> +++ b/board/st/common/cmd_stboard.c >> @@ -2,8 +2,8 @@ >> /* >> * Copyright (C) 2019, STMicroelectronics - All Rights Reserved >> * >> - * the st command stboard supports the STMicroelectronics board identification >> - * saved in OTP 59. >> + * the command stboard supports the STMicroelectronics board identification >> + * saved in OTP_BOARD. >> * >> * The ST product codification have several element >> * - "Commercial Product Name" (CPN): type of product board (DKX, EVX) >> @@ -18,7 +18,7 @@ >> * - Finished Good = EVA32MP157A1$AU1 >> * >> * Both information are written on board and these information are also saved >> - * in OTP59, with: >> + * in OTP_BOARD (59 for STM32MP15x or 60 for STM32MP13x), with: >> * bit [31:16] (hex) => Board id, MBxxxx >> * bit [15:12] (dec) => Variant CPN (1....15) >> * bit [11:8] (dec) => Revision board (index with A = 1, Z = 26) >> @@ -49,6 +49,7 @@ static bool check_stboard(u16 board) >> 0x1298, >> 0x1341, >> 0x1497, >> + 0x1635, >> }; >> >> for (i = 0; i < ARRAY_SIZE(st_board_id); i++) > > > Reviewed-by: Patrice Chotard > > Thanks > Patrice > _______________________________________________ > Uboot-stm32 mailing list > Uboot-stm32@st-md-mailman.stormreply.com > https://st-md-mailman.stormreply.com/mailman/listinfo/uboot-stm32 Applied to u-boot-stm32/master Thanks Patrice