Debian Codegraph @

src/vendorcode/amd/fsp/picasso/FspmUpd.h

raw symbols SCIP
1 /** @file
2 *
3 * This file is automatically generated.
4 *
5 */
6
7 #ifndef __FSPMUPD_H__
8 #define __FSPMUPD_H__
9
10 #include <FspUpd.h>
11
12 /** Fsp M Configuration
13 **/
14 typedef struct __packed {
15 /** Offset 0x0040**/ uint32_t pci_express_base_addr;
16 /** Offset 0x0044**/ uint32_t serial_port_base;
17 /** Offset 0x0048**/ uint32_t serial_port_use_mmio;
18 /** Offset 0x004C**/ uint32_t serial_port_stride;
19 /** Offset 0x0050**/ uint32_t serial_port_baudrate;
20 /** Offset 0x0054**/ uint32_t serial_port_refclk;
21 /** Offset 0x0058**/ uint32_t telemetry_vddcr_vdd_slope_mA;
22 /** Offset 0x005C**/ uint32_t telemetry_vddcr_vdd_slope2_mA;
23 /** Offset 0x0060**/ uint32_t telemetry_vddcr_vdd_slope3_mA;
24 /** Offset 0x0064**/ uint32_t telemetry_vddcr_vdd_slope4_mA;
25 /** Offset 0x0068**/ uint32_t telemetry_vddcr_vdd_slope5_mA;
26 /** Offset 0x006C**/ uint32_t telemetry_vddcr_vdd_offset;
27 /** Offset 0x0070**/ uint32_t telemetry_vddcr_soc_slope_mA;
28 /** Offset 0x0074**/ uint32_t telemetry_vddcr_soc_offset;
29 /** Offset 0x0078**/ uint8_t aa_mode_en;
30 /** Offset 0x0079**/ uint8_t unused2;
31 /** Offset 0x007A**/ uint8_t unused3;
32 /** Offset 0x007B**/ uint8_t unused4;
33 /** Offset 0x007C**/ uint32_t fast_ppt_limit_mW;
34 /** Offset 0x0080**/ uint32_t slow_ppt_limit_mW;
35 /** Offset 0x0084**/ uint32_t slow_ppt_time_constant_s;
36 /** Offset 0x0088**/ uint32_t psi0_current_limit_mA;
37 /** Offset 0x008C**/ uint32_t psi0_soc_current_limit_mA;
38 /** Offset 0x0090**/ uint32_t thermctl_limit_degreeC;
39 /** Offset 0x0094**/ uint32_t vrm_maximum_current_limit_mA;
40 /** Offset 0x0098**/ uint32_t vrm_soc_maximum_current_limit_mA;
41 /** Offset 0x009C**/ uint32_t sustained_power_limit_mW;
42 /** Offset 0x00A0**/ uint32_t stapm_time_constant_s;
43 /** Offset 0x00A4**/ uint32_t prochot_l_deassertion_ramp_time_ms;
44 /** Offset 0x00A8**/ uint32_t vrm_current_limit_mA;
45 /** Offset 0x00AC**/ uint32_t vrm_soc_current_limit_mA;
46 /** Offset 0x00B0**/ uint32_t vddcr_soc_voltage_margin_mV;
47 /** Offset 0x00B4**/ uint32_t vddcr_vdd_voltage_margin_mV;
48 /** Offset 0x00B8**/ uint32_t smu_feature_control_defines;
49 /** Offset 0x00BC**/ uint32_t smu_feature_control_defines_ext;
50 /** Offset 0x00C0**/ uint8_t sb_tsi_alert_comparator_mode_en;
51 /** Offset 0x00C1**/ uint8_t system_config;
52 /** Offset 0x00C2**/ uint8_t core_dldo_bypass;
53 /** Offset 0x00C3**/ uint8_t min_soc_vid_offset;
54 /** Offset 0x00C4**/ uint8_t aclk_dpm0_freq_400MHz;
55 /** Offset 0x00C5**/ uint8_t unused5;
56 /** Offset 0x00C6**/ uint8_t unused6;
57 /** Offset 0x00C7**/ uint8_t sata_enable;
58 /** Offset 0x00C8**/ uint32_t tseg_size;
59 /** Offset 0x00CC**/ uint8_t pspp_policy;
60 /** Offset 0x00CD**/ uint8_t audio_soundwire;
61 /** Offset 0x00CE**/ uint8_t hd_audio_enable;
62 /** Offset 0x00CF**/ uint8_t unused9;
63 /** Offset 0x00D0**/ uint32_t bert_size;
64 /** Offset 0x00D4**/ uint8_t UnusedUpdSpace0;
65 /** Offset 0x00D5**/ uint8_t ccx_down_core_mode;
66 /** Offset 0x00D6**/ uint8_t ccx_disable_smt;
67 /** Offset 0x00D7**/ uint8_t UnusedUpdSpace1;
68 /** Offset 0x00D8**/ uint8_t hdmi2_disable;
69 /** Offset 0x00DC**/ uint8_t UnusedUpdSpace2[39];
70 /** Offset 0x0100**/ uint16_t Reserved100;
71 /** Offset 0x0102**/ uint16_t UpdTerminator;
72 } FSP_M_CONFIG;
73
74 /** Fsp M UPD Configuration
75 **/
76 typedef struct __packed {
77 /** Offset 0x0000**/ FSP_UPD_HEADER FspUpdHeader;
78 /** Offset 0x0020**/ FSPM_ARCH_UPD FspmArchUpd;
79 /** Offset 0x0040**/ FSP_M_CONFIG FspmConfig;
80 } FSPM_UPD;
81
82 #define IMAGE_REVISION_MAJOR_VERSION 0x01
83 #define IMAGE_REVISION_MINOR_VERSION 0x00
84 #define IMAGE_REVISION_REVISION 0x02
85 #define IMAGE_REVISION_BUILD_NUMBER 0x04
86
87 #endif