coreboot-kgpe-d16/payloads/libpayload/include
Jianjun Wang 2ad74deb2a libpayload/pci: Add support for bus mapping
Move the common APIs to pci_ops.c and IO based operations to
pci_io_ops.c, and add pci_map_bus_ops.c to support bus mapping.

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: Ie74801bd4f3de51cbb574e86cd9bb09931152554
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56789
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
2022-05-20 02:51:33 +00:00
..
arm/arch libpayload: Fix guards in include/{arm,arm64,x86}/arch/barrier.h 2022-05-16 06:55:06 +00:00
arm64/arch libpayload: Fix guards in include/{arm,arm64,x86}/arch/barrier.h 2022-05-16 06:55:06 +00:00
arpa
mock/arch tests: Move x86 I/O functions to include/mock/arch/io.h 2021-11-04 15:07:38 +00:00
pci
storage
sys
udc
usb
x86/arch libpayload: Fix guards in include/{arm,arm64,x86}/arch/barrier.h 2022-05-16 06:55:06 +00:00
archive.h
assert.h libpayload: Add mock assert support for unit testing purposes 2021-11-23 23:38:15 +00:00
boot_device.h libpayload: Add boot_device_read() function 2021-12-10 17:56:34 +00:00
cbfs.h libpayload/libcbfs: Add unverified_area APIs 2022-01-12 16:15:59 +00:00
cbfs_core.h libpayload: Implement new CBFS access API 2022-01-10 14:30:04 +00:00
cbfs_glue.h libpayload: Implement new CBFS access API 2022-01-10 14:30:04 +00:00
cbfs_legacy.h libpayload: Fix legacy CBFS code after recent refactoring 2022-01-14 00:41:13 +00:00
cbfs_ram.h
cbgfx.h
compiler.h
coreboot_tables.h coreboot_tables: Add PCIe info to coreboot table 2022-05-19 16:34:55 +00:00
ctype.h
die.h
endian.h
errno.h
exception.h
fmap.h commonlib/bsd: Remove cb_err_t 2022-03-09 02:18:21 +00:00
fpmath.h
gdb.h
getopt.h
inttypes.h
ipchksum.h
kconfig.h
keycodes.h
libpayload.h commonlib/bsd/helpers: Remove redundancy with libpayload defines 2022-03-30 21:21:47 +00:00
limits.h includes: Define `CHAR_BIT` in `limits.h` 2021-06-18 04:38:33 +00:00
lz4.h
lzma.h
malloc.h
multiboot_tables.h
panel.h
pci.h libpayload/pci: Add support for bus mapping 2022-05-20 02:51:33 +00:00
queue.h
stdarg.h
stdbool.h
stddef.h commonlib/bsd/helpers: Remove redundancy with libpayload defines 2022-03-30 21:21:47 +00:00
stdint.h
stdio.h
stdlib.h commonlib/bsd/helpers: Remove redundancy with libpayload defines 2022-03-30 21:21:47 +00:00
string.h
strings.h
sysinfo.h coreboot_tables: Add PCIe info to coreboot table 2022-05-19 16:34:55 +00:00
term.h
time.h
unistd.h
video_console.h
wchar.h