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>
Mon, 5 Jun 2023 10:36:32 +0000 (11:36 +0100)
commit07bca1adaa0de71d0aefcf83bff2e1d90616cd3d
tree29dab5e3d381eecd691a46e54d3426fba3c05807
parent6b01d40bfedb42323a1324e1b5624f192a4c91de
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>
target/linux/generic/files/block/partitions/fit.c