kernel: update FIT partition parser to new property name
authorDaniel Golle <daniel@makrotopia.org>
Wed, 20 Apr 2022 14:19:59 +0000 (15:19 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 20 Apr 2022 14:23:02 +0000 (15:23 +0100)
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 <daniel@makrotopia.org>
target/linux/generic/files/block/partitions/fit.c

index 46ccef62eeecc7db0d7ce35c03ba825b63b2bf1e..ce6a2b54115c970d615494f167426c0308fd0f4d 100644 (file)
@@ -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;