diff --git a/system/x86/i2c.c b/system/x86/i2c.c index 166aa12..d892150 100644 --- a/system/x86/i2c.c +++ b/system/x86/i2c.c @@ -446,7 +446,7 @@ static bool fch_zen_get_smb(void) pm_reg |= __inb(AMD_DATA_IO_PORT); // Special case for AMD Family 19h & Extended Model > 4 (get smb address in memory) - if ((imc.family == IMC_K19_CZN || imc.family == IMC_K19_RPL || imc.family >= IMC_K1A_STP) && pm_reg == 0xFFFF) { + if ((imc.family == IMC_K19_CZN || imc.family == IMC_K19_PHX || imc.family == IMC_K19_RPL || imc.family >= IMC_K1A_STP) && pm_reg == 0xFFFF) { smbusbase = ((*(const uint32_t *)(0xFED80000 + 0x300) >> 8) & 0xFF) << 8; return true; } diff --git a/system/x86/memctrl.c b/system/x86/memctrl.c index b9e6964..efbef80 100644 --- a/system/x86/memctrl.c +++ b/system/x86/memctrl.c @@ -37,6 +37,7 @@ void memctrl_init(void) case IMC_K19_VRM: case IMC_K19_RPL: case IMC_K19_RBT: + case IMC_K19_PHX: case IMC_K1A_GRG: get_imc_config_amd_zen(); break;