[PATCH 3/5] env: Simplify env_get_default()

Simon Glass sjg at chromium.org
Fri Oct 29 05:17:39 CEST 2021


On Wed, 27 Oct 2021 at 21:28, Marek Behún <kabel at kernel.org> wrote:
>
> From: Marek Behún <marek.behun at nic.cz>
>
> Instead of pretending that we don't have environment to force searching
> default environment in env_get_default(), get the data from the
> default_environment[] buffer directly.
>
> Signed-off-by: Marek Behún <marek.behun at nic.cz>
> ---
>  env/common.c | 45 ++++++++++++++++++++++++---------------------
>  1 file changed, 24 insertions(+), 21 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list