summaryrefslogtreecommitdiff
path: root/src/vendorcode
diff options
context:
space:
mode:
authorJonathan Zhang <jonzhang@fb.com>2020-07-17 17:35:12 -0700
committerAngel Pons <th3fanbus@gmail.com>2020-08-11 20:15:30 +0000
commit89ed7900287f3f38134aead3647eb153787604d1 (patch)
treee04a34dcebc4ad4f87da43b83c01eb60fb6a057e /src/vendorcode
parentec886ec6fad3d34f6a9d22ab39871434cefdd219 (diff)
vendorcode/intel/fsp/fsp2_0/CPX-SP: remove non-existing PSTACKs
CPX-SP has a CSTACK and 3 PSTACKs. Clean up the HOB header file to remove reference to non-existing PSTACKs. Adjust mainboard code accordingly. Signed-off-by: Jonathan Zhang <jonzhang@fb.com> Change-Id: Ic52b01cd89fb5b3fce64686d91f017f405566acd Reviewed-on: https://review.coreboot.org/c/coreboot/+/44279 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Maxim Polyakov <max.senia.poliak@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/vendorcode')
-rw-r--r--src/vendorcode/intel/fsp/fsp2_0/cooperlake_sp/hob_iiouds.h27
1 files changed, 8 insertions, 19 deletions
diff --git a/src/vendorcode/intel/fsp/fsp2_0/cooperlake_sp/hob_iiouds.h b/src/vendorcode/intel/fsp/fsp2_0/cooperlake_sp/hob_iiouds.h
index a9465e1677..8f9a91a0e9 100644
--- a/src/vendorcode/intel/fsp/fsp2_0/cooperlake_sp/hob_iiouds.h
+++ b/src/vendorcode/intel/fsp/fsp2_0/cooperlake_sp/hob_iiouds.h
@@ -90,32 +90,23 @@ typedef struct {
IIO PCIe Ports
**/
typedef enum {
+ // IOU0, CSTACK
PORT_0 = 0,
- // IOU0
+ // IOU1, PSTACK0
PORT_1A,
PORT_1B,
PORT_1C,
PORT_1D,
- // IOU1
+ // IOU2, PSTACK1
PORT_2A,
PORT_2B,
PORT_2C,
PORT_2D,
- // IOU2
- PORT_4A,
- PORT_4B,
- PORT_4C,
- PORT_4D,
- // MCP0
- PORT_5A,
- PORT_5B,
- PORT_5C,
- PORT_5D,
- // MCP1
- PORT_6A,
- PORT_6B,
- PORT_6C,
- PORT_6D,
+ // IOU3, PSTACK2
+ PORT_3A,
+ PORT_3B,
+ PORT_3C,
+ PORT_3D,
MAX_PORTS
} PCIE_PORTS;
@@ -127,8 +118,6 @@ typedef enum {
PSTACK0,
PSTACK1,
PSTACK2,
- PSTACK3,
- PSTACK4,
MAX_STACKS
} IIO_STACKS;