From 1125e291fbc5ee977a296065d24694a4861785fa Mon Sep 17 00:00:00 2001
From: Sean Anderson <sean.anderson@seco.com>
Date: Fri, 27 Oct 2023 16:07:40 -0400
Subject: [PATCH] bootm: Enable legacy VxWorks booting from FITs

This works without issue, so don't fail.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
---
 boot/bootm_os.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/boot/bootm_os.c b/boot/bootm_os.c
index 9c035b5be8..30296eb27d 100644
--- a/boot/bootm_os.c
+++ b/boot/bootm_os.c
@@ -317,13 +317,6 @@ static int do_bootm_vxworks_legacy(int flag, int argc, char *const argv[],
 	if (flag != BOOTM_STATE_OS_GO)
 		return 0;
 
-#if defined(CONFIG_FIT)
-	if (!images->legacy_hdr_valid) {
-		fit_unsupported_reset("VxWorks");
-		return 1;
-	}
-#endif
-
 	do_bootvx_fdt(images);
 
 	return 1;
-- 
2.39.5