9 #include <Proc/Fch/Fch.h>
10 #include <Proc/Fch/Common/FchCommonCfg.h>
11 #include <Proc/Fch/FchPlatform.h>
23 #if !CONFIG(SOUTHBRIDGE_AMD_AGESA_YANGTZE)
31 #if CONFIG(SOUTHBRIDGE_AMD_AGESA_YANGTZE)
35 PciAddress.AddressValue = MAKE_SBDFO (0, 0, 0x18, 0x3, 0x1E4);
36 LibAmdPciRead(
AccessWidth8, PciAddress, &PciData, &StdHeader);
37 PciData &= (UINT8)0x8F;
39 LibAmdPciWrite(
AccessWidth8, PciAddress, &PciData, &StdHeader);
53 for (i = 0; i <= 1; i++)
55 WriteECmsg(MSG_SYS_TO_IMC,
AccessWidth8, &FunNum, &StdHeader);
56 WaitForEcLDN9MailboxCmdAck(&StdHeader);
68 WriteECmsg(MSG_SYS_TO_IMC,
AccessWidth8, &FunNum, &StdHeader);
69 WaitForEcLDN9MailboxCmdAck(&StdHeader);
@ AccessWidth8
Access width is 8 bits.
static void pm2_write8(uint8_t reg, uint8_t value)
void enable_imc_thermal_zone(void)
The standard header for all AGESA services.