Skip to contentSkip to conversation

powerpc/85xx: Fix USB protocol definitions for P1020RDB

PATCH New Kumar Gala 1 participant 2 messages Aug 30, 2011 – Sep 9, 2011

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/1 powerpc/85xx: Fix USB protocol definitions for P1020RDB

From: Ramneek Mehresh <[email protected]>

USB protocol macros (CONFIG_USB_EHCI ...) to be included only when CONFIG_HAS_FSL_DR_USB is defined for a board. Presence of USB DR controller should be declared along with the underlying protocol used in the controller

---
 include/configs/P1_P2_RDB.h |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
include/configs/P1_P2_RDB.h +4 -1
index 3ffdb1a..043515d 100644
@@ -581,6 +581,9 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 #endif
 #endif
 
+#define CONFIG_HAS_FSL_DR_USB
+
+#if defined(CONFIG_HAS_FSL_DR_USB)
 #define CONFIG_USB_EHCI
 
 #ifdef CONFIG_USB_EHCI
@@ -588,7 +591,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_EHCI_HCD_INIT_AFTER_RESET
 #define CONFIG_USB_EHCI_FSL
 #define CONFIG_USB_STORAGE
-#define CONFIG_HAS_FSL_DR_USB
+#endif
 #endif
 
 #if defined(CONFIG_MMC) || defined(CONFIG_USB_EHCI)
Signature · 1 line
1.7.3.4
author Applied
#1 lore raw

PATCH 1/1 powerpc/85xx: Fix USB protocol definitions for P1020RDB

Quoted 11 lines · Kumar Gala

From: Ramneek Mehresh <[email protected]>

USB protocol macros (CONFIG_USB_EHCI ...) to be included only when CONFIG_HAS_FSL_DR_USB is defined for a board. Presence of USB DR controller should be declared along with the underlying protocol used in the controller

---
include/configs/P1_P2_RDB.h | 5 ++++-

1 files changed, 4 insertions(+), 1 deletions(-)

applied to 85xx next

- k