]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/usb/host/xhci.h
usb: xhci: Get rid of CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS
[people/ms/u-boot.git] / drivers / usb / host / xhci.h
index 3cf08e4207baf27f8efd2ee9c565938955bac469..b9602baa747a13798b538c193b3dbb354d8efe1a 100644 (file)
@@ -172,9 +172,7 @@ struct xhci_hcor {
        volatile uint64_t or_dcbaap;
        volatile uint32_t or_config;
        volatile uint32_t reserved_2[241];
-       struct xhci_hcor_port_regs portregs[CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS];
-
-       uint32_t reserved_4[CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS * 254];
+       struct xhci_hcor_port_regs portregs[MAX_HC_PORTS];
 };
 
 /* USBCMD - USB command - command bitmasks */