From mboxrd@z Thu Jan 1 00:00:00 1970 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 E85BFC433EF for ; Thu, 21 Oct 2021 18:51:42 +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 6A39760F9E for ; Thu, 21 Oct 2021 18:51:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6A39760F9E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org 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 661C683534; Thu, 21 Oct 2021 20:51:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="K5jtpaNT"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 771F783521; Thu, 21 Oct 2021 20:49:27 +0200 (CEST) Received: from mail-ua1-x935.google.com (mail-ua1-x935.google.com [IPv6:2607:f8b0:4864:20::935]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id DE9BB834DB for ; Thu, 21 Oct 2021 20:49:20 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@google.com Received: by mail-ua1-x935.google.com with SMTP id i22so3061148ual.10 for ; Thu, 21 Oct 2021 11:49:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:from:in-reply-to:references:date:message-id :subject:to:cc:content-transfer-encoding; bh=c64nkH+jR7xZPHcd45Rmqdp54fJz7gUdHwEc6seHO5w=; b=K5jtpaNTOBHYi1ERq2TjxPKIEc3DZxaDjq/oFlThj7qQRlF7RdUwTgYIRjp0ED5h6b oPu5GKrJobG0VpSFZS2x7l+ZZMvKgVsoBtBirO19WmG34iAB3v2yK3Gneyjz1yI/bfSN x4HwP+oAHzIQa2nQ6mUj89XSw6GnwdtcSqijA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:sender:from:in-reply-to:references :date:message-id:subject:to:cc:content-transfer-encoding; bh=c64nkH+jR7xZPHcd45Rmqdp54fJz7gUdHwEc6seHO5w=; b=PnsaVOvdx4O1mMEVCL2ZZ/rBliwijtNUtANdmSnGjeQvTYYPAitxYkKOowVf2ZSjI1 3vYbUf5kHG/YooQfmNA54HbcT33OjSsTAQXgRr2GLrA4zmdiIhQXaMaXP2yvbA3GezSJ /vIm7Jk1D4Y9TCz1sJKlZgMlS5U/p9ylmesGCyaOqVZKsCXBAoCn+LdoZdgNaMQ9Jab0 lSCbTUFEIG8wWngV++BEEL4K2L29jI7bvu/T1O/6Z0d0R624p97/t2UOrdl8hCsWzzBF KoW1cgMIc7r6BuiqZpNRn3Lhu0B3wfUZ3rTI2sSIyLMWA0HUYrGjDkLzRU/uIerRSQlI ZJiQ== X-Gm-Message-State: AOAM531A1diuhTBfRez8QYlxNcadhnNFhUzi+/C9WJD47M7cSFgD76M6 lSBoFcRvmxzP7t61SEaqReIckNUMMQAEQ+jKZWYFYA== X-Google-Smtp-Source: ABdhPJzP53IC6caDQwc/uaqY009k1GhwxqfBfN71KqNpGPwj2xUAllwObUowqJG/PpePRyOgNSaqacZoxQF9tTwzyGk= X-Received: by 2002:a05:6130:321:: with SMTP id ay33mr8661500uab.140.1634842159376; Thu, 21 Oct 2021 11:49:19 -0700 (PDT) Received: from 480794996271 named unknown by gmailapi.google.com with HTTPREST; Thu, 21 Oct 2021 11:49:18 -0700 MIME-Version: 1.0 From: Simon Glass In-Reply-To: <20211017153638.29870-5-kabel@kernel.org> References: <20211017153638.29870-5-kabel@kernel.org> <20211017153638.29870-1-kabel@kernel.org> Date: Thu, 21 Oct 2021 11:49:18 -0700 X-Google-Sender-Auth: kmPAFv2rZjtqRDps40NF2fFNSwk Message-ID: Subject: Re: [PATCH v3 04/13] env: Change env_match() to static and remove from header To: =?UTF-8?B?TWFyZWsgQmVow7pu?= Cc: U-Boot Mailing List , =?UTF-8?B?TWFyZWsgQmVow7pu?= , Simon Glass , Tom Rini Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 From: Marek Beh=C3=BAn This function was used by other parts of U-Boot in the past when environment was read from underlying device one character at a time. This is not the case anymore. Signed-off-by: Marek Beh=C3=BAn Reviewed-by: Simon Glass --- cmd/nvedit.c | 30 +++++++++++++++--------------- include/env.h | 11 ----------- 2 files changed, 15 insertions(+), 26 deletions(-) Applied to u-boot-dm, thanks!