From: Tom Rini Date: Fri, 15 Nov 2024 22:36:24 +0000 (-0600) Subject: Merge patch series "teach 'env default' to optionally keep runtime variables" X-Git-Tag: v2025.04-rc1~60^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c71d451033db9ed1ea3ac46fa81a09ec9c58918c;p=pandora-u-boot.git Merge patch series "teach 'env default' to optionally keep runtime variables" Rasmus Villemoes says: Doing bringup of a board, part of my bootstrap logic is in U-Boot. So when tweaking that logic, I was bitten by a previous completed bootstrap having left a copy of the environment on the device, which was imported and thus overrided the new logic. So I thought, "ok, I'll just make sure to put 'env default -a' as the first part of the bootstrap logic so I'm not bitten again". Alas, my logic also relies on certain variables that are set by C code (e.g. for detecting board variant), and doing 'env default -a' also eliminates those. Looking around, the hashtab code already supports a flag that does exactly what I need, and exposing that is (morally) a one-liner. Link: https://lore.kernel.org/r/20241030213404.2894247-1-ravi@prevas.dk --- c71d451033db9ed1ea3ac46fa81a09ec9c58918c