fdt: Add U-Boot version to chosen node
authorFrancesco Dolcini <francesco.dolcini@toradex.com>
Thu, 19 May 2022 14:22:26 +0000 (16:22 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 3 Jun 2022 15:15:24 +0000 (11:15 -0400)
commit622ecee93a604c017aca23906c5cc903b4002b78
tree492c7a5f9d353af6df519c96672298926de85fce
parentb85d130ea0cac152c21ec38ac9417b31d41b5552
fdt: Add U-Boot version to chosen node

Add a new device tree property "u-boot,version" in the chosen node to
pass the U-Boot version to the operating system.
This can be useful to implement a firmware upgrade procedure from the
operating system.

Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/fdt_support.c