mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-01 16:58:22 +00:00
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 <daniel@makrotopia.org>
This commit is contained in:
parent
079828fa54
commit
690f715267
@ -148,7 +148,7 @@ int parse_fit_partitions(struct parsed_partitions *state, u64 fit_start_sector,
|
|||||||
|
|
||||||
np = of_find_node_by_path("/chosen");
|
np = of_find_node_by_path("/chosen");
|
||||||
if (np)
|
if (np)
|
||||||
bootconf = of_get_property(np, "bootconf", NULL);
|
bootconf = of_get_property(np, "u-boot,bootconf", NULL);
|
||||||
else
|
else
|
||||||
bootconf = NULL;
|
bootconf = NULL;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user