diff options
author | Prasad Malisetty <pmaliset@codeaurora.org> | 2021-08-28 06:53:37 +0530 |
---|---|---|
committer | Shelley Chen <shchen@google.com> | 2022-08-01 18:04:54 +0000 |
commit | 857d3781e2f70894f3d5b5064e70ff3c275a6149 (patch) | |
tree | c5901895dfedc3ac858c503ac7c93741a252d90f /payloads/libpayload/drivers/Makefile.inc | |
parent | 16611f31eb462312068a16ccbf66972bfb5c6262 (diff) |
libpayload/pci: Add pci_map_bus function for Qualcomm platform
Add 'pci_map_bus' function and PCIE_QCOM config for Qualcomm platform.
BUG=b:182963902,b:216686574,b:181098581
TEST=Verified on Qualcomm sc7280 development board with NVMe endpoint
(Koixa NVMe, Model-KBG40ZPZ256G with FW AEGA0102). Confirmed NVMe is
getting detected in response to 'storage init' command in depthcharge
CLI prompt.
Output logs:
->dpch: storage init
Initializing NVMe controller 1e0f:0001
Identified NVMe model KBG40ZPZ256G TOSHIBA MEMORY
Added NVMe drive "NVMe Namespace 1" lbasize:512, count:0x1dcf32b0
* 0: NVMe Namespace 1
1 devices total
Also verified NVMe boot path that is depthcharge is able to load the
kernel image from NVMe storage.
Change-Id: I7d1217502cbd7d4d0cdd298919ae82435630d61c
Signed-off-by: Prasad Malisetty <quic_pmaliset@quicinc.com>
Signed-off-by: Veerabhadrarao Badiganti <quic_vbadigan@quicinc.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57615
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'payloads/libpayload/drivers/Makefile.inc')
-rw-r--r-- | payloads/libpayload/drivers/Makefile.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/payloads/libpayload/drivers/Makefile.inc b/payloads/libpayload/drivers/Makefile.inc index 204760757b..23471b83c4 100644 --- a/payloads/libpayload/drivers/Makefile.inc +++ b/payloads/libpayload/drivers/Makefile.inc @@ -37,6 +37,7 @@ libc-$(CONFIG_LP_PCI) += pci_map_bus_ops.c endif libc-$(CONFIG_LP_PCIE_MEDIATEK) += pcie_mediatek.c +libc-$(CONFIG_LP_PCIE_QCOM) += pci_qcom.c libc-$(CONFIG_LP_SPEAKER) += speaker.c |