]> git.dujemihanovic.xyz Git - u-boot.git/commit
env: sf: Use ENV_VALID enum names instead of literals
authorMarek Behún <marek.behun@nic.cz>
Fri, 22 Oct 2021 13:47:13 +0000 (15:47 +0200)
committerSimon Glass <sjg@chromium.org>
Sun, 31 Oct 2021 18:26:44 +0000 (12:26 -0600)
commit87221bd66c2646671450ca8eb97007f2d6e01c5c
treea1f396fb2262366289da10ed86fe60d4028fd2c7
parent9ab30d2bafa0ee98e9048afcb575b6013f933f3c
env: sf: Use ENV_VALID enum names instead of literals

The function env_sf_init_addr() assigns number literals (1) instead of
ENV_VALID to gd->env_valid. Fix this.

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