]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
verdin-imx8mm: Remove stale fdt_addr env variable
authorFrancesco Dolcini <francesco.dolcini@toradex.com>
Tue, 2 Jan 2024 12:12:07 +0000 (13:12 +0100)
committerFabio Estevam <festevam@gmail.com>
Mon, 8 Jan 2024 17:34:34 +0000 (14:34 -0300)
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>
include/configs/verdin-imx8mm.h

index 8072d5d503f27ceba15f91e8c7f43ffcddee3df2..a7ea02807ddfd0a0b7567616ac22dc9c5d170db2 100644 (file)
@@ -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" \