ARM: imx: mx5: Simplify TFTP server layout on MX53 Menlo board
authorOlaf Mandel <o.mandel@menlosystems.com>
Tue, 21 May 2024 10:49:38 +0000 (12:49 +0200)
committerFabio Estevam <festevam@denx.de>
Fri, 24 May 2024 14:30:38 +0000 (11:30 -0300)
By removing the "boot" directory in the "m53menlo/boot/fitImage" path,
we simplify the TFTP server directory layout a bit. This also requires a
change to the mmcload command as it (mis-)uses the same variable as the
TFTP boot.

Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Marek Vasut <marex@denx.de>
configs/m53menlo_defconfig
include/configs/m53menlo.h

index 67805b1..db3a5b9 100644 (file)
@@ -72,7 +72,7 @@ CONFIG_ENV_RANGE=0x80000
 CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_USE_BOOTFILE=y
-CONFIG_BOOTFILE="boot/fitImage"
+CONFIG_BOOTFILE="fitImage"
 CONFIG_USE_ETHPRIME=y
 CONFIG_ETHPRIME="FEC0"
 CONFIG_USE_HOSTNAME=y
index 1ecbba1..9cf46b2 100644 (file)
        "addargs=run addcons addmisc addmtd\0"                          \
        "mmcload="                                                      \
                "mmc rescan || reset ; load mmc ${mmcdev}:${mmcpart} "  \
-               "${kernel_addr_r} ${bootfile} || reset\0"               \
+               "${kernel_addr_r} boot/${bootfile} || reset\0"          \
        "miscargs=nohlt panic=1\0"                                      \
        "mmcargs=setenv bootargs root=/dev/mmcblk0p${mmcpart} rw "      \
                "rootwait\0"                                            \