generic: use only first element in bootconf for uImage.FIT
authorDaniel Golle <daniel@makrotopia.org>
Sun, 4 Jun 2023 17:21:29 +0000 (18:21 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 9 Jun 2023 18:23:03 +0000 (19:23 +0100)
commitdc778190bc9ce68dc57ec54e730b797c63666d56
tree3b1a550dc143c591b392eac18c5830a9003ea11e
parentd05d886d22ed1f395d7d4ee47b2e2075b58fa9b9
generic: use only first element in bootconf for uImage.FIT

Now that it is possible to load several device tree overlays by
appending their config names to bootconf the uImage.FIT partition
parser need to discard everything after the first '#' character in
bootconf when looking up the config node to be used.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 07bca1adaa0de71d0aefcf83bff2e1d90616cd3d)
target/linux/generic/files/block/partitions/fit.c