diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2023-07-13 00:58:36 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-07-14 16:49:37 +0000 |
commit | d1c33aeef4f8effbaacc54be99f9b7c5dd9fbcc5 (patch) | |
tree | 8eb76945fa05c9ee9dec2fe8aad0ffc732510e77 /src/mainboard/amd/mayan | |
parent | e479b3e356fae73b10deb147005c2e2a6be72d91 (diff) |
mb/amd,google/*/port_descriptors: use dxio_link_hotplug_type enum values
Use the proper dxio_link_hotplug_type enum values for the link_hotplug
field in the DXIO descriptors to replace the magic values in the code.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Ieb1513737e6022a668287dc80a39d96cda2b18d5
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76439
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/amd/mayan')
-rw-r--r-- | src/mainboard/amd/mayan/port_descriptors.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/amd/mayan/port_descriptors.c b/src/mainboard/amd/mayan/port_descriptors.c index c2e267c7cc..7d14e8c52c 100644 --- a/src/mainboard/amd/mayan/port_descriptors.c +++ b/src/mainboard/amd/mayan/port_descriptors.c @@ -22,7 +22,7 @@ static const fsp_dxio_descriptor mayan_dxio_descriptors[] = { .link_aspm = ASPM_L1, .link_aspm_L1_1 = true, .link_aspm_L1_2 = true, - .link_hotplug = false, + .link_hotplug = HOTPLUG_DISABLED, .gpio_group_id = 4, .clk_pm_support = true, .clk_req = CLK_REQ0, @@ -42,7 +42,7 @@ static const fsp_dxio_descriptor mayan_dxio_descriptors[] = { .link_aspm = ASPM_L1, .link_aspm_L1_1 = true, .link_aspm_L1_2 = true, - .link_hotplug = false, + .link_hotplug = HOTPLUG_DISABLED, .gpio_group_id = 27, .clk_pm_support = true, .clk_req = CLK_REQ4, @@ -62,7 +62,7 @@ static const fsp_dxio_descriptor mayan_dxio_descriptors[] = { .link_aspm = ASPM_L1, .link_aspm_L1_1 = true, .link_aspm_L1_2 = true, - .link_hotplug = false, + .link_hotplug = HOTPLUG_DISABLED, .clk_pm_support = true, .clk_req = CLK_REQ2, .eq_preset = 3, @@ -81,7 +81,7 @@ static const fsp_dxio_descriptor mayan_dxio_descriptors[] = { .link_aspm = ASPM_L1, .link_aspm_L1_1 = true, .link_aspm_L1_2 = true, - .link_hotplug = false, + .link_hotplug = HOTPLUG_DISABLED, .clk_pm_support = true, .clk_req = CLK_REQ1, .eq_preset = 3, |