[PATCH] state: suppress state overwrite warning for barebox DT
Sascha Hauer
s.hauer at pengutronix.de
Mon Apr 13 04:22:58 PDT 2026
On Mon, 13 Apr 2026 12:02:43 +0200, Ahmad Fatoum wrote:
> Nowadays, the root != of_get_root_node() check always evaluates to true,
> because fixups are never applied onto the barebox live tree directly,
> but at a copy. This was necessary to allow repeated fixups, e.g. by
> of_diff - + or with multiple boot targets.
>
> The check was useful to have though to differentiate between the case
> that the barebox DT is passed to Linux (where it's benign that the state
> node is overwritten) or the Linux DT having a state node (which can
> mislead as the kernel will be overwritten).
>
> [...]
Applied, thanks!
[1/1] state: suppress state overwrite warning for barebox DT
https://git.pengutronix.de/cgit/barebox/commit/?id=40e7f324b675 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list