usb: ohci: Use a flexible array member for portstatus

The struct is only used to overlay the MMIO region, so the behavior is
the same. This obsoletes the Kconfig option for the number of ports.

Signed-off-by: Samuel Holland <samuel@sholland.org>
This commit is contained in:
Samuel Holland
2022-10-30 23:15:12 -05:00
committed by Marek Vasut
parent 36bc9b6113
commit f4917b4933
67 changed files with 1 additions and 82 deletions

View File

@@ -88,6 +88,5 @@ CONFIG_SYS_NS16550=y
CONFIG_SPI=y
CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="lpc32xx-ohci"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
CONFIG_USB_OHCI_LPC32XX=y
CONFIG_OF_LIBFDT=y