Skip to contentSkip to conversation

verdin-imx8mp: drop unused tdx easy installer ifdef

PATCH In review Hiago De Franco 4 participants 4 messages Sep 4, 2023 – Oct 16, 2023 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 verdin-imx8mp: drop unused tdx easy installer ifdef

From: Hiago De Franco <[email protected]>

Drop unused code related to CONFIG_TDX_EASY_INSTALLER, that existed only on toradex downstream branch.

---
 include/configs/verdin-imx8mp.h | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)
include/configs/verdin-imx8mp.h +2 -8
index 942081ab84..d980bd66ae 100644
@@ -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" \
Signature · 1 line
2.40.1
Acked-by on v1 1/1
#1 lore raw

Hi Hiago

Thanks!

Quoted 6 lines · Hiago De Franco

From: Hiago De Franco <[email protected]>

Drop unused code related to CONFIG_TDX_EASY_INSTALLER, that existed only on toradex downstream branch.

Quoted 23 lines

---
 include/configs/verdin-imx8mp.h | 10 ++--------

 1 file changed, 2 insertions(+), 8 deletions(-)
include/configs/verdin-imx8mp.h +0 -0
index 942081ab84..d980bd66ae 100644
@@ -36,20 +36,14 @@
         func(DHCP, dhcp, na)
  #include <config_distro_bootcmd.h>

include/configs/verdin-imx8mp.h +0 -6
-#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" \

Quoted 8 lines

        "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

#3 lore raw

PATCH 1/1 verdin-imx8mp: drop unused tdx easy installer ifdef

In reply to Hiago De Franco
Quoted 5 lines

From: Hiago De Franco <[email protected]>
Drop unused code related to CONFIG_TDX_EASY_INSTALLER, that existed only on toradex downstream branch.

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,        Managing Director: Erika Unter  
HRB 165235 Munich,   Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================