arm: k3: drop redundant tifsstub runtime filter

With all AM62x family boards (TI EVMs, phytec phycore, toradex
verdin) now using per-security-state FIT configurations and selecting
the right one via board_fit_config_name_match(), the runtime filter
in board_fit_image_post_process() that zero'd out *p_size for the
wrong tifsstub variant is no longer reached. Only one tifsstub
variant is present in the selected FIT configuration, and it is
always the correct one for the current silicon.

Drop the filter so board_fit_image_post_process() simply debug-logs
the variant name and returns.

Acked-by: Neha Malcom Francis <n-francis@ti.com>
Reviewed-by: Anshul Dalal <anshuld@ti.com>
Signed-off-by: Aristo Chen <aristo.chen@canonical.com>
This commit is contained in:
Aristo Chen
2026-07-16 12:03:40 -06:00
committed by Tom Rini
parent feb2b13377
commit a5567f4669
+1 -13
View File
@@ -348,19 +348,7 @@ void board_fit_image_post_process(const void *fit, int node, void **p_image,
}
if (i < IMAGE_AMT && i > IMAGE_ID_DM_FW) {
int device_type = get_device_type();
if ((device_type == K3_DEVICE_TYPE_HS_SE &&
strcmp(os, "tifsstub-hs")) ||
(device_type == K3_DEVICE_TYPE_HS_FS &&
strcmp(os, "tifsstub-fs")) ||
(device_type == K3_DEVICE_TYPE_GP &&
strcmp(os, "tifsstub-gp"))) {
*p_size = 0;
} else {
debug("tifsstub-type: %s\n", os);
}
debug("tifsstub-type: %s\n", os);
return;
}