summaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2018-08-21 15:53:33 +0200
committerTom Rini <trini@konsulko.com>2018-08-24 16:00:48 -0400
commit344ca79509135f8a29f510e2e2b4fab81be187f1 (patch)
tree4a7b9c64600bfca72f931005bdd3ad927b36fc8e /env
parent8744d6c5048f41b2ae3a42696af2ea3b09c17e4b (diff)
downloadu-boot-344ca79509135f8a29f510e2e2b4fab81be187f1.tar.gz
env: ubi: Add missing ENV_NAME
Add missing environment name for UBI, to prevent this NULL in output: Loading Environment from <NULL>... and rather have a valid UBI there: Loading Environment from UBI... Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'env')
-rw-r--r--env/ubi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/env/ubi.c b/env/ubi.c
index eb2346f3a1..1dfdf0a8c8 100644
--- a/env/ubi.c
+++ b/env/ubi.c
@@ -168,6 +168,7 @@ static int env_ubi_load(void)
U_BOOT_ENV_LOCATION(ubi) = {
.location = ENVL_UBI,
+ ENV_NAME("UBI")
.load = env_ubi_load,
.save = env_save_ptr(env_ubi_save),
};