Skip to contentSkip to conversation

verdin-imx8mm: Remove stale fdt_addr env variable

PATCH Applied Francesco Dolcini 2 participants 3 messages Jan 2, 2024 – Jan 8, 2024 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 verdin-imx8mm: Remove stale fdt_addr env variable

From: Francesco Dolcini <[email protected]>

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

---
 include/configs/verdin-imx8mm.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/verdin-imx8mm.h +0 -1
index 8072d5d503f2..a7ea02807ddf 100644
@@ -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" \
Signature · 1 line
2.39.2
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Francesco Dolcini

From: Francesco Dolcini <[email protected]>

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.

Quoted 5 lines

Fix this removing fdt_addr from the U-Boot environment.

[1] doc/usage/environment.rst

reviewer Applied
#2 lore raw
In reply to Francesco Dolcini
Quoted 11 lines · Francesco Dolcini

From: Francesco Dolcini <[email protected]>

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.

Quoted 5 lines

Fix this removing fdt_addr from the U-Boot environment.

[1] doc/usage/environment.rst

Applied, thanks.