/* @type: OS type (IH_OS_...) @comp_type: Compression type being used (IH_COMP_...) @is_xip: true if the load address matches the image start  */
static void print_decomp_msg(int comp_type, int type, bool is_xip)
/* @type: OS type (IH_OS_...) @comp_type: Compression type being used (IH_COMP_...) @is_xip: true if the load address matches the image start  */
static void print_decomp_msg(int comp_type, int type, bool is_xip)
{
	const char *name = genimg_get_type_name(type);
	if (comp_type == IH_COMP_NONE)
		printf("   %s %s\n", is_xip ? "XIP" : "Loading", name);
	else
		printf("   Uncompressing %s\n", name);
}