[PATCH] verdin-imx8mp: drop unused tdx easy installer ifdef

Marcel Ziswiler marcel.ziswiler at toradex.com
Mon Sep 4 15:37:49 CEST 2023


Hi Hiago

Thanks!

On Mon, 2023-09-04 at 10:24 -0300, Hiago De Franco wrote:
> From: Hiago De Franco <hiago.franco at toradex.com>
> 
> Drop unused code related to CONFIG_TDX_EASY_INSTALLER, that existed only on
> toradex downstream branch.
> 
> Signed-off-by: Hiago De Franco <hiago.franco at toradex.com>

Acked-by: Marcel Ziswiler <marcel.ziswiler at toradex.com>

> ---
>  include/configs/verdin-imx8mp.h | 10 ++--------
>  1 file changed, 2 insertions(+), 8 deletions(-)
> 
> diff --git a/include/configs/verdin-imx8mp.h b/include/configs/verdin-imx8mp.h
> index 942081ab84..d980bd66ae 100644
> --- a/include/configs/verdin-imx8mp.h
> +++ b/include/configs/verdin-imx8mp.h
> @@ -36,20 +36,14 @@
>         func(DHCP, dhcp, na)
>  #include <config_distro_bootcmd.h>
>  
> -#if defined(CONFIG_TDX_EASY_INSTALLER)
> -#  define BOOT_SCRIPT  "boot-tezi.scr"
> -#else
> -#  define BOOT_SCRIPT  "boot.scr"
> -#endif
> -
>  /* Initial environment variables */
>  #define CFG_EXTRA_ENV_SETTINGS \
>         BOOTENV \
>         MEM_LAYOUT_ENV_SETTINGS \
>         "bootcmd_mfg=fastboot 0\0" \
>         "boot_file=Image\0" \
> -       "boot_scripts=" BOOT_SCRIPT "\0" \
> -       "boot_script_dhcp=" BOOT_SCRIPT "\0" \
> +       "boot_scripts=boot.scr\0" \
> +       "boot_script_dhcp=boot.scr\0" \
>         "console=ttymxc2\0" \
>         "fdt_board=dev\0" \
>         "initrd_addr=0x43800000\0" \

Cheers

Marcel


More information about the U-Boot mailing list