On Mon, Dec 20, 2021 at 06:31:56PM -0500, Samuel Dionne-Riel wrote:

> This allows an ergonomic-enough approximation of ${!variable} expansion.
> This could be used the following way:
> 
> ```
> for target in ${boot_targets}; do
>    env indirect target_name target_name_${target}
>    # ...
> done
> ```
> 
> Assuming `target_name_mmc0` and similar are set appropriately.
> 
> A default value can be optionally provided.
> 
> Note: this acts on environment variables, not hush variables.
> 
> Signed-off-by: Samuel Dionne-Riel <sam...@dionne-riel.com>
> Cc: Simon Glass <s...@chromium.org>
> Cc: "Marek BehĂșn" <marek.be...@nic.cz>

After making this not default y, applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to