]> git.baikalelectronics.ru Git - uboot.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)
commitc90a72e25edfb4e1295e2140cba8d016d3260282
treef96888953ce130ccacce00006453727b0f530da6
parentba12f628461e6a035f2037a2cc26afba20c3e0e9
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