]> git.dujemihanovic.xyz Git - u-boot.git/commit
env: nvram: Let generic env_init() assign default environment
authorMarek Behún <marek.behun@nic.cz>
Fri, 22 Oct 2021 13:47:16 +0000 (15:47 +0200)
committerSimon Glass <sjg@chromium.org>
Sun, 31 Oct 2021 18:26:44 +0000 (12:26 -0600)
commit4735de4ffce0d3698222f31206bc82120c07a52e
tree09853e5a934ac3efa2638f0e8723ec4f63846857
parent07dcd82546ea1b1e3bbb139254d7ac3f531a1caf
env: nvram: Let generic env_init() assign default environment

env_nvram_init() assigns default environment if ENV_INVALID, but this is
done in the generic env_init() function, which calls this initializer,
so drop it from here.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Simon Glass <sjg@chromium.org>
env/nvram.c