summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/coffeelake_rvp
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2019-10-02 16:02:06 +0200
committerNico Huber <nico.h@gmx.de>2020-08-23 09:57:02 +0000
commit119ace0908b66b718c4b581423309648b10e4bf7 (patch)
treeb9ed4510a9081065c35af99a06446a74b3db82c1 /src/mainboard/intel/coffeelake_rvp
parent2b9035ed6e51fe835b85dd626e655e1d3901e7ea (diff)
downloadcoreboot-119ace0908b66b718c4b581423309648b10e4bf7.tar.xz
soc/intel/cnl: Configure FSP option PcieRpSlotImplemented
Allow configuring FSP option PcieRpSlotImplemented. Also, update all related devicetrees and configure PcieRpSlotImplemented to keep the current behaviour. Change-Id: I6c57ab0ae50a37cd9a90786134e9056851a86a3c Signed-off-by: Nico Huber <nico.huber@secunet.com> Signed-off-by: Felix Singer <felix.singer@secunet.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39986 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/mainboard/intel/coffeelake_rvp')
-rw-r--r--src/mainboard/intel/coffeelake_rvp/variants/cfl_h/overridetree.cb12
-rw-r--r--src/mainboard/intel/coffeelake_rvp/variants/cfl_s/overridetree.cb32
-rw-r--r--src/mainboard/intel/coffeelake_rvp/variants/cfl_u/overridetree.cb12
-rw-r--r--src/mainboard/intel/coffeelake_rvp/variants/cml_u/overridetree.cb12
-rw-r--r--src/mainboard/intel/coffeelake_rvp/variants/whl_u/overridetree.cb12
5 files changed, 60 insertions, 20 deletions
diff --git a/src/mainboard/intel/coffeelake_rvp/variants/cfl_h/overridetree.cb b/src/mainboard/intel/coffeelake_rvp/variants/cfl_h/overridetree.cb
index 989b5cd4ea..a1455848e9 100644
--- a/src/mainboard/intel/coffeelake_rvp/variants/cfl_h/overridetree.cb
+++ b/src/mainboard/intel/coffeelake_rvp/variants/cfl_h/overridetree.cb
@@ -99,12 +99,18 @@ chip soc/intel/cannonlake
device pci 19.1 off end # I2C #5 (Not available on PCH-H)
device pci 19.2 on end # UART #2
device pci 1a.0 on end # eMMC
- device pci 1c.0 on end # PCI Express Port 1 x4 SLOT1
- device pci 1c.4 on end # PCI Express Port 5 x1 SLOT2/LAN
+ device pci 1c.0 on # PCI Express Port 1 x4 SLOT1
+ register "PcieRpSlotImplemented[0]" = "1"
+ end
+ device pci 1c.4 on # PCI Express Port 5 x1 SLOT2/LAN
+ register "PcieRpSlotImplemented[4]" = "1"
+ end
device pci 1c.5 off end # PCI Express Port 6
device pci 1c.6 off end # PCI Express Port 7
device pci 1c.7 off end # PCI Express Port 8
- device pci 1d.0 on end # PCI Express Port 9
+ device pci 1d.0 on # PCI Express Port 9
+ register "PcieRpSlotImplemented[8]" = "1"
+ end
device pci 1d.4 off end # PCI Express Port 13
device pci 1d.5 off end # PCI Express Port 14
device pci 1d.6 off end # PCI Express Port 15
diff --git a/src/mainboard/intel/coffeelake_rvp/variants/cfl_s/overridetree.cb b/src/mainboard/intel/coffeelake_rvp/variants/cfl_s/overridetree.cb
index a63d4c0364..a876994bfa 100644
--- a/src/mainboard/intel/coffeelake_rvp/variants/cfl_s/overridetree.cb
+++ b/src/mainboard/intel/coffeelake_rvp/variants/cfl_s/overridetree.cb
@@ -107,12 +107,18 @@ chip soc/intel/cannonlake
device pci 19.1 off end # I2C #5 (Not available on PCH-H)
device pci 19.2 on end # UART #2
device pci 1a.0 on end # eMMC
- device pci 1c.0 on end # PCI Express Port 1
- device pci 1c.4 on end # PCI Express Port 5
+ device pci 1c.0 on # PCI Express Port 1
+ register "PcieRpSlotImplemented[0]" = "1"
+ end
+ device pci 1c.4 on # PCI Express Port 5
+ register "PcieRpSlotImplemented[4]" = "1"
+ end
device pci 1c.5 off end # PCI Express Port 6
device pci 1c.6 off end # PCI Express Port 7
device pci 1c.7 off end # PCI Express Port 8
- device pci 1d.0 on end # PCI Express Port 9 x4 SLOT 1
+ device pci 1d.0 on # PCI Express Port 9 x4 SLOT 1
+ register "PcieRpSlotImplemented[8]" = "1"
+ end
device pci 1d.1 off end # PCI Express Port 10
device pci 1d.2 off end # PCI Express Port 11
device pci 1d.3 off end # PCI Express Port 12
@@ -120,11 +126,21 @@ chip soc/intel/cannonlake
device pci 1d.5 off end # PCI Express Port 14
device pci 1d.6 off end # PCI Express Port 15
device pci 1d.7 off end # PCI Express Port 16
- device pci 1b.0 on end # PCI Express Port 17
- device pci 1b.1 on end # PCI Express Port 18
- device pci 1b.2 on end # PCI Express Port 19
- device pci 1b.3 on end # PCI Express Port 20
- device pci 1b.4 on end # PCI Express Port 21 X4 SLOT 2
+ device pci 1b.0 on # PCI Express Port 17
+ register "PcieRpSlotImplemented[16]" = "1"
+ end
+ device pci 1b.1 on # PCI Express Port 18
+ register "PcieRpSlotImplemented[17]" = "1"
+ end
+ device pci 1b.2 on # PCI Express Port 19
+ register "PcieRpSlotImplemented[18]" = "1"
+ end
+ device pci 1b.3 on # PCI Express Port 20
+ register "PcieRpSlotImplemented[19]" = "1"
+ end
+ device pci 1b.4 on # PCI Express Port 21 X4 SLOT 2
+ register "PcieRpSlotImplemented[20]" = "1"
+ end
device pci 1e.1 off end # UART #1
device pci 1f.6 on end # GbE
end
diff --git a/src/mainboard/intel/coffeelake_rvp/variants/cfl_u/overridetree.cb b/src/mainboard/intel/coffeelake_rvp/variants/cfl_u/overridetree.cb
index c5c291df9f..f48c9b49a8 100644
--- a/src/mainboard/intel/coffeelake_rvp/variants/cfl_u/overridetree.cb
+++ b/src/mainboard/intel/coffeelake_rvp/variants/cfl_u/overridetree.cb
@@ -84,12 +84,18 @@ chip soc/intel/cannonlake
device pci 19.1 off end # I2C #5
device pci 19.2 on end # UART #2
device pci 1a.0 on end # eMMC
- device pci 1c.0 on end # PCI Express Port 1 x4 SLOT1
- device pci 1c.4 on end # PCI Express Port 5 x1 SLOT2/LAN
+ device pci 1c.0 on # PCI Express Port 1 x4 SLOT1
+ register "PcieRpSlotImplemented[0]" = "1"
+ end
+ device pci 1c.4 on # PCI Express Port 5 x1 SLOT2/LAN
+ register "PcieRpSlotImplemented[4]" = "1"
+ end
device pci 1c.5 off end # PCI Express Port 6
device pci 1c.6 off end # PCI Express Port 7
device pci 1c.7 off end # PCI Express Port 8
- device pci 1d.0 on end # PCI Express Port 9
+ device pci 1d.0 on # PCI Express Port 9
+ register "PcieRpSlotImplemented[8]" = "1"
+ end
device pci 1d.1 off end # PCI Express Port 10
device pci 1d.2 off end # PCI Express Port 11
device pci 1d.3 off end # PCI Express Port 12
diff --git a/src/mainboard/intel/coffeelake_rvp/variants/cml_u/overridetree.cb b/src/mainboard/intel/coffeelake_rvp/variants/cml_u/overridetree.cb
index a8f6766340..28b33cf5f4 100644
--- a/src/mainboard/intel/coffeelake_rvp/variants/cml_u/overridetree.cb
+++ b/src/mainboard/intel/coffeelake_rvp/variants/cml_u/overridetree.cb
@@ -94,12 +94,18 @@ chip soc/intel/cannonlake
device pci 19.1 off end # I2C #5
device pci 19.2 on end # UART #2
device pci 1a.0 on end # eMMC
- device pci 1c.0 on end # PCI Express Port 1 x4 SLOT1
- device pci 1c.4 on end # PCI Express Port 5 x1 SLOT2/LAN
+ device pci 1c.0 on # PCI Express Port 1 x4 SLOT1
+ register "PcieRpSlotImplemented[0]" = "1"
+ end
+ device pci 1c.4 on # PCI Express Port 5 x1 SLOT2/LAN
+ register "PcieRpSlotImplemented[4]" = "1"
+ end
device pci 1c.5 off end # PCI Express Port 6
device pci 1c.6 off end # PCI Express Port 7
device pci 1c.7 off end # PCI Express Port 8
- device pci 1d.0 on end # PCI Express Port 9
+ device pci 1d.0 on # PCI Express Port 9
+ register "PcieRpSlotImplemented[8]" = "1"
+ end
device pci 1d.1 off end # PCI Express Port 10
device pci 1d.2 off end # PCI Express Port 11
device pci 1d.3 off end # PCI Express Port 12
diff --git a/src/mainboard/intel/coffeelake_rvp/variants/whl_u/overridetree.cb b/src/mainboard/intel/coffeelake_rvp/variants/whl_u/overridetree.cb
index 1e388240a6..89d60366a7 100644
--- a/src/mainboard/intel/coffeelake_rvp/variants/whl_u/overridetree.cb
+++ b/src/mainboard/intel/coffeelake_rvp/variants/whl_u/overridetree.cb
@@ -78,12 +78,18 @@ chip soc/intel/cannonlake
device pci 19.1 off end # I2C #5
device pci 19.2 on end # UART #2
device pci 1a.0 on end # eMMC
- device pci 1c.0 on end # PCI Express Port 1 x4 SLOT1
- device pci 1c.4 on end # PCI Express Port 5 x1 SLOT2/LAN
+ device pci 1c.0 on # PCI Express Port 1 x4 SLOT1
+ register "PcieRpSlotImplemented[0]" = "1"
+ end
+ device pci 1c.4 on # PCI Express Port 5 x1 SLOT2/LAN
+ register "PcieRpSlotImplemented[4]" = "1"
+ end
device pci 1c.5 off end # PCI Express Port 6
device pci 1c.6 off end # PCI Express Port 7
device pci 1c.7 off end # PCI Express Port 8
- device pci 1d.0 on end # PCI Express Port 9
+ device pci 1d.0 on # PCI Express Port 9
+ register "PcieRpSlotImplemented[8]" = "1"
+ end
device pci 1d.1 off end # PCI Express Port 10
device pci 1d.2 off end # PCI Express Port 11
device pci 1d.3 off end # PCI Express Port 12