]> git.baikalelectronics.ru Git - uboot.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)
commiteb1a2e4ff2ce8a83b37aabf81217a75aebeb7d9b
tree09853e5a934ac3efa2638f0e8723ec4f63846857
parent72a1c0154d51b52909a6491f5fe7ebf33190d332
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