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

env_nowhere_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/nowhere.c