[U-Boot] [RFC/RESEND 15/22] thunderx_81xx: add support for XHCI

Tim Harvey tharvey at gateworks.com
Mon Mar 4 17:34:30 UTC 2019


Signed-off-by: Tim Harvey <tharvey at gateworks.com>
---
 configs/thunderx_81xx_defconfig | 5 +++++
 include/configs/thunderx_81xx.h | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/configs/thunderx_81xx_defconfig b/configs/thunderx_81xx_defconfig
index 48f57ecf1b..8538f63181 100644
--- a/configs/thunderx_81xx_defconfig
+++ b/configs/thunderx_81xx_defconfig
@@ -25,6 +25,7 @@ CONFIG_CMD_GPIO=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
 CONFIG_CMD_SPI=y
+CONFIG_CMD_USB=y
 # CONFIG_CMD_NET is not set
 CONFIG_DEFAULT_DEVICE_TREE="thunderx-81xx"
 CONFIG_DM=y
@@ -43,3 +44,7 @@ CONFIG_DEBUG_UART_SKIP_INIT=y
 CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_THUNDERX_SPI=y
+CONFIG_USB=y
+CONFIG_DM_USB=y
+CONFIG_USB_XHCI_HCD=y
+CONFIG_USB_XHCI_PCI=y
diff --git a/include/configs/thunderx_81xx.h b/include/configs/thunderx_81xx.h
index 7a2c0adde2..dbca775699 100644
--- a/include/configs/thunderx_81xx.h
+++ b/include/configs/thunderx_81xx.h
@@ -55,7 +55,8 @@
 	"ramdisk_addr_r=0x03300000\0" \
 	BOOTENV
 
-#define BOOT_TARGET_DEVICES(func)
+#define BOOT_TARGET_DEVICES(func) \
+	func(USB, usb, 0)
 
 #include <config_distro_bootcmd.h>
 
-- 
2.17.1



More information about the U-Boot mailing list