Browse Source

sunxi: config update to stick with Kconfig changes

Now that some things were updated in Kconfig, they should be reflected on the
sunxi-common config too.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski 9 years ago
parent
commit
2582ca0d80
1 changed files with 2 additions and 3 deletions
  1. 2 3
      include/configs/sunxi-common.h

+ 2 - 3
include/configs/sunxi-common.h

@@ -318,7 +318,7 @@ extern int soft_i2c_gpio_scl;
 #define CONFIG_PHYLIB
 #define CONFIG_PHYLIB
 #endif
 #endif
 
 
-#ifdef CONFIG_USB_EHCI
+#ifdef CONFIG_USB_EHCI_HCD
 #define CONFIG_USB_OHCI_NEW
 #define CONFIG_USB_OHCI_NEW
 #define CONFIG_USB_OHCI_SUNXI
 #define CONFIG_USB_OHCI_SUNXI
 #define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1
 #define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1
@@ -326,7 +326,6 @@ extern int soft_i2c_gpio_scl;
 #endif
 #endif
 
 
 #ifdef CONFIG_USB_MUSB_SUNXI
 #ifdef CONFIG_USB_MUSB_SUNXI
-#define CONFIG_USB_MUSB_HOST
 #define CONFIG_USB_MUSB_PIO_ONLY
 #define CONFIG_USB_MUSB_PIO_ONLY
 #endif
 #endif
 
 
@@ -379,7 +378,7 @@ extern int soft_i2c_gpio_scl;
 #define BOOT_TARGET_DEVICES_SCSI(func)
 #define BOOT_TARGET_DEVICES_SCSI(func)
 #endif
 #endif
 
 
-#ifdef CONFIG_USB_EHCI
+#ifdef CONFIG_USB_STORAGE
 #define BOOT_TARGET_DEVICES_USB(func) func(USB, usb, 0)
 #define BOOT_TARGET_DEVICES_USB(func) func(USB, usb, 0)
 #else
 #else
 #define BOOT_TARGET_DEVICES_USB(func)
 #define BOOT_TARGET_DEVICES_USB(func)