[PATCH v1] verdin-imx8mm: Remove stale fdt_addr env variable

From: Francesco Dolcini francesco.dolcini@toradex.com
fdt_addr variable is the location in flash of the device tree blob [1], it does not exist for verdin-imx8mm.
Because of this the bootefi command fails unless the optional `[fdt address]` parameter is passed on the command line, bootefi.c:efi_install_fdt() assumes that `fdt_addr` is valid when present.
Fix this removing fdt_addr from the U-Boot environment.
[1] doc/usage/environment.rst
Signed-off-by: Francesco Dolcini francesco.dolcini@toradex.com --- include/configs/verdin-imx8mm.h | 1 - 1 file changed, 1 deletion(-)
diff --git a/include/configs/verdin-imx8mm.h b/include/configs/verdin-imx8mm.h index 8072d5d503f2..a7ea02807ddf 100644 --- a/include/configs/verdin-imx8mm.h +++ b/include/configs/verdin-imx8mm.h @@ -40,7 +40,6 @@ "boot_file=Image\0" \ "boot_script_dhcp=boot.scr\0" \ "console=ttymxc0\0" \ - "fdt_addr=0x43000000\0" \ "fdt_board=dev\0" \ "initrd_addr=0x43800000\0" \ "initrd_high=0xffffffffffffffff\0" \

On Tue, Jan 2, 2024 at 9:12 AM Francesco Dolcini francesco@dolcini.it wrote:
From: Francesco Dolcini francesco.dolcini@toradex.com
fdt_addr variable is the location in flash of the device tree blob [1], it does not exist for verdin-imx8mm.
Because of this the bootefi command fails unless the optional `[fdt address]` parameter is passed on the command line, bootefi.c:efi_install_fdt() assumes that `fdt_addr` is valid when present.
Fix this removing fdt_addr from the U-Boot environment.
[1] doc/usage/environment.rst
Signed-off-by: Francesco Dolcini francesco.dolcini@toradex.com
Reviewed-by: Fabio Estevam festevam@gmail.com

On Tue, Jan 2, 2024 at 9:12 AM Francesco Dolcini francesco@dolcini.it wrote:
From: Francesco Dolcini francesco.dolcini@toradex.com
fdt_addr variable is the location in flash of the device tree blob [1], it does not exist for verdin-imx8mm.
Because of this the bootefi command fails unless the optional `[fdt address]` parameter is passed on the command line, bootefi.c:efi_install_fdt() assumes that `fdt_addr` is valid when present.
Fix this removing fdt_addr from the U-Boot environment.
[1] doc/usage/environment.rst
Signed-off-by: Francesco Dolcini francesco.dolcini@toradex.com
Applied, thanks.
participants (2)
-
Fabio Estevam
-
Francesco Dolcini