diff options
author | Jianjun Wang <jianjun.wang@mediatek.com> | 2022-03-31 15:37:25 +0800 |
---|---|---|
committer | Yu-Ping Wu <yupingso@google.com> | 2022-05-20 02:49:42 +0000 |
commit | 7439a49f4c306efe22c6c79babf42f2ca473d567 (patch) | |
tree | d66674f25e1274af91cab7c9bb1ca46cfcc66f17 /payloads/libpayload/include | |
parent | 36618e882d2bcf2e5e6ded1a859c395c8f500489 (diff) |
soc/mediatek: Fill coreboot table with PCIe info
In order to pass PCIe base address to payloads, implement pcie_fill_lb()
to fill coreboot table with PCIe info.
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: Ib2988694f60aac9cbfc09ef9a26d47e01c004406
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63252
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'payloads/libpayload/include')
0 files changed, 0 insertions, 0 deletions