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

Jianjun Wang uploaded patch set #49 to this change.

View Change

libpayload/pci: Add PCIe interfaces for MediaTek platform

Add PCIe configuration interfaces for MediaTek platform.

The register base address of PCIe hardware might be different when it's
a non-x86 platform, add 'pci_update_hw_base()' interface for users to
update its base address to access PCIe hardware correctly.

TEST=Build pass and boot up to kernel successfully via SSD on Dojo
board, here is the SSD information in boot log:
== NVME IDENTIFY CONTROLLER DATA ==
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

BUG=b:178565024
BRANCH=cherry

Signed-off-by: Jianjun Wang <jianjun.wang@mediatek.com>
Change-Id: I9ea7d111fed6b816fa2352fe93c268116519a577
---
M payloads/libpayload/Kconfig
M payloads/libpayload/drivers/Makefile.inc
A payloads/libpayload/drivers/pcie_mediatek.c
3 files changed, 30 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/94/56794/49

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9ea7d111fed6b816fa2352fe93c268116519a577
Gerrit-Change-Number: 56794
Gerrit-PatchSet: 49
Gerrit-Owner: Jianjun Wang <jianjun.wang@mediatek.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Angel Pons <th3fanbus@gmail.com>
Gerrit-CC: Hung-Te Lin <hungte@chromium.org>
Gerrit-CC: Paul Menzel <paulepanter@mailbox.org>
Gerrit-CC: Rex-BC Chen <rex-bc.chen@mediatek.com>
Gerrit-CC: Yu-Ping Wu <yupingso@google.com>
Gerrit-Attention: Hung-Te Lin <hungte@chromium.org>
Gerrit-Attention: Paul Menzel <paulepanter@mailbox.org>
Gerrit-Attention: Angel Pons <th3fanbus@gmail.com>
Gerrit-Attention: Jianjun Wang <jianjun.wang@mediatek.com>
Gerrit-MessageType: newpatchset