diff options
author | Subrata Banik <subrata.banik@intel.com> | 2019-03-20 14:56:27 +0530 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-03-21 16:18:37 +0000 |
commit | 9514d47d3c7296ff98bb7a590e36ee548b40e369 (patch) | |
tree | 7f8546b0dd04741d573f0ae8bfdb8ba137de7274 /src/mainboard/sifive | |
parent | 4a0f07166f0f0b6eb799e2670b47ce31d0cfc60b (diff) |
device/pci_device: Add generic subsystem programming logic
This patch adds generic log to perform subsystem programming
based on header type.
Type 0: subsystem offset 0x2C
Type 2: subsystem offset 0x40
Type 1: Read CAP ID 0xD to know cap offset start, offset 4 to locate
subsystem vendor id.
Change-Id: Id8aed6dac24517e93cd55d6bb3b254b7b4d950d3
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31983
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: David Guckian
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/sifive')
0 files changed, 0 insertions, 0 deletions