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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6714CC433F5 for ; Thu, 21 Oct 2021 07:26:56 +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 8B7FF6108E for ; Thu, 21 Oct 2021 07:26:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8B7FF6108E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=foss.st.com 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 DFB7F833B5; Thu, 21 Oct 2021 09:26:52 +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="GsGHdcgC"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6F71E83453; Thu, 21 Oct 2021 09:26:51 +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 06D9983405 for ; Thu, 21 Oct 2021 09:26:47 +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=4928f3f8a5=patrick.delaunay@foss.st.com Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19L3c6xi007645; Thu, 21 Oct 2021 09:26:46 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=selector1; bh=r1HoeCqXb2t/AwDAXgaD7s2eKUTabPdvEUFDwexcTyA=; b=GsGHdcgC/MR47jaPBWGSVFJ7/YncE6HMX92isNAI1rBzMUdUO260fF+80OE7Zzh0uQIs yzjjH+dkt5AizeczhJI5QMNch+vQU0eIXQIMahaoEhWjTCunGMev2ps1QmKTz3Cu/9Q2 0kfZWzGL4jqWSkS78q3vVbEjq97V1jU8T9q0sWiENs6wfpey6m6cyP5fZrSSqMGSQTXK vS5rfjn0DZptMC1Tu/lH/vQgWsh40fDCGe9crG5M6HQT+Ex/1WBJsL1awwQ2PpAqCWEA Ux31GTRCXh7A9e475rLMdTxY0q6R4F+gLxAYmszmeRmCEajURJ3dbaArWqvtGiSq9z1p cA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 3btywk9eph-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Oct 2021 09:26:46 +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 1804110002A; Thu, 21 Oct 2021 09:26:46 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id F2E9A2128C7; Thu, 21 Oct 2021 09:26:45 +0200 (CEST) Received: from lmecxl0994.lme.st.com (10.75.127.49) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Thu, 21 Oct 2021 09:26:45 +0200 Subject: Re: [PATCH] ARM: stm32: Enable DFU SF support on DHSOM To: Marek Vasut , CC: Patrice Chotard References: <20211019030312.43066-1-marex@denx.de> From: Patrick DELAUNAY Message-ID: Date: Thu, 21 Oct 2021 09:26:44 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20211019030312.43066-1-marex@denx.de> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [10.75.127.49] X-ClientProxiedBy: SFHDAG2NODE1.st.com (10.75.127.4) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-21_02,2021-10-20_02,2020-04-07_01 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 On 10/19/21 5:03 AM, Marek Vasut wrote: > All the STM32MP1 based DHSOM have SPI NOR from which they boot, > enable DFU_SF support to make it possible to expose that SPI NOR > via the DFU. > > Signed-off-by: Marek Vasut > Cc: Patrice Chotard > Cc: Patrick Delaunay > --- > configs/stm32mp15_dhcom_basic_defconfig | 1 + > configs/stm32mp15_dhcor_basic_defconfig | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/configs/stm32mp15_dhcom_basic_defconfig b/configs/stm32mp15_dhcom_basic_defconfig > index 5b85f6ad03b..82f437d1957 100644 > --- a/configs/stm32mp15_dhcom_basic_defconfig > +++ b/configs/stm32mp15_dhcom_basic_defconfig > @@ -82,6 +82,7 @@ CONFIG_STM32_ADC=y > CONFIG_SPL_BLOCK_CACHE=y > CONFIG_DFU_MMC=y > CONFIG_DFU_RAM=y > +CONFIG_DFU_SF=y > CONFIG_DFU_VIRT=y > CONFIG_SET_DFU_ALT_INFO=y > CONFIG_GPIO_HOG=y > diff --git a/configs/stm32mp15_dhcor_basic_defconfig b/configs/stm32mp15_dhcor_basic_defconfig > index 37dd2754c03..6b95a6755e8 100644 > --- a/configs/stm32mp15_dhcor_basic_defconfig > +++ b/configs/stm32mp15_dhcor_basic_defconfig > @@ -79,6 +79,7 @@ CONFIG_STM32_ADC=y > CONFIG_SPL_BLOCK_CACHE=y > CONFIG_DFU_MMC=y > CONFIG_DFU_RAM=y > +CONFIG_DFU_SF=y > CONFIG_DFU_VIRT=y > CONFIG_GPIO_HOG=y > CONFIG_DM_HWSPINLOCK=y You prefer DFU SF vs DFU MTD ? DFU MTD support all MTD device, including SPI NOR devices... Reviewed-by: Patrick Delaunay Thanks Patrick