]> git.baikalelectronics.ru Git - uboot.git/commit
env: flash: Let generic env_init() assign default environment
authorMarek Behún <marek.behun@nic.cz>
Fri, 22 Oct 2021 13:47:20 +0000 (15:47 +0200)
committerSimon Glass <sjg@chromium.org>
Sun, 31 Oct 2021 18:26:44 +0000 (12:26 -0600)
commitf4bf21329454cc84cd9393dcd3f808732cd46c37
tree75f671d5b0658a1b7d790ed6df0f85bea28d9098
parent26c2c836dc191cc9b7d74338a2d504998cfd56c8
env: flash: Let generic env_init() assign default environment

env_flash_init() (both implementations) 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/flash.c