Message ID | 1557504691-26188-15-git-send-email-patrice.chotard@st.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=st.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=st.com header.i=@st.com header.b="eo4RrNpo"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 450wPN0bRVz9sB8 for <incoming@patchwork.ozlabs.org>; Sat, 11 May 2019 02:18:32 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id C9B9CC21E2F; Fri, 10 May 2019 16:14:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id E9EEFC21E56; Fri, 10 May 2019 16:12:08 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id DEC4CC21C4A; Fri, 10 May 2019 16:11:49 +0000 (UTC) Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [62.209.51.94]) by lists.denx.de (Postfix) with ESMTPS id 92D3BC21E30 for <u-boot@lists.denx.de>; Fri, 10 May 2019 16:11:46 +0000 (UTC) Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4AFu5Ya032134; Fri, 10 May 2019 18:11:46 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=HNuU0wuFZtJD45b4D9yeh6CfzJWOdeABheMGAQjgifc=; b=eo4RrNpogT2o6KSI9psni5wJ8MptzoROUU3FKB7hU1HxMu5WiD8E7oc11z/eBdS6Mxhb HTwMY8k5gb5vFPp2MlNvcvjXc+J8LBtkU0PL4FjYnNgmwCUTkUCMy19ouz7slwDYvNaU FbFnLgNmeXuE7eaC+Iv1akaZuvgN2gbkfbt3dZ/Swmw+0o74hdayeae84mY9d3xH5LQs JkSeDJ1+GptW69JxrcESntu5yJtrtmP4HUjVPHp76vRokh4JXDbAnCv0YPuAf/hiEr20 9FVl/VOrlR0uZDe1XQV/dl1pIP9BDX5Fy+Dt4lnDPMuXZamvSJ5V7g517PTVtdm4vLr1 wQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2scdjpa2pe-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 10 May 2019 18:11:46 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id A840C34; Fri, 10 May 2019 16:11:45 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node3.st.com [10.75.127.18]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 996792C20; Fri, 10 May 2019 16:11:45 +0000 (GMT) Received: from localhost (10.75.127.50) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 10 May 2019 18:11:45 +0200 From: Patrice Chotard <patrice.chotard@st.com> To: <u-boot@lists.denx.de> Date: Fri, 10 May 2019 18:11:31 +0200 Message-ID: <1557504691-26188-15-git-send-email-patrice.chotard@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1557504691-26188-1-git-send-email-patrice.chotard@st.com> References: <1557504691-26188-1-git-send-email-patrice.chotard@st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.50] X-ClientProxiedBy: SFHDAG7NODE2.st.com (10.75.127.20) To SFHDAG6NODE3.st.com (10.75.127.18) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-09_02:, , signatures=0 Cc: U-Boot STM32 <uboot-stm32@st-md-mailman.stormreply.com> Subject: [U-Boot] [PATCH 14/14] stm32mp1: Update env_get_location for NOR support X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
Add saveenv support for STM32MP1
|
expand
|
diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c index 4f7d24a..af607c5 100644 --- a/board/st/stm32mp1/stm32mp1.c +++ b/board/st/stm32mp1/stm32mp1.c @@ -524,6 +524,10 @@ enum env_location env_get_location(enum env_operation op, int prio) case BOOT_FLASH_NAND: return ENVL_UBI; #endif +#ifdef CONFIG_ENV_IS_IN_SPI_FLASH + case BOOT_FLASH_NOR: + return ENVL_SPI_FLASH; +#endif default: return ENVL_NOWHERE; }
Update env_get_location() to be able to save environment into NOR (SPI_FLASH). Signed-off-by: Patrice Chotard <patrice.chotard@st.com> --- board/st/stm32mp1/stm32mp1.c | 4 ++++ 1 file changed, 4 insertions(+)