]> git.baikalelectronics.ru Git - uboot.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)
commit36bd72152912b84e1f76edae5f4149e6a793859e
treef5e8bba3536c1701b19eac488fd719d3daef84dd
parent79dc09ed62761096de9b34f79d135812ea3038de
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