Explorar o código

ARM: davinci: remove checks for CONFIG_USB_MUSB_PERIPHERAL

The Kconfig symbol USB_MUSB_PERIPHERAL was removed in v3.1. The last two
checks for its macro now always evaluate to false. So remove these
checks.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
[nsekhar@ti.com: also cleaned-up usage in defconfig file]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Paul Bolle %!s(int64=11) %!d(string=hai) anos
pai
achega
ea56785629

+ 0 - 1
arch/arm/configs/davinci_all_defconfig

@@ -160,7 +160,6 @@ CONFIG_USB=m
 CONFIG_USB_DEVICEFS=y
 CONFIG_USB_DEVICEFS=y
 CONFIG_USB_MON=m
 CONFIG_USB_MON=m
 CONFIG_USB_MUSB_HDRC=m
 CONFIG_USB_MUSB_HDRC=m
-CONFIG_USB_MUSB_PERIPHERAL=y
 CONFIG_USB_GADGET_MUSB_HDRC=y
 CONFIG_USB_GADGET_MUSB_HDRC=y
 CONFIG_MUSB_PIO_ONLY=y
 CONFIG_MUSB_PIO_ONLY=y
 CONFIG_USB_STORAGE=m
 CONFIG_USB_STORAGE=m

+ 0 - 4
arch/arm/mach-davinci/board-dm355-evm.c

@@ -350,11 +350,7 @@ static struct davinci_mmc_config dm355evm_mmc_config = {
  * you have proper Mini-B or Mini-A cables (or Mini-A adapters)
  * you have proper Mini-B or Mini-A cables (or Mini-A adapters)
  * the ID pin won't need any help.
  * the ID pin won't need any help.
  */
  */
-#ifdef CONFIG_USB_MUSB_PERIPHERAL
-#define USB_ID_VALUE	0	/* ID pulled high; *should* float */
-#else
 #define USB_ID_VALUE	1	/* ID pulled low */
 #define USB_ID_VALUE	1	/* ID pulled low */
-#endif
 
 
 static struct spi_eeprom at25640a = {
 static struct spi_eeprom at25640a = {
 	.byte_len	= SZ_64K / 8,
 	.byte_len	= SZ_64K / 8,

+ 0 - 4
arch/arm/mach-davinci/board-dm355-leopard.c

@@ -208,11 +208,7 @@ static struct davinci_mmc_config dm355leopard_mmc_config = {
  * you have proper Mini-B or Mini-A cables (or Mini-A adapters)
  * you have proper Mini-B or Mini-A cables (or Mini-A adapters)
  * the ID pin won't need any help.
  * the ID pin won't need any help.
  */
  */
-#ifdef CONFIG_USB_MUSB_PERIPHERAL
-#define USB_ID_VALUE	0	/* ID pulled high; *should* float */
-#else
 #define USB_ID_VALUE	1	/* ID pulled low */
 #define USB_ID_VALUE	1	/* ID pulled low */
-#endif
 
 
 static struct spi_eeprom at25640a = {
 static struct spi_eeprom at25640a = {
 	.byte_len	= SZ_64K / 8,
 	.byte_len	= SZ_64K / 8,