[PATCH v1] configs: imxrt1050-evk: enable distro bootcmd
Tom Rini
trini at konsulko.com
Mon Sep 18 16:12:39 CEST 2023
On Sun, Sep 17, 2023 at 11:47:34PM -0400, Jesse Taube wrote:
> Add support to boot from script.scr from mmc.
>
> imxrt1050-evk was not able to boot from script.scr because we did not
> include config_distro_bootcmd.h and set the device to mmc.
>
> Signed-off-by: Jesse Taube <Mr.Bossman075 at gmail.com>
A few things. In general, we should be switching to standard boot
instead of the script-based distro_bootcmd. Second:
> +/* Config distro_bootcmd */
> +#ifndef CONFIG_SPL_BUILD
> +#define BOOT_TARGET_DEVICES(func) \
> + func(MMC, mmc, 0)
> +#include <config_distro_bootcmd.h>
> +#endif
It's not allowed to use checks for CONFIG_SPL_BUILD like this.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230918/11bd3f1f/attachment.sig>
More information about the U-Boot
mailing list