[U-Boot] [PATCH v1 2/2] apalis_imx6: use distroboot by default

Oleksandr Suvorov cryosay at gmail.com
Tue Aug 27 09:31:23 UTC 2019


On Fri, Aug 23, 2019 at 8:01 PM Igor Opaniuk <igor.opaniuk at gmail.com> wrote:
>
> From: Igor Opaniuk <igor.opaniuk at toradex.com>
>
> Use distro_bootcmd as defauult bootcmd instead of legacy wrappers.
>
> Signed-off-by: Igor Opaniuk <igor.opaniuk at toradex.com>

In general:
Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov at toradex.com>

But if you will push a new version, please fix the typo in comment msg:
s/defauult/default/

> ---
>
>  include/configs/apalis_imx6.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h
> index 974571df43..736ebb60ce 100644
> --- a/include/configs/apalis_imx6.h
> +++ b/include/configs/apalis_imx6.h
> @@ -102,6 +102,7 @@
>
>  #ifndef CONFIG_SPL_BUILD
>  #define BOOT_TARGET_DEVICES(func) \
> +       func(MMC, mmc, 0) \
>         func(MMC, mmc, 1) \
>         func(MMC, mmc, 2) \
>         func(USB, usb, 0) \
> @@ -184,8 +185,7 @@
>  #endif
>  #define CONFIG_EXTRA_ENV_SETTINGS \
>         BOOTENV \
> -       "bootcmd=run emmcboot ; echo ; echo emmcboot failed ; " \
> -               "setenv fdtfile ${fdt_file}; run distro_bootcmd ; " \
> +       "bootcmd=setenv fdtfile ${fdt_file}; run distro_bootcmd ; " \
>                 "usb start ; " \
>                 "setenv stdout serial,vga ; setenv stdin serial,usbkbd\0" \
>         "boot_file=zImage\0" \
> --
> 2.17.1
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot



-- 
Best regards

Oleksandr Suvorov
cryosay at gmail.com


More information about the U-Boot mailing list