Add support for Zen4/AM5 DDR5 SPD

This commit is contained in:
Sam Demeulemeester
2022-09-09 18:09:13 +02:00
parent f265d1f1c5
commit 03a5222ee2
3 changed files with 8 additions and 5 deletions

View File

@@ -296,10 +296,12 @@ static void determine_imc(void)
imc_type = IMC_K18; // Hygon (Family 18h)
break;
case 0xA:
if(cpuid_info.version.extendedModel == 5) {
if (cpuid_info.version.extendedModel == 5) {
imc_type = IMC_K19_CZN; // AMD Cezanne APU (Model 0x50-5F - Family 19h)
} else if (cpuid_info.version.extendedModel >= 6) {
imc_type = IMC_K19_RPL; // Zen4 (Family 19h)
} else {
imc_type = IMC_K19; // Zen3 & Zen4 (Family 19h)
imc_type = IMC_K19; // Zen3 (Family 19h)
}
default:
break;