]> git.baikalelectronics.ru Git - uboot.git/commit
image-fdt: save name of FIT configuration in '/chosen' node
authorDaniel Golle <daniel@makrotopia.org>
Tue, 12 Apr 2022 20:00:43 +0000 (21:00 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 19 Apr 2022 18:51:11 +0000 (14:51 -0400)
commitf15ef5d61f44400695e3ed5829b076009f6df6be
tree045e74fd37cc3bd6547100189d4119ad6e7ea1f4
parent7e733004102ccf78761460d6940973340e5e4953
image-fdt: save name of FIT configuration in '/chosen' node

It can be useful for the OS (Linux) to know which configuration has
been chosen by U-Boot when launching a FIT image.
Store the name of the FIT configuration node used in a new string
property called 'u-boot,bootconf' in the '/chosen' node in device tree.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
boot/image-fdt.c