[PATCH] dtc: introduce label relative path references
Tom Rini
trini at konsulko.com
Sat Mar 29 01:05:53 CET 2025
On Fri, Mar 28, 2025 at 05:31:15PM +0100, Patrice Chotard wrote:
> Since introduction of OF_UPSTREAM flag, U-Boot's dtc must be able
> to compile Kernel's device tree.
>
> Since kernel commit 7de129f5389b ("ARM: dts: stm32: stm32mp151a-prtt1l:
> Fix QSPI configuration"), label relative path references has been
> introduced. These label relative path references is not supported
> by current U-Boot dtc version 1.5.0: (see mailing list discussion [1]).
>
> In order to support such label relative patch references
> adds following commit from upstream DTC tree:
>
> commit 651410e54cb9 ("util: introduce xstrndup helper")
> commit ec7986e682cf ("dtc: introduce label relative path references")
>
> [1] https://lore.kernel.org/all/20250115144428.GZ3476@bill-the-cat/T/
>
> Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.com>
> Cc: Tom Rini <trini at konsulko.com>
> Cc: Simon Glass <sjg at chromium.org>
Thanks for digging at this more. It would be good to make ourselves
compliant enough to move to newer dtc wholesale, and it is a
longstanding issue, but it's also as you saw not easy.
Reviewed-by: Tom Rini <trini at konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250328/2fde4962/attachment.sig>
More information about the U-Boot
mailing list