[PATCH v2 03/12] env: Simplify env_get_default()

Simon Glass sjg at chromium.org
Sun Nov 14 01:34:30 CET 2021


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>
Reviewed-by: Simon Glass <sjg at chromium.org>
---
 env/common.c | 45 ++++++++++++++++++++++++---------------------
 1 file changed, 24 insertions(+), 21 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list