Эх сурвалжийг харах

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>
Marek Vasut 6 жил өмнө
parent
commit
344ca79509
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      env/ubi.c

+ 1 - 0
env/ubi.c

@@ -168,6 +168,7 @@ static int env_ubi_load(void)
 
 
 U_BOOT_ENV_LOCATION(ubi) = {
 U_BOOT_ENV_LOCATION(ubi) = {
 	.location	= ENVL_UBI,
 	.location	= ENVL_UBI,
+	ENV_NAME("UBI")
 	.load		= env_ubi_load,
 	.load		= env_ubi_load,
 	.save		= env_save_ptr(env_ubi_save),
 	.save		= env_save_ptr(env_ubi_save),
 };
 };