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 04F56C05027 for ; Thu, 2 Feb 2023 12:48:53 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 08FCA85F0D; Thu, 2 Feb 2023 13:48:51 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1675342131; bh=7COwy4IdkTmGcSbJHg1AG5zbSnRDtdU5yoBSOUoKHY8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=MO3s4V45quV5TWIt45LAUOj6+XCEbhdA5viBJ4DWQ5eKV9QWmD3QF84DR2DimT9XQ aeqN4aAh7ujMKrMkTyFu1EJVy8Qxj163RfcwqG7gf7acXyNcRM2BU/urq8hfYFdjcg bvsnxhNMHoZxTlxfZE7fBDuKzdzVi0OhZkQdUEeuYmIBa+k8dF1S5x3MXtf8YnM6Su KyW0eQW0nEqaQkFsRvfo4O2BBV91R4a6yJ8pP0woc0XdiuGcST2PBvr4Qm/frNSvmA TgVZtltvvmnWT4NvOR7IviIxcYLBZjAy2uuTKtuP3eof8DJcGXxPmUR8D+bfaabprk piDStznN+5uCA== Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 617C085E9E; Thu, 2 Feb 2023 13:48:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1675342128; bh=7COwy4IdkTmGcSbJHg1AG5zbSnRDtdU5yoBSOUoKHY8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=OIgiIdBx94zXov97LMBGDp5l0lFLbcV5j8IP5RIs+ONPKgmv3g8nTCpDU+bG7aIQS 6FRPnh0ZGgCdF7xAdRjQKZoGwa9mZTgxTtilD1ECG8oaSLuy5gWQZFgtoQT8AKfAxH CmYiwc6PGAgLRR6I2QgMv4srLJ+JQdILzOGSKTRvE9Gsggu7LWtnxhKckfHt32MA9G CDjWGjvFnsabgowv3quQIUyeVfWkrpKKvcqzEfMkWnTlbdtomryNoH4dPl+FhuNr8Y 4kzLw6/vBXeImoNtBjEJeLtUjRBxivQKc+ol3br/diIzMoiS74nPPqNFP1BOrKPA6S ogvpKnAUBmQ6g== Message-ID: Date: Thu, 2 Feb 2023 13:48:47 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH V4 01/14] env: Complete generic support for writable list Content-Language: en-US To: Jan Kiszka , U-Boot Mailing List Cc: Joe Hershberger , Stefan Herbrechtsmeier References: From: Marek Vasut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 On 2/2/23 09:07, Jan Kiszka wrote: > From: Jan Kiszka > > This completes what 890feecaab72 started by selecting ENV_APPEND and > loading the default env before any other sources. This ensures that load > operations pick up all non-writable vars from the default env and only > permitted parts from other locations according to the regular > priorities. > > With this change, boards only need to define the list of writable > variables but no longer have to provide a custom env_get_location > implementation. > > CC: Joe Hershberger > CC: Marek Vasut > CC: Stefan Herbrechtsmeier > Signed-off-by: Jan Kiszka > Reviewed-by: Marek Vasut Maybe just send this one as a separate patch, so it can go in separately from this series.