]> git.sur5r.net Git - u-boot/blobdiff - common/usb.c
sunxi: Support booting from SPI flash
[u-boot] / common / usb.c
index 8d9efe516b7571247b979f067b02962f0d6ad9d7..b3ba487890ae81ff21b6efc4f141814308914c5d 100644 (file)
@@ -1182,7 +1182,7 @@ int usb_new_device(struct usb_device *dev)
         * with the device. So a get_descriptor will fail before any
         * of that is done for XHCI unlike EHCI.
         */
-#ifdef CONFIG_USB_XHCI
+#ifdef CONFIG_USB_XHCI_HCD
        do_read = false;
 #endif
        err = usb_setup_device(dev, do_read, dev->parent);