Attention is currently required from: Hung-Te Lin, Shelley Chen, Angel Pons, Jianjun Wang.

Jianjun Wang uploaded patch set #48 to this change.

View Change

libpayload/pci: Add support for bus mapping

Move the common APIs to pci_common.c and others to the chip related

TEST=Build pass and boot up to kernel successfully via SSD on Dojo
board, here is the SSD information in boot log:
PCI VID : 0x15b7
PCI SSVID : 0x15b7
SN : 21517J440114
MN : WDC PC SN530 SDBPTPZ-256G-1006
RAB : 0x4
AERL : 0x7
SQES : 0x66
CQES : 0x44
NN : 0x1
Identified NVMe model WDC PC SN530 SDBPTPZ-256G-1006


Signed-off-by: Jianjun Wang <>
Change-Id: Ie74801bd4f3de51cbb574e86cd9bb09931152554
M payloads/libpayload/Kconfig
M payloads/libpayload/drivers/
A payloads/libpayload/drivers/pci_io_ops.c
A payloads/libpayload/drivers/pci_map_bus_ops.c
R payloads/libpayload/drivers/pci_ops.c
M payloads/libpayload/include/pci.h
6 files changed, 138 insertions(+), 45 deletions(-)

git pull ssh:// refs/changes/89/56789/48

To view, visit change 56789. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie74801bd4f3de51cbb574e86cd9bb09931152554
Gerrit-Change-Number: 56789
Gerrit-PatchSet: 48
Gerrit-Owner: Jianjun Wang <>
Gerrit-Reviewer: Angel Pons <>
Gerrit-Reviewer: Hung-Te Lin <>
Gerrit-Reviewer: Jianjun Wang <>
Gerrit-Reviewer: Shelley Chen <>
Gerrit-Reviewer: Yu-Ping Wu <>
Gerrit-Reviewer: build bot (Jenkins) <>
Gerrit-CC: Furquan Shaikh <>
Gerrit-CC: Nico Huber <>
Gerrit-CC: Paul Menzel <>
Gerrit-CC: Rex-BC Chen <>
Gerrit-Attention: Hung-Te Lin <>
Gerrit-Attention: Shelley Chen <>
Gerrit-Attention: Angel Pons <>
Gerrit-Attention: Jianjun Wang <>
Gerrit-MessageType: newpatchset