mb/google/nissa/var/rull: Configure Acoustic noise mitigation
[coreboot2.git] / src / soc / amd / common / block / xhci / xhci.c
blobe5c431acde60790fc94e6321466db8c8b928e8bd
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>
6 #include <soc/xhci.h>
8 void soc_xhci_store_resources(struct smm_pci_resource_info *slots, size_t count)
10 const struct device *devices[] = SOC_XHCI_DEVICES;
11 size_t devices_count;
13 for (devices_count = 0; devices_count < ARRAY_SIZE(devices); devices_count++) {
14 if (!devices[devices_count])
15 break;
18 smm_pci_resource_store_fill_resources(slots, count, &devices[0], devices_count);