aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2014-05-15 06:17:05 -0400
committerSekhar Nori <nsekhar@ti.com>2014-05-22 06:59:08 -0400
commitea56785629494394b9e567c0a43690d6c972e137 (patch)
tree0100da0bd06fd98b8c0fb94bdddc29f943888d61 /arch
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff)
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/configs/davinci_all_defconfig1
-rw-r--r--arch/arm/mach-davinci/board-dm355-evm.c4
-rw-r--r--arch/arm/mach-davinci/board-dm355-leopard.c4
3 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/configs/davinci_all_defconfig b/arch/arm/configs/davinci_all_defconfig
index 2a282c051cfd..2f8ff65e3ef1 100644
--- a/arch/arm/configs/davinci_all_defconfig
+++ b/arch/arm/configs/davinci_all_defconfig
@@ -160,7 +160,6 @@ CONFIG_USB=m
160CONFIG_USB_DEVICEFS=y 160CONFIG_USB_DEVICEFS=y
161CONFIG_USB_MON=m 161CONFIG_USB_MON=m
162CONFIG_USB_MUSB_HDRC=m 162CONFIG_USB_MUSB_HDRC=m
163CONFIG_USB_MUSB_PERIPHERAL=y
164CONFIG_USB_GADGET_MUSB_HDRC=y 163CONFIG_USB_GADGET_MUSB_HDRC=y
165CONFIG_MUSB_PIO_ONLY=y 164CONFIG_MUSB_PIO_ONLY=y
166CONFIG_USB_STORAGE=m 165CONFIG_USB_STORAGE=m
diff --git a/arch/arm/mach-davinci/board-dm355-evm.c b/arch/arm/mach-davinci/board-dm355-evm.c
index ecdc7d44fa70..06d63d5651f3 100644
--- a/arch/arm/mach-davinci/board-dm355-evm.c
+++ b/arch/arm/mach-davinci/board-dm355-evm.c
@@ -350,11 +350,7 @@ static struct davinci_mmc_config dm355evm_mmc_config = {
350 * you have proper Mini-B or Mini-A cables (or Mini-A adapters) 350 * you have proper Mini-B or Mini-A cables (or Mini-A adapters)
351 * the ID pin won't need any help. 351 * the ID pin won't need any help.
352 */ 352 */
353#ifdef CONFIG_USB_MUSB_PERIPHERAL
354#define USB_ID_VALUE 0 /* ID pulled high; *should* float */
355#else
356#define USB_ID_VALUE 1 /* ID pulled low */ 353#define USB_ID_VALUE 1 /* ID pulled low */
357#endif
358 354
359static struct spi_eeprom at25640a = { 355static struct spi_eeprom at25640a = {
360 .byte_len = SZ_64K / 8, 356 .byte_len = SZ_64K / 8,
diff --git a/arch/arm/mach-davinci/board-dm355-leopard.c b/arch/arm/mach-davinci/board-dm355-leopard.c
index 43bacbf15314..680a7a2d9102 100644
--- a/arch/arm/mach-davinci/board-dm355-leopard.c
+++ b/arch/arm/mach-davinci/board-dm355-leopard.c
@@ -208,11 +208,7 @@ static struct davinci_mmc_config dm355leopard_mmc_config = {
208 * you have proper Mini-B or Mini-A cables (or Mini-A adapters) 208 * you have proper Mini-B or Mini-A cables (or Mini-A adapters)
209 * the ID pin won't need any help. 209 * the ID pin won't need any help.
210 */ 210 */
211#ifdef CONFIG_USB_MUSB_PERIPHERAL
212#define USB_ID_VALUE 0 /* ID pulled high; *should* float */
213#else
214#define USB_ID_VALUE 1 /* ID pulled low */ 211#define USB_ID_VALUE 1 /* ID pulled low */
215#endif
216 212
217static struct spi_eeprom at25640a = { 213static struct spi_eeprom at25640a = {
218 .byte_len = SZ_64K / 8, 214 .byte_len = SZ_64K / 8,