diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2021-11-04 00:23:22 +0100 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-11-13 08:16:39 -0700 |
commit | e8459c12fd2e9b4068041a931ce6da62ac648000 (patch) | |
tree | 8c9dd382bdcc4d64b507b97f354f5e99f493601a /drivers/ddr/marvell/axp/ddr3_init.h | |
parent | c9db4c5440d760eedf80448d42559125ee1d0626 (diff) |
env: Fix env_get() when returning empty string using env_get_f()
The env_get_f() function returns -1 on failure. Returning 0 means that
the variable exists, and is empty string.
Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/ddr/marvell/axp/ddr3_init.h')
0 files changed, 0 insertions, 0 deletions