[openwrt/openwrt] kernel: update FIT partition parser to new property name
LEDE Commits
lede-commits at lists.infradead.org
Wed Apr 20 07:25:15 PDT 2022
dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/690f7152673bc033e6fe5f0104be6c2b8aa16529
commit 690f7152673bc033e6fe5f0104be6c2b8aa16529
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Wed Apr 20 15:19:59 2022 +0100
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 at makrotopia.org>
---
target/linux/generic/files/block/partitions/fit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/generic/files/block/partitions/fit.c b/target/linux/generic/files/block/partitions/fit.c
index 46ccef62ee..ce6a2b5411 100644
--- a/target/linux/generic/files/block/partitions/fit.c
+++ b/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;
More information about the lede-commits
mailing list