From 344ca79509135f8a29f510e2e2b4fab81be187f1 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Tue, 21 Aug 2018 15:53:33 +0200 Subject: [PATCH] env: ubi: Add missing ENV_NAME Add missing environment name for UBI, to prevent this NULL in output: Loading Environment from ... and rather have a valid UBI there: Loading Environment from UBI... Signed-off-by: Marek Vasut --- env/ubi.c | 1 + 1 file changed, 1 insertion(+) 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), }; -- 2.39.5