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>
}
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;
}