[PATCH V3 04/11] board: ti: am62x: Set fdtfile from C code instead of findfdt script

Tom Rini trini at konsulko.com
Fri Feb 9 23:30:37 CET 2024


On Tue, Jan 30, 2024 at 07:06:08AM -0600, Nishanth Menon wrote:

> Stop using the findfdt script and switch to setting the fdtfile from
> C code.
> 
> While at this, replace findfdt in environment with a warning as it is
> no longer needed
> 
> Reviewed-by: Jonathan Humphreys <j-humphreys at ti.com>
> Reviewed-by: Roger Quadros <rogerq at kernel.org>
> Signed-off-by: Nishanth Menon <nm at ti.com>
> ---
> Changes in V3:
> - none other than picking up reviews.
> 
> V2: https://lore.kernel.org/r/20240109191506.3820908-4-nm@ti.com
> 
>  board/ti/am62x/am62x.env        | 1 -
>  board/ti/am62x/evm.c            | 8 ++++++++
>  configs/am62x_evm_a53_defconfig | 1 +
>  3 files changed, 9 insertions(+), 1 deletion(-)

This introduces:
+(am62x_evm_a53) board/ti/am62x/evm.c: In function 'board_late_init':
+(am62x_evm_a53) board/ti/am62x/evm.c:60:9: error: implicit declaration of function 'ti_set_fdt_env' [-Werror=implicit-function-declaration]
+(am62x_evm_a53)    60 |         ti_set_fdt_env(NULL, NULL);
+(am62x_evm_a53)       |         ^~~~~~~~~~~~~~
+(am62x_evm_a53) cc1: all warnings being treated as errors
+(am62x_evm_a53) make[2]: *** [scripts/Makefile.build:257: board/ti/am62x/evm.o] Error 1
+(am62x_evm_a53) make[1]: *** [Makefile:1859: board/ti/am62x] Error 2
+(am62x_evm_a53) 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/20240209/f4f0d8f1/attachment.sig>


More information about the U-Boot mailing list