
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@ti.com Reviewed-by: Roger Quadros rogerq@kernel.org Signed-off-by: Nishanth Menon nm@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