Quellcode durchsuchen

kernel: update FIT partition parser to new property name

The commit "uboot-mediatek: replace patch with accepted commit" changed
the name of the boot configuration property from 'bootconf' to
'u-boot,bootconf'. Reflect this change in the FIT partition parser.

Signed-off-by: Daniel Golle <[email protected]>
Daniel Golle vor 3 Jahren
Ursprung
Commit
690f715267
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      target/linux/generic/files/block/partitions/fit.c

+ 1 - 1
target/linux/generic/files/block/partitions/fit.c

@@ -148,7 +148,7 @@ int parse_fit_partitions(struct parsed_partitions *state, u64 fit_start_sector,
 
 	np = of_find_node_by_path("/chosen");
 	if (np)
-		bootconf = of_get_property(np, "bootconf", NULL);
+		bootconf = of_get_property(np, "u-boot,bootconf", NULL);
 	else
 		bootconf = NULL;