1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #include <amdblocks/xhci.h>
4 #include <cpu/x86/smm.h>
5 #include <device/device.h>
8 void soc_xhci_store_resources(struct smm_pci_resource_info
*slots
, size_t count
)
10 const struct device
*devices
[] = SOC_XHCI_DEVICES
;
13 for (devices_count
= 0; devices_count
< ARRAY_SIZE(devices
); devices_count
++) {
14 if (!devices
[devices_count
])
18 smm_pci_resource_store_fill_resources(slots
, count
, &devices
[0], devices_count
);