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.bossman...@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

Attachment: signature.asc
Description: PGP signature

Reply via email to