8 #include <FchPlatform.h>
49 {(UINT32)0x0FFFFFFFF, (CODEC_ENTRY*)0x0FFFFFFFFUL}
52 #define FAN_INPUT_INTERNAL_DIODE 0
53 #define FAN_INPUT_TEMP0 1
54 #define FAN_INPUT_TEMP1 2
55 #define FAN_INPUT_TEMP2 3
56 #define FAN_INPUT_TEMP3 4
57 #define FAN_INPUT_TEMP0_FILTER 5
58 #define FAN_INPUT_ZERO 6
59 #define FAN_INPUT_DISABLED 7
61 #define FAN_AUTOMODE (1 << 0)
62 #define FAN_LINEARMODE (1 << 1)
63 #define FAN_STEPMODE ~(1 << 1)
64 #define FAN_POLARITY_HIGH (1 << 2)
65 #define FAN_POLARITY_LOW ~(1 << 2)
68 #define FREQ_28KHZ 0x0
69 #define FREQ_25KHZ 0x1
70 #define FREQ_23KHZ 0x2
71 #define FREQ_21KHZ 0x3
72 #define FREQ_29KHZ 0x4
73 #define FREQ_18KHZ 0x5
74 #define FREQ_100HZ 0xF7
75 #define FREQ_87HZ 0xF8
76 #define FREQ_58HZ 0xF9
77 #define FREQ_44HZ 0xFA
78 #define FREQ_35HZ 0xFB
79 #define FREQ_29HZ 0xFC
80 #define FREQ_22HZ 0xFD
81 #define FREQ_14HZ 0xFE
82 #define FREQ_11HZ 0xFF
86 FchParams_reset->LegacyFree =
CONFIG(HUDSON_LEGACY_FREE);
87 FchParams_reset->Mode = 6;
91 printk(
BIOS_DEBUG,
"Force SATA 3Gbps mode = %x\n", FchParams_reset->SataSetMaxGen2);
97 FchParams_env->Azalia.AzaliaOemCodecTablePtr = (CODEC_TBL_LIST *)(&
CodecTableList[0]);
100 FchParams_env->Imc.ImcEnable = FALSE;
101 FchParams_env->Hwm.HwMonitorEnable = FALSE;
102 FchParams_env->Hwm.HwmFchtsiAutoPoll = FALSE;
107 switch ((SATA_CLASS)FchParams_env->Sata.SataClass) {
112 FchParams_env->Sata.SataIdeMode = FALSE;
113 printk(
BIOS_DEBUG,
"AHCI or RAID or IDE = %x\n", FchParams_env->Sata.SataClass);
117 case SataIde2Ahci7804:
119 FchParams_env->Sata.SataIdeMode = TRUE;
#define printk(level,...)
AGESA_STATUS agesa_RunFuncOnAp(UINT32 Func, UINTN Data, VOID *ConfigPtr)
AGESA_STATUS agesa_EmptyIdsInitData(UINT32 Func, UINTN Data, VOID *ConfigPtr)
AGESA_STATUS agesa_NoopUnsupported(UINT32 Func, UINTN Data, VOID *ConfigPtr)
AGESA_STATUS agesa_NoopSuccess(UINT32 Func, UINTN Data, VOID *ConfigPtr)
AGESA_STATUS agesa_Reset(UINT32 Func, UINTN Data, VOID *ConfigPtr)
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
const int BiosCalloutsLen
const BIOS_CALLOUT_STRUCT BiosCallouts[]
void board_FCH_InitReset(struct sysinfo *cb_NA, FCH_RESET_DATA_BLOCK *FchParams_reset)
void board_FCH_InitEnv(struct sysinfo *cb_NA, FCH_DATA_BLOCK *FchParams_env)
static const CODEC_TBL_LIST CodecTableList[]
const CODEC_ENTRY Alc887_VerbTbl[]
CODEC Initialization Table for Azalia HD Audio using Realtek ALC887-VD chip (from linux,...
AGESA_STATUS agesa_GfxGetVbiosImage(UINT32 Func, UINTN FchData, VOID *ConfigPrt)
unsigned int get_uint_option(const char *name, const unsigned int fallback)
AGESA_STATUS agesa_ReadSpd(uint32_t Func, uintptr_t Data, void *ConfigPtr)