Ana Carolina Cabral has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/85495?usp=email )
Change subject: mb/amd/birman_plus: port_descriptors ......................................................................
mb/amd/birman_plus: port_descriptors
Correct configuration flags based on previous patch.
Change-Id: I7bd66586504d869fe0ec01c9257fd506bab2763f Signed-off-by: Ana Carolina Cabral ana.cabral@amd.com --- M src/mainboard/amd/birman_plus/port_descriptors_glinda.c M src/mainboard/amd/birman_plus/port_descriptors_phoenix.c 2 files changed, 8 insertions(+), 8 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/85495/1
diff --git a/src/mainboard/amd/birman_plus/port_descriptors_glinda.c b/src/mainboard/amd/birman_plus/port_descriptors_glinda.c index ae6f668..3fa2e9f 100644 --- a/src/mainboard/amd/birman_plus/port_descriptors_glinda.c +++ b/src/mainboard/amd/birman_plus/port_descriptors_glinda.c @@ -41,7 +41,7 @@ .engine_type = PCIE_ENGINE, \ .port_present = true, \ .start_logical_lane = 15, \ - .end_logical_lane = 15, \ + .end_logical_lane = CONFIG(ENABLE_WLAN02_BIRMANPLUS) ? 14 : 15, \ .device_number = 2, \ .function_number = 2, \ .link_speed_capability = GEN_MAX, \ @@ -55,7 +55,7 @@ .engine_type = PCIE_ENGINE, \ .port_present = true, \ .start_logical_lane = 12, \ - .end_logical_lane = 12, \ + .end_logical_lane = CONFIG(ENABLE_WWAN02_BIRMANPLUS) ? 13 : 12, \ .device_number = 2, \ .function_number = 5, \ .link_speed_capability = GEN_MAX, \ @@ -68,7 +68,7 @@
#define glinda_gbe_dxio_descriptor { \ .engine_type = PCIE_ENGINE, \ - .port_present = true, \ + .port_present = CONFIG(ENABLE_GBE_BIRMANPLUS), \ .start_logical_lane = 13, \ .end_logical_lane = 13, \ .device_number = 2, \ @@ -83,7 +83,7 @@
#define glinda_sd_dxio_descriptor { \ .engine_type = PCIE_ENGINE, \ - .port_present = true, \ + .port_present = CONFIG(ENABLE_SDCARD_BIRMANPLUS), \ .start_logical_lane = 14, \ .end_logical_lane = 14, \ .device_number = 2, \ diff --git a/src/mainboard/amd/birman_plus/port_descriptors_phoenix.c b/src/mainboard/amd/birman_plus/port_descriptors_phoenix.c index dc23790..3ec4bb9 100644 --- a/src/mainboard/amd/birman_plus/port_descriptors_phoenix.c +++ b/src/mainboard/amd/birman_plus/port_descriptors_phoenix.c @@ -40,7 +40,7 @@ .engine_type = PCIE_ENGINE, \ .port_present = true, \ .start_lane = 15, \ - .end_lane = 15, \ + .end_lane = CONFIG(ENABLE_WLAN02_BIRMANPLUS) ? 14 : 15, \ .device_number = 2, \ .function_number = 2, \ .link_speed_capability = GEN_MAX, \ @@ -69,7 +69,7 @@ .engine_type = PCIE_ENGINE, \ .port_present = true, \ .start_lane = 12, \ - .end_lane = 12, \ + .end_lane = CONFIG(ENABLE_WWAN02_BIRMANPLUS) ? 13 : 12, \ .device_number = 2, \ .function_number = 3, \ .link_speed_capability = GEN_MAX, \ @@ -82,7 +82,7 @@
#define gbe_dxio_descriptor { \ .engine_type = PCIE_ENGINE, \ - .port_present = true, \ + .port_present = CONFIG(ENABLE_GBE_BIRMANPLUS), \ .start_lane = 13, \ .end_lane = 13, \ .device_number = 1, \ @@ -97,7 +97,7 @@
#define sd_dxio_descriptor { \ .engine_type = PCIE_ENGINE, \ - .port_present = false, \ + .port_present = CONFIG(ENABLE_SDCARD_BIRMANPLUS), \ .start_lane = 14, \ .end_lane = 14, \ .device_number = 2, \