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 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 0AB4BC433F5 for ; Thu, 27 Jan 2022 15:08:51 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A3EF383886; Thu, 27 Jan 2022 16:07:30 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (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=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="d8YCzfnQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A0E0583867; Thu, 27 Jan 2022 16:06:54 +0100 (CET) Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) (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 CCC258384B for ; Thu, 27 Jan 2022 16:06:51 +0100 (CET) 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-oi1-x229.google.com with SMTP id y23so6281264oia.13 for ; Thu, 27 Jan 2022 07:06:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VP+jdx8Hpw/zXb+t6DheE7+FNYI+wvftO9+YL5hweVI=; b=d8YCzfnQufPx/GDy7+aUawRQZ3Fuhtyc+9Oc4yp1qkBaQ5GzPoqyg9v2NXKV+l9OfO UzKgkNejAS65F1MH1b/JYRap2bhzo38JWkJGJmnIHJwtmeI8Apb7Clorp73x+JBnTEQv Ab0aL63VO9qc2QkiFq/Oe9cyijbuuj+/2S8Sw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VP+jdx8Hpw/zXb+t6DheE7+FNYI+wvftO9+YL5hweVI=; b=JbUtYZkjidSPRUoxVtuk4GAneJ3FrPLAPONAvZN6RKDWqKBOGP4xvUZ3mUiVWRaTRe LKsXKK/iWGHaO9qrJbBYoJyDFFsyPnJTpDUKzmxs8GBpFAPZfROvzvXRLvVCFnhnXi5A FDZOPAaRSfhahcf+IRECPoHaZZw+LlNUCaIeIwh+4/rPxbR6maYFAxgWvlHACQkrdD1b Jet32x6rN/oXefiZHBKo2HZFd3xlGKVTGTA9P9R4GktJSgZVqL1QlQcR6ugd9Mw2Y/pm j9ZlTgDgNrwI9SWAqOFI97aS3a7RAFajhjFDMQJX2fe58CI2pRhZkMrGQalfRcwxKcE3 bPSw== X-Gm-Message-State: AOAM533jP3CawkSJ5jBDUrscHIFKkykoqttrrq5WOWu/9FaqEYVFZ9Bz /TAIyESYCAMDS6m940yLCCi/ZhaprKPR0rykgqC64A== X-Google-Smtp-Source: ABdhPJwMILCkWhzCfLtb2JbZMEqngTqYnSBs5N/XXWHnDe1aUy3gWiLGGsTwHsgcT3XjStxpRnLnuYGkqLE1HGlrlvQ= X-Received: by 2002:a05:6808:f8f:: with SMTP id o15mr2746729oiw.46.1643296010315; Thu, 27 Jan 2022 07:06:50 -0800 (PST) MIME-Version: 1.0 References: <20211230145026.5592-1-hyyoxhk@163.com> In-Reply-To: <20211230145026.5592-1-hyyoxhk@163.com> From: Simon Glass Date: Thu, 27 Jan 2022 08:05:57 -0700 Message-ID: Subject: Re: [PATCH v1 1/1] env: fat: Allow overriding interface, device and partition To: hyyxohk Cc: U-Boot Mailing List , Joe Hershberger , Wolfgang Denk Content-Type: text/plain; charset="UTF-8" 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.5 at phobos.denx.de X-Virus-Status: Clean Hi, On Thu, 30 Dec 2021 at 07:50, hyyxohk wrote: > > For platform which can boot on different device, this allows > to override interface, device and partition from board code. > > Signed-off-by: hyyxohk > --- > env/fat.c | 30 +++++++++++++++++------------- > include/env_internal.h | 20 ++++++++++++++++++++ > 2 files changed, 37 insertions(+), 13 deletions(-) > What is this feature used for? Regards, Simon [..]