mirror of
https://github.com/memtest86plus/memtest86plus.git
synced 2025-02-25 18:55:23 -06:00
Fuse HYGON and AMD because the SMB controllor is strictly identical on both
This commit is contained in:
parent
e86b04a14a
commit
106eabef98
@ -1264,6 +1264,7 @@ static bool find_smb_controller(uint16_t vid, uint16_t did)
|
||||
return false;
|
||||
}
|
||||
|
||||
case VID_HYGON:
|
||||
case VID_AMD:
|
||||
switch(did)
|
||||
{
|
||||
@ -1285,18 +1286,6 @@ static bool find_smb_controller(uint16_t vid, uint16_t did)
|
||||
}
|
||||
break;
|
||||
|
||||
case VID_HYGON:
|
||||
switch(did)
|
||||
{
|
||||
case 0x780B: // AMD FCH (Pre-Zen)
|
||||
return amd_sb_get_smb();
|
||||
case 0x790B: // AMD FCH (Zen 2/3)
|
||||
return fch_zen_get_smb();
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
|
||||
case VID_ATI:
|
||||
switch(did)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user