Revert "src/cpu,soc/amd/common/block/cpu: Add preload_microcode"

This reverts commit 4b5a490b6f.

Reason for revert: This effort was apparently given up on since 4 years.
So remove the function, since it is not used at the moment. If someone
wants to bring that effort back to live, said person can feel free to do
so.

Change-Id: I26d5c9fbfd6eae24f876d857a6e952ca0d1a64ae
Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/87066
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
This commit is contained in:
Maximilian Brune 2025-04-01 16:52:37 +02:00 committed by Matt DeVillier
commit aec4a9b2e5
3 changed files with 0 additions and 19 deletions

View file

@ -119,16 +119,3 @@ void amd_free_microcode(void)
ucode = NULL;
}
}
void preload_microcode(void)
{
if (!CONFIG(CBFS_PRELOAD))
return;
char name[] = CPU_MICROCODE_BLOB_NAME;
uint16_t equivalent_processor_rev_id = get_equivalent_processor_rev_id();
snprintf(name, sizeof(name), CPU_MICROCODE_BLOB_FORMAT, equivalent_processor_rev_id);
printk(BIOS_DEBUG, "Preloading microcode %s\n", name);
cbfs_preload(name);
}