[PATCH v3 4/5] dm: core: Modify default for OFNODE_MULTI_TREE

Tom Rini trini at konsulko.com
Thu Nov 2 23:06:18 CET 2023


On Tue, Sep 12, 2023 at 02:35:03PM -0700, seanedmond at linux.microsoft.com wrote:

> From: Sean Edmond <seanedmond at microsoft.com>
> 
> There is a preference to use the "ofnode" API for FDT fixups
> moving forward.  The FDT fixup will usually be for the kernel FDT.  To
> fixup the kernel FDT with the ofnode API, it's required to set the
> OFNODE_MULTI_TREE option.
> 
> To ensure existing users of kaslr fdt fixup are not impacted, Let's modify
> the default value for OFNODE_MULTI_TREE to ensure it's always set if
> !OF_LIVE.  This will cause a 1007 byte increase in the code size.
> 
> Signed-off-by: Sean Edmond <seanedmond at microsoft.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> ---
>  drivers/core/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

This leads to failure to build such as:
Building current source for 1 boards (1 thread, 12 jobs per thread)
       arm:  +   integratorap_cm946es
+(integratorap_cm946es) arm-linux-gnueabi-ld.bfd: common/board_r.o: in function `initr_dm':
+(integratorap_cm946es) common/board_r.c:231:(.text.initr_dm+0x4): undefined reference to `oftree_reset'
+(integratorap_cm946es) make[1]: *** [Makefile:1765: u-boot] Error 1
+(integratorap_cm946es) make: *** [Makefile:177: sub-make] Error 2
 
-- 
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/20231102/8835ba46/attachment.sig>


More information about the U-Boot mailing list