]> git.dujemihanovic.xyz Git - u-boot.git/commit
env: Simplify env_get_default()
authorMarek Behún <marek.behun@nic.cz>
Wed, 3 Nov 2021 23:23:23 +0000 (00:23 +0100)
committerSimon Glass <sjg@chromium.org>
Sat, 13 Nov 2021 15:16:39 +0000 (08:16 -0700)
commit4e7c8b2a1cc77ed7267f21c383d3280496750791
treef96888953ce130ccacce00006453727b0f530da6
parente8459c12fd2e9b4068041a931ce6da62ac648000
env: Simplify env_get_default()

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@nic.cz>
Reviewed-by: Simon Glass <sjg@chromium.org>
env/common.c