[PATCH master] boards: qemu-virt: rescan aliases after merging DT fragment

Sascha Hauer sha at pengutronix.de
Tue Sep 12 01:46:35 PDT 2023


On Mon, Sep 11, 2023 at 06:22:37PM +0200, Ahmad Fatoum wrote:
> barebox now compiles an initially empty device tree that's combined with
> the device tree passed by Qemu. That device tree can hold the FIT public
> key or if CONFIG_EXTERNAL_DTS_FRAGMENTS is enabled, device tree nodes
> passed at build time. If this device tree fragment adds an alias, it
> won't be registered, which can be surprising. Therefore call
> of_alias_scan after merging the device trees.
> 
> Fixes: 484a0d281408 ("boards: qemu-virt: support passing in FIT public key")
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
>  common/boards/qemu-virt/board.c | 3 +++
>  1 file changed, 3 insertions(+)

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list