[PATCH v1] of: add sanity check for machine compatible string
Sascha Hauer
s.hauer at pengutronix.de
Thu May 30 06:27:11 PDT 2024
On Wed, 29 May 2024 11:33:08 +0200, Oleksij Rempel wrote:
> Add a sanity check in of_get_machine_compatible to ensure we fall back
> to the default hostname "barebox" when the machine compatible string is
> empty. This prevents scenarios where no hostname is set, which can occur
> when starting an STM32 version of Barebox as a second stage on top of
> Barebox prior to commit 1da26bfb9da2 ("common: don't fixup empty serial/
> machine_compatible strings"). This fallback makes debugging easier in
> case someone faces a similar issue.
>
> [...]
Applied, thanks!
[1/1] of: add sanity check for machine compatible string
https://git.pengutronix.de/cgit/barebox/commit/?id=6edcb98c0dd5 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list